Removed RenderCamera, RenderBeforeThing, RenderAfterThing. Serialization preparations.
This commit is contained in:
parent
278741efa9
commit
23c9386add
8 changed files with 14 additions and 91 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue