calling lua functions in c++
i cant find anywhere how to call lua functions from c++. The reason i want this is so i can have functions that will be called for events such as initialization of the game and the main loop function but all written in lua.
Another question is:
How do you use classes in lua?
5.12 - Calling Lua Functions.
You might be interested in toLua.
quote:Original post by sigma490
How do you use classes in lua?
You might be interested in toLua.
Look at the source code for this article
http://gamestudies.cdis.org/~amatheson/LUA-Part01/Part01-section01.html
Shabadoo
[edited by - Shabadoo on January 19, 2003 3:39:16 AM]
http://gamestudies.cdis.org/~amatheson/LUA-Part01/Part01-section01.html
Shabadoo
[edited by - Shabadoo on January 19, 2003 3:39:16 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement