1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include "../util/hashmap.h" 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;