Replaced the many implement macros with a single one that takes arguments instead

This commit is contained in:
Leonard2 2016-11-05 18:27:14 +01:00
commit bb2d61de50
126 changed files with 365 additions and 388 deletions

View file

@ -69,8 +69,8 @@ int active_con_scale();
FRenderer *Renderer;
IMPLEMENT_ABSTRACT_CLASS (DCanvas)
IMPLEMENT_ABSTRACT_CLASS (DFrameBuffer)
IMPLEMENT_CLASS(DCanvas, true, false, false)
IMPLEMENT_CLASS(DFrameBuffer, true, false, false)
#if defined(_DEBUG) && defined(_M_IX86)
#define DBGBREAK { __asm int 3 }
@ -106,11 +106,11 @@ public:
float Gamma;
};
IMPLEMENT_ABSTRACT_CLASS (DDummyFrameBuffer)
IMPLEMENT_CLASS(DDummyFrameBuffer, true, false, false)
// SimpleCanvas is not really abstract, but this macro does not
// try to generate a CreateNew() function.
IMPLEMENT_ABSTRACT_CLASS (DSimpleCanvas)
IMPLEMENT_CLASS(DSimpleCanvas, true, false, false)
class FPaletteTester : public FTexture
{