#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__