05-31-2012, 09:48 PM
I think most of your API questions can be answered easily by looking at the C++ code. Can you have a look at it? In the cWorld.h, cRoot.h, cPlayer.h etc. files, you'll find the C++ declarations for the classes, and functions marked with "// tolua_export" are exported to Lua. Simple as that
-- or --
Have a look at source/Bindings.cpp, at the very bottom there's a function
And in this function all the Lua objects are defined, so you can see what objects there are and what functions they support.
-- or --
Have a look at source/Bindings.cpp, at the very bottom there's a function
Code:
TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S)