From b293e9e2242c08c15e1a3248c6dec301e83652d4 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 17 May 2018 21:34:01 +0800 Subject: change file tree --- src/script/graphics/luaopen_graphics.cpp | 2 +- src/script/luaopen_jin.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/script') diff --git a/src/script/graphics/luaopen_graphics.cpp b/src/script/graphics/luaopen_graphics.cpp index 71637a9..4f61023 100644 --- a/src/script/graphics/luaopen_graphics.cpp +++ b/src/script/graphics/luaopen_graphics.cpp @@ -422,7 +422,7 @@ namespace lua { if (context.defaultFont == 0) { - #include "res/font.ttf.h" + #include "data/font.ttf.h" // load default font context.defaultFont = new Font(); context.defaultFont->loadb(font_ttf); diff --git a/src/script/luaopen_jin.cpp b/src/script/luaopen_jin.cpp index c4ee955..d7262e1 100644 --- a/src/script/luaopen_jin.cpp +++ b/src/script/luaopen_jin.cpp @@ -8,9 +8,7 @@ namespace jin { namespace lua { - /** - * sub modules - */ + extern int luaopen_core(lua_State* L); extern int luaopen_graphics(lua_State* L); extern int luaopen_audio(lua_State* L); -- cgit v1.1-26-g67d0