- started implementing a JSON based serializer. Unfortunately it is far too slow to be of any real use.
This commit is contained in:
parent
02e4ba464a
commit
9313a99e12
50 changed files with 16774 additions and 35 deletions
|
|
@ -440,18 +440,15 @@ void P_SerializeWorld (FArchive &arc)
|
|||
}
|
||||
|
||||
// do zones
|
||||
unsigned numzones = Zones.Size();
|
||||
arc << numzones;
|
||||
|
||||
if (arc.IsLoading())
|
||||
{
|
||||
if (zones != NULL)
|
||||
{
|
||||
delete[] zones;
|
||||
}
|
||||
zones = new zone_t[numzones];
|
||||
Zones.Resize(numzones);
|
||||
}
|
||||
|
||||
for (i = 0, zn = zones; i < numzones; ++i, ++zn)
|
||||
for (i = 0, zn = &Zones[0]; i < numzones; ++i, ++zn)
|
||||
{
|
||||
arc << zn->Environment;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue