More lua work - changed how i get return values off the stack and do calls

This commit is contained in:
KimLS
2013-05-11 16:37:03 -07:00
parent fa908040ca
commit 70998d25e3
4 changed files with 136 additions and 12 deletions
+4
View File
@@ -13,6 +13,10 @@ class Lua_Mob;
//class Lua_Trap;
//class Lua_Beacon;
#define Lua_Safe_Cast(type, m, other) \
type *m = nullptr; \
m = reinterpret_cast<type*>(other.d_);
class Lua_Entity
{
public: