#define OUT #include "library.h" OUT #include "build/objects.h" OUT #include "global.h" extern Global global; OUT #define STRINGIFY2_(v) #v OUT #define STRINGIFY2(v) STRINGIFY2_(v) __OBJECT_NAME__::~__OBJECT_NAME__(void){ draw_text(-1,-1,"Object of type " STRINGIFY2(__OBJECT_NAME__) " destructed."); } #define EVENT(name) void __OBJECT_NAME__::name(void) #include __OBJECT_FNAME__