blob: 31c04f874b71fa4d66920a23f427291fafdb7a44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include <stdio.h>
#include <stdlib.h>
#include <vector>
extern "C" {
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
}
#include <irrlicht.h>
using namespace irr;
using namespace gui;
void registerguicallback(IGUIElement* element, EGUI_EVENT_TYPE event, void (*func)(irr::SEvent));
class GlobalEventReceiver : public irr::IEventReceiver{
public:
GlobalEventReceiver(IrrlichtDevice* d);
bool OnEvent(const irr::SEvent& e);
};
//GlobalEventReceiver::GlobalEventReceiver(IrrlichtDevice* d);
|