Using tolua++ with C++?
Posted: Tue Oct 19, 2010 15:40
Hey, can anyone point me out to a simple, user-friendly, tutorial on how to integrate C++ functions into Lua?
I heard CEGUI uses a custom build of tolua++ so that's why I'm posting here.
Thing is as a newbie in software programming I have no friggin' idea on how to get MY c++ functions into Lua. I mean how did CEGUI do it? logger:logEvent works fine and it's a C++ bind, isn't it?
On this post (http://www.cegui.org.uk/phpBB2/viewtopic.php?f=2&t=5204&p=24883&hilit=tolua) they discuss something like "execute cegui/cegui/src/ScriptingModules/LuaScriptModule/package/make.dat", is tolua++ a command line executable?
I heard CEGUI uses a custom build of tolua++ so that's why I'm posting here.
Thing is as a newbie in software programming I have no friggin' idea on how to get MY c++ functions into Lua. I mean how did CEGUI do it? logger:logEvent works fine and it's a C++ bind, isn't it?
On this post (http://www.cegui.org.uk/phpBB2/viewtopic.php?f=2&t=5204&p=24883&hilit=tolua) they discuss something like "execute cegui/cegui/src/ScriptingModules/LuaScriptModule/package/make.dat", is tolua++ a command line executable?