aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/gameparts.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/lua_api/gameparts.hpp')
-rw-r--r--src/client/lua_api/gameparts.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/client/lua_api/gameparts.hpp b/src/client/lua_api/gameparts.hpp
new file mode 100644
index 0000000..e6f02a1
--- /dev/null
+++ b/src/client/lua_api/gameparts.hpp
@@ -0,0 +1,15 @@
+extern "C" {
+ #include <lua.h>
+ #include <lauxlib.h>
+ #include <lualib.h>
+}
+
+typedef struct LISceneNode {
+ irr::scene::ISceneNode* n;
+ map_t funcmap;
+ const char* type;
+} LIGUIElement;
+
+extern lua_State* tL;
+extern irr::IrrlichtDevice* gamedevice;
+extern long nodenum;