diff options
Diffstat (limited to 'src/script/lua_api/l_env.h')
-rw-r--r-- | src/script/lua_api/l_env.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/script/lua_api/l_env.h b/src/script/lua_api/l_env.h index 8354379f3..424556d4b 100644 --- a/src/script/lua_api/l_env.h +++ b/src/script/lua_api/l_env.h @@ -172,8 +172,7 @@ public: static void Initialize(lua_State *L, int top); }; -class LuaABM : public ActiveBlockModifier -{ +class LuaABM : public ActiveBlockModifier { private: int m_id; @@ -219,4 +218,12 @@ public: u32 active_object_count, u32 active_object_count_wider); }; +struct ScriptCallbackState { + GameScripting *script; + int callback_ref; + int args_ref; + unsigned int refcount; + std::string origin; +}; + #endif /* L_ENV_H_ */ |