Separate the pointer list from the implement macro

This commit is contained in:
Leonard2 2016-11-05 17:08:54 +01:00
commit 0b3585c83f
39 changed files with 341 additions and 228 deletions

View file

@ -285,12 +285,14 @@ void DSeqNode::SerializeSequences (FSerializer &arc)
arc("sndseqlisthead", SequenceListHead);
}
IMPLEMENT_POINTY_CLASS (DSeqNode)
DECLARE_POINTER(m_ChildSeqNode)
DECLARE_POINTER(m_ParentSeqNode)
DECLARE_POINTER(m_Next)
DECLARE_POINTER(m_Prev)
END_POINTERS
IMPLEMENT_POINTY_CLASS(DSeqNode)
IMPLEMENT_POINTERS_START(DSeqNode)
IMPLEMENT_POINTER(m_ChildSeqNode)
IMPLEMENT_POINTER(m_ParentSeqNode)
IMPLEMENT_POINTER(m_Next)
IMPLEMENT_POINTER(m_Prev)
IMPLEMENT_POINTERS_END
DSeqNode::DSeqNode ()
: m_SequenceChoices(0)
@ -427,9 +429,11 @@ FName DSeqNode::GetSequenceName () const
return Sequences[m_Sequence]->SeqName;
}
IMPLEMENT_POINTY_CLASS (DSeqActorNode)
DECLARE_POINTER (m_Actor)
END_POINTERS
IMPLEMENT_POINTY_CLASS(DSeqActorNode)
IMPLEMENT_POINTERS_START(DSeqActorNode)
IMPLEMENT_POINTER(m_Actor)
IMPLEMENT_POINTERS_END
void DSeqActorNode::Serialize(FSerializer &arc)
{