From d2b36e6c65ec8126c0ebc96adb7e011e78a5eacc Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Tue, 1 Nov 2016 00:28:16 -0400 Subject: Initial commit --- src/client/lua_api/guiparts.hpp | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/client/lua_api/guiparts.hpp (limited to 'src/client/lua_api/guiparts.hpp') diff --git a/src/client/lua_api/guiparts.hpp b/src/client/lua_api/guiparts.hpp new file mode 100644 index 0000000..fba3862 --- /dev/null +++ b/src/client/lua_api/guiparts.hpp @@ -0,0 +1,29 @@ +#ifndef __H_guiparts +#define __H_guiparts +#include +#include +#include +#include +#include +extern "C" { + #include + #include + #include +} +#include +#include "../util/hashmap.h" + + +typedef struct LIGUIElement { + irr::gui::IGUIElement* e; + map_t funcmap; + const char* type; +} LIGUIElement; + + +extern lua_State* tL; +extern irr::IrrlichtDevice* guidevice; +extern long gui_elenum; +extern std::vector guielements; +extern std::map iguielements; +#endif -- cgit v1.2.3-70-g09d2