1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00

Added maps (working \o/), small tweaks in texture.c

There shouldn't be any memory leak.
This commit is contained in:
Firew0lf 2015-08-22 02:08:30 +02:00
parent 819dabcf0f
commit 56b47153b7
4 changed files with 218 additions and 5 deletions

View file

@ -7,6 +7,7 @@
int load_color_lib(lua_State *L);
int load_font_lib(lua_State *L);
int load_texture_lib(lua_State *L);
int load_map_lib(lua_State *L);
u32 color_default;
sftd_font *font_default;
@ -148,6 +149,7 @@ struct { char *name; int (*load)(lua_State *L); } gfx_libs[] = {
{ "color", load_color_lib },
{ "font", load_font_lib },
{ "texture", load_texture_lib },
{ "map", load_map_lib },
{ NULL, NULL }
};