Move swrenderer into a namespace, add multithreading framework, and move drawers to commands
This commit is contained in:
parent
52645afb4b
commit
3ff91807b8
25 changed files with 5709 additions and 3226 deletions
|
|
@ -58,6 +58,13 @@
|
|||
#include "po_man.h"
|
||||
#include "r_data/colormaps.h"
|
||||
|
||||
CVAR (Bool, r_drawflat, false, 0) // [RH] Don't texture segs?
|
||||
EXTERN_CVAR(Bool, r_fullbrightignoresectorcolor);
|
||||
|
||||
namespace swrenderer
|
||||
{
|
||||
using namespace drawerargs;
|
||||
|
||||
seg_t* curline;
|
||||
side_t* sidedef;
|
||||
line_t* linedef;
|
||||
|
|
@ -104,8 +111,6 @@ TArray<PortalDrawseg> WallPortals(1000); // note: this array needs to go away as
|
|||
|
||||
subsector_t *InSubsector;
|
||||
|
||||
CVAR (Bool, r_drawflat, false, 0) // [RH] Don't texture segs?
|
||||
EXTERN_CVAR(Bool, r_fullbrightignoresectorcolor);
|
||||
|
||||
|
||||
void R_StoreWallRange (int start, int stop);
|
||||
|
|
@ -1396,3 +1401,5 @@ void R_RenderBSPNode (void *node)
|
|||
}
|
||||
R_Subsector ((subsector_t *)((BYTE *)node - 1));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue