me.fier.engine/modules/engine/FUNCTIONS.toml
2023-05-14 20:40:19 +02:00

58 lines
1.0 KiB
TOML

# WINDOW
[engine_window_init]
type = "void"
arguments = ["int","int","char *"]
[engine_window_present]
type = "void"
arguments = []
# SURFACE
[engine_surface_color_set]
type = "void"
arguments = ["char","char","char","char"]
[engine_surface_draw_pixel]
type = "void"
arguments = ["int","int"]
# TIME
[engine_time_get]
type = "long long"
arguments = []
[engine_time_sleep]
type = "void"
arguments = ["long long"]
# LOGIC
# TODO: Make this into a pointer
#[engine_event_get]
#type = "struct ENGINE_EVENT"
#arguments = []
# TEXTURES
[engine_texture_create]
type = "struct ENGINE_TEXTURE *"
arguments = ["int","int"]
[engine_texture_color_set]
type = "void"
arguments = ["char","char","char","char"]
[engine_texture_draw_pixel]
type = "void"
arguments = ["struct ENGINE_TEXTURE *","int","int"]
[engine_texture_destroy]
type = "void"
arguments = ["struct ENGINE_TEXTURE *"]
[engine_texture_render_2d]
type = "void"
arguments = ["struct ENGINE_TEXTURE *","int","int"]
[engine_texture_from_file]
type = "void"
arguments = ["struct ENGINE_TEXTURE *","char *"]