- refactored the thinker list.
This was an unorganized set of static members in DThinker but has now been regrouped into something more structured.
This commit is contained in:
parent
e30f116faf
commit
3b4ded5694
11 changed files with 508 additions and 470 deletions
|
|
@ -928,7 +928,7 @@ void FLevelLocals::Serialize(FSerializer &arc, bool hubload)
|
|||
|
||||
if (arc.isReading())
|
||||
{
|
||||
DThinker::DestroyAllThinkers();
|
||||
Thinkers.DestroyAllThinkers();
|
||||
interpolator.ClearInterpolations();
|
||||
arc.ReadObjects(hubload);
|
||||
ActiveSequences = 0;
|
||||
|
|
@ -1000,7 +1000,7 @@ void FLevelLocals::Serialize(FSerializer &arc, bool hubload)
|
|||
P_SerializeHealthGroups(this, arc);
|
||||
// [ZZ] serialize events
|
||||
E_SerializeEvents(arc);
|
||||
DThinker::SerializeThinkers(arc, hubload);
|
||||
Thinkers.SerializeThinkers(arc, hubload);
|
||||
arc("polyobjs", Polyobjects);
|
||||
SerializeSubsectors(arc, "subsectors");
|
||||
StatusBar->SerializeMessages(arc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue