blob: 24c3e6e506fdbd2e6177801d1c74bed2b5b394c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#define OUT
#define STRINGIFY_(v) #v
#define STRINGIFY(v) STRINGIFY_(v)
OUT #include "library.h"
OUT #include "build/objects.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__
|