Removed RenderCamera, RenderBeforeThing, RenderAfterThing. Serialization preparations.

This commit is contained in:
ZZYZX 2017-01-23 23:05:51 +02:00
commit 23c9386add
8 changed files with 14 additions and 91 deletions

View file

@ -63,6 +63,7 @@
#include "r_renderer.h"
#include "serializer.h"
#include "g_levellocals.h"
#include "events.h"
static TStaticArray<sector_t> loadsectors;
static TStaticArray<line_t> loadlines;
@ -967,6 +968,8 @@ void G_SerializeLevel(FSerializer &arc, bool hubload)
arc("sectorportals", level.sectorPortals);
if (arc.isReading()) P_CollectLinkedPortals();
// [ZZ] serialize events
E_SerializeEvents(arc);
DThinker::SerializeThinkers(arc, !hubload);
arc.Array("polyobjs", polyobjs, po_NumPolyobjs);
arc("subsectors", subsectors);