diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-04-03 12:28:55 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-03 12:28:55 +0300 |
commit | e4f7f97e6c79cda72dec7cd6fea5b85328b75894 (patch) | |
tree | fabb8e2c981e4052802d31787ea376fefd415267 /src/serverobject.h | |
parent | ee89e29ae10d58a2a3d00641f4e459600a49e09e (diff) | |
download | minetest-e4f7f97e6c79cda72dec7cd6fea5b85328b75894.tar.gz minetest-e4f7f97e6c79cda72dec7cd6fea5b85328b75894.tar.bz2 minetest-e4f7f97e6c79cda72dec7cd6fea5b85328b75894.zip |
Removed lua stuff
Diffstat (limited to 'src/serverobject.h')
-rw-r--r-- | src/serverobject.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/serverobject.h b/src/serverobject.h index 557d9b618..1d1888580 100644 --- a/src/serverobject.h +++ b/src/serverobject.h @@ -113,43 +113,5 @@ private: float m_age; }; -extern "C"{ -#include "lua.h" -#include "lualib.h" -#include "lauxlib.h" -} - -class LuaSAO : public ServerActiveObject -{ -public: - LuaSAO(ServerEnvironment *env, u16 id, v3f pos); - virtual ~LuaSAO(); - - u8 getType() const - { - return ACTIVEOBJECT_TYPE_LUA; - } - - virtual std::string getClientInitializationData(); - virtual std::string getServerInitializationData(); - - void initializeFromNothing(const std::string &script_name); - void initializeFromSave(const std::string &data); - - void loadScripts(const std::string &script_name); - - void step(float dtime, Queue<ActiveObjectMessage> &messages); - - /* - Stuff available for usage for the lua callbacks - */ - // This is moved onwards at the end of step() - Queue<ActiveObjectMessage> m_message_queue; - -private: - lua_State* L; - std::string m_script_name; -}; - #endif |