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
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
IMPLEMENT_POINTY_CLASS(DFsSection)
|
||||
IMPLEMENT_CLASS(DFsSection, false, true, false)
|
||||
|
||||
IMPLEMENT_POINTERS_START(DFsSection)
|
||||
IMPLEMENT_POINTER(next)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue