diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-26 21:39:46 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-26 21:39:46 +0100 |
commit | 4e34e438f12abb31f2409ce9d50df8acc2128555 (patch) | |
tree | 68d180344b0f730779c18c927fafc07de5ee5b2b /source/cPlugin_NewLua.h | |
parent | Probably fixed a deadlock! http://www.mc-server.org/support/index.php?do=details&task_id=147 (diff) | |
download | cuberite-4e34e438f12abb31f2409ce9d50df8acc2128555.tar cuberite-4e34e438f12abb31f2409ce9d50df8acc2128555.tar.gz cuberite-4e34e438f12abb31f2409ce9d50df8acc2128555.tar.bz2 cuberite-4e34e438f12abb31f2409ce9d50df8acc2128555.tar.lz cuberite-4e34e438f12abb31f2409ce9d50df8acc2128555.tar.xz cuberite-4e34e438f12abb31f2409ce9d50df8acc2128555.tar.zst cuberite-4e34e438f12abb31f2409ce9d50df8acc2128555.zip |
Diffstat (limited to 'source/cPlugin_NewLua.h')
-rw-r--r-- | source/cPlugin_NewLua.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source/cPlugin_NewLua.h b/source/cPlugin_NewLua.h new file mode 100644 index 000000000..418865879 --- /dev/null +++ b/source/cPlugin_NewLua.h @@ -0,0 +1,20 @@ +#pragma once
+
+#include "cPlugin.h"
+#include <string>
+
+typedef struct lua_State lua_State;
+
+class cPlugin_NewLua : public cPlugin //tolua_export
+{ //tolua_export
+public: //tolua_export
+ cPlugin_NewLua( const char* a_PluginName );
+ ~cPlugin_NewLua();
+
+ virtual bool Initialize(); //tolua_export
+ virtual void Tick(float a_Dt); //tolua_export
+
+private:
+ std::string m_Directory;
+ lua_State* m_LuaState;
+};//tolua_export
\ No newline at end of file |