- refactored global sides array to be more VM friendly.
- moved FLevelLocals to its own header to resolve some circular include conflicts.
This commit is contained in:
parent
e188047d70
commit
cd7986b1b1
117 changed files with 354 additions and 251 deletions
|
|
@ -35,6 +35,7 @@
|
|||
#include "p_local.h"
|
||||
#include "r_sky.h"
|
||||
#include "r_data/colormaps.h"
|
||||
#include "g_levellocals.h"
|
||||
|
||||
|
||||
// [RH]
|
||||
|
|
@ -1925,10 +1926,10 @@ void subsector_t::BuildPolyBSP()
|
|||
assert((BSP == NULL || BSP->bDirty) && "BSP computed more than once");
|
||||
|
||||
// Set up level information for the node builder.
|
||||
PolyNodeLevel.Sides = sides;
|
||||
PolyNodeLevel.NumSides = numsides;
|
||||
PolyNodeLevel.Sides = &level.sides[0];
|
||||
PolyNodeLevel.NumSides = level.sides.Size();
|
||||
PolyNodeLevel.Lines = &level.lines[0];
|
||||
PolyNodeLevel.NumLines = numlines;
|
||||
PolyNodeLevel.NumLines = numlines; // is this correct???
|
||||
|
||||
// Feed segs to the nodebuilder and build the nodes.
|
||||
PolyNodeBuilder.Clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue