- Refactored Lua C++ bindings

- Removed tolua++
This commit is contained in:
Birunthan Mohanathas
2012-03-09 10:28:25 +00:00
parent cea569c0b6
commit 7767300379
18 changed files with 255 additions and 2659 deletions

View File

@ -33,18 +33,12 @@ void LuaManager::Initialize()
// Load Lua base libraries
luaL_openlibs(c_State);
// Initialize tolua
tolua_open(c_State);
// Register custom types and functions
tolua_module(c_State, NULL, 0);
tolua_beginmodule(c_State, NULL);
RegisterGlobal(c_State);
RegisterMeasure(c_State);
RegisterMeasure(c_State);
RegisterMeter(c_State);
RegisterMeterWindow(c_State);
tolua_endmodule(c_State);
}
++c_RefCount;