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

@ -1785,9 +1785,7 @@ public:
void Destroy() { Super::Destroy(); m_Sector->lightingdata=NULL; }
};
IMPLEMENT_CLASS (DLightLevel)
IMPLEMENT_CLASS(DLightLevel, false, false, false)
void DLightLevel::Serialize(FSerializer &arc)
{

View file

@ -71,7 +71,7 @@
//
//==========================================================================
IMPLEMENT_POINTY_CLASS(DFsSection)
IMPLEMENT_CLASS(DFsSection, false, true, false)
IMPLEMENT_POINTERS_START(DFsSection)
IMPLEMENT_POINTER(next)

View file

@ -99,7 +99,7 @@ AActor *trigger_obj;
//
//==========================================================================
IMPLEMENT_POINTY_CLASS(DFsScript)
IMPLEMENT_CLASS(DFsScript, false, true, false)
IMPLEMENT_POINTERS_START(DFsScript)
IMPLEMENT_POINTER(parent)
@ -269,7 +269,7 @@ void DFsScript::ParseScript(char *position)
//
//==========================================================================
IMPLEMENT_POINTY_CLASS(DRunningScript)
IMPLEMENT_CLASS(DRunningScript, false, true, false)
IMPLEMENT_POINTERS_START(DRunningScript)
IMPLEMENT_POINTER(prev)
@ -380,7 +380,7 @@ void DRunningScript::Serialize(FSerializer &arc)
//
//==========================================================================
IMPLEMENT_POINTY_CLASS(DFraggleThinker)
IMPLEMENT_CLASS(DFraggleThinker, false, true, false)
IMPLEMENT_POINTERS_START(DFraggleThinker)
IMPLEMENT_POINTER(RunningScripts)

View file

@ -179,7 +179,7 @@ AActor* actorvalue(const svalue_t &svalue)
//
//==========================================================================
IMPLEMENT_POINTY_CLASS(DFsVariable)
IMPLEMENT_CLASS(DFsVariable, false, true, false)
IMPLEMENT_POINTERS_START(DFsVariable)
IMPLEMENT_POINTER(next)