aboutsummaryrefslogtreecommitdiff
path: root/src/lua/embed/embed.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/embed/embed.h')
-rw-r--r--src/lua/embed/embed.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lua/embed/embed.h b/src/lua/embed/embed.h
index 33620b0..18ed1d8 100644
--- a/src/lua/embed/embed.h
+++ b/src/lua/embed/embed.h
@@ -19,7 +19,7 @@ namespace embed
*/
struct jin_Embed
{
- const char* fname, *source;
+ const char* file, *source;
};
static void boot(lua_State* L)
@@ -28,7 +28,6 @@ namespace embed
#include "graphics.lua.h" // graphics
#include "keyboard.lua.h" // keyboard
#include "mouse.lua.h" // mouse
- #include "debug.lua.h" // debug
#include "boot.lua.h" // boot
// embed scripts
@@ -36,14 +35,13 @@ namespace embed
{ "graphics.lua", graphics_lua },
{ "keyboard.lua", keyboard_lua },
{ "mouse.lua", mouse_lua },
- { "debug.lua", debug_lua },
{ "boot.lua", boot_lua },
{ 0, 0 }
};
// load all emebd lua scripts
- for (int i = 0; scripts[i].fname; ++i)
- embed(L, scripts[i].source, scripts[i].fname);
+ for (int i = 0; scripts[i].file; ++i)
+ embed(L, scripts[i].source, scripts[i].file);
}
}
}