blob: fba3862287ee615811f8ea0d3a1ab483d52276e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef __H_guiparts
#define __H_guiparts
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <map>
#include <string>
extern "C" {
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
}
#include <irrlicht.h>
#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<irr::gui::IGUIElement*> guielements;
extern std::map<irr::gui::IGUIElement*,int> iguielements;
#endif
|