- hook up the sub-serializers.

This commit is contained in:
Christoph Oelckers 2020-07-24 19:13:37 +02:00
parent 25d383ac73
commit c457f1aa8c

View file

@ -1,6 +1,7 @@
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
/* /*
Copyright (C) 1996, 2003 - 3D Realms Entertainment Copyright (C) 1996, 2003 - 3D Realms Entertainment
Copyright (C) 2020 - Christoph Oelckers
This file is part of Duke Nukem 3D version 1.5 - Atomic Edition This file is part of Duke Nukem 3D version 1.5 - Atomic Edition
@ -21,7 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Original Source: 1996 - Todd Replogle Original Source: 1996 - Todd Replogle
Prepared for public release: 03/21/2003 - Charlie Wiederhold, 3D Realms Prepared for public release: 03/21/2003 - Charlie Wiederhold, 3D Realms
Modifications for JonoF's port by Jonathon Fowler (jf@jonof.id.au)
*/ */
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
@ -34,6 +34,11 @@ Modifications for JonoF's port by Jonathon Fowler (jf@jonof.id.au)
BEGIN_DUKE_NS BEGIN_DUKE_NS
void SerializeActorGlobals(FSerializer& arc);
void lava_serialize(FSerializer& arc);
void SerializeGameVars(FSerializer &arc);
static void recreateinterpolations() static void recreateinterpolations()
{ {
numinterpolations = 0; numinterpolations = 0;
@ -480,6 +485,10 @@ void GameInterface::SerializeGameState(FSerializer& arc)
.Array("po", po, ud.multimode) .Array("po", po, ud.multimode)
.EndObject(); .EndObject();
SerializeActorGlobals(arc);
lava_serialize(arc);
SerializeGameVars(arc);
if (arc.isReading()) if (arc.isReading())
{ {
screenpeek = myconnectindex; screenpeek = myconnectindex;