2023-05-14 19:43:34 +00:00
|
|
|
# MEMORY
|
|
|
|
[engine_malloc]
|
|
|
|
type = "void *"
|
|
|
|
arguments = ["void *","size_t"]
|
|
|
|
|
|
|
|
[engine_free]
|
|
|
|
type = "void"
|
|
|
|
arguments = ["void *"]
|
|
|
|
|
2023-05-14 18:40:19 +00:00
|
|
|
# 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
|
2023-05-14 19:41:46 +00:00
|
|
|
[engine_event_get]
|
|
|
|
type = "struct ENGINE_EVENT *"
|
|
|
|
arguments = []
|
2023-05-14 18:40:19 +00:00
|
|
|
|
|
|
|
# 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 *"]
|