blob: 96002a601394d0450199b1daad31d8baba65778c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#define OUT
#define STRINGIFY_(v) #v
#define STRINGIFY(v) STRINGIFY_(v)
OUT #include "library.h"
OUT #include "build/objects.h"
OUT #include "build/sprites.h"
OUT #include "build/fonts.h"
OUT #include "global.h"
extern Global global;
__OBJECT_NAME__::__OBJECT_NAME__(void):Object(){}
__OBJECT_NAME__::__OBJECT_NAME__(double _x,double _y):Object(_x,_y){}
__OBJECT_NAME__::~__OBJECT_NAME__(void){
log("Object of type " STRINGIFY(__OBJECT_NAME__) " destructed.");
}
#define EVENT(name) void __OBJECT_NAME__::name(void)
#include __OBJECT_FNAME__
|