Basic output working

This commit is contained in:
rnlf
2017-01-22 19:55:59 +01:00
parent d14cf3ac74
commit b954b0ff2d
17 changed files with 274 additions and 5579 deletions

View File

@@ -26,8 +26,8 @@ int luaopen_graphics(lua_State *L);
int luaopen_timer(lua_State *L);
int luaopen_keyboard(lua_State *L);
int luaopen_mouse(lua_State *L);
int luaopen_mixer(lua_State *L);
int luaopen_sound(lua_State *L);
int luaopen_source(lua_State *L);
int luaopen_love(lua_State *L) {
int i;
@@ -38,6 +38,7 @@ int luaopen_love(lua_State *L) {
luaopen_image,
luaopen_quad,
luaopen_font,
luaopen_source,
NULL,
};
for (i = 0; classes[i]; i++) {
@@ -61,8 +62,7 @@ int luaopen_love(lua_State *L) {
{ "timer", luaopen_timer },
{ "keyboard", luaopen_keyboard },
{ "mouse", luaopen_mouse },
{ "mixer", luaopen_mixer },
{ "sound", luaopen_mixer },
{ "sound", luaopen_sound },
{ 0 },
};
for (i = 0; mods[i].name; i++) {