blob: 7bed591967d932cc71b9fd006e27fcac223e3096 (
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, bool (*func)(irr::SEvent));
class GlobalEventReceiver : public irr::IEventReceiver{
public:
GlobalEventReceiver(IrrlichtDevice* d);
bool OnEvent(const irr::SEvent& e);
};
//GlobalEventReceiver::GlobalEventReceiver(IrrlichtDevice* d);
|