Replaced the many implement macros with a single one that takes arguments instead
This commit is contained in:
parent
0b3585c83f
commit
bb2d61de50
126 changed files with 365 additions and 388 deletions
|
|
@ -31,7 +31,7 @@
|
|||
#include "serializer.h"
|
||||
#include "doomstat.h"
|
||||
|
||||
IMPLEMENT_CLASS (DSectorEffect)
|
||||
IMPLEMENT_CLASS(DSectorEffect, false, false, false)
|
||||
|
||||
DSectorEffect::DSectorEffect ()
|
||||
: DThinker(STAT_SECTOREFFECT)
|
||||
|
|
@ -71,7 +71,7 @@ void DSectorEffect::Serialize(FSerializer &arc)
|
|||
arc("sector", m_Sector);
|
||||
}
|
||||
|
||||
IMPLEMENT_POINTY_CLASS(DMover)
|
||||
IMPLEMENT_CLASS(DMover, false, true, false)
|
||||
|
||||
IMPLEMENT_POINTERS_START(DMover)
|
||||
IMPLEMENT_POINTER(interpolation)
|
||||
|
|
@ -108,9 +108,7 @@ void DMover::StopInterpolation(bool force)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
IMPLEMENT_CLASS (DMovingFloor)
|
||||
IMPLEMENT_CLASS(DMovingFloor, false, false, false)
|
||||
|
||||
DMovingFloor::DMovingFloor ()
|
||||
{
|
||||
|
|
@ -123,7 +121,7 @@ DMovingFloor::DMovingFloor (sector_t *sector)
|
|||
interpolation = sector->SetInterpolation(sector_t::FloorMove, true);
|
||||
}
|
||||
|
||||
IMPLEMENT_CLASS (DMovingCeiling)
|
||||
IMPLEMENT_CLASS(DMovingCeiling, false, false, false)
|
||||
|
||||
DMovingCeiling::DMovingCeiling ()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue