mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 23:12:24 +00:00
Move WindowLeft, WindowRight, MirrorFlags to r_portal
This commit is contained in:
parent
e25645df46
commit
abdc7f9ff1
6 changed files with 8 additions and 6 deletions
|
@ -44,6 +44,7 @@
|
|||
#include "swrenderer/segments/r_drawsegment.h"
|
||||
#include "swrenderer/scene/r_bsp.h"
|
||||
#include "swrenderer/scene/r_3dfloors.h"
|
||||
#include "swrenderer/scene/r_portal.h"
|
||||
#include "swrenderer/line/r_walldraw.h"
|
||||
#include "swrenderer/line/r_wallsetup.h"
|
||||
|
||||
|
|
|
@ -71,9 +71,6 @@ bool r_fakingunderwater;
|
|||
|
||||
static BYTE FakeSide;
|
||||
|
||||
int WindowLeft, WindowRight;
|
||||
WORD MirrorFlags;
|
||||
|
||||
visplane_t *floorplane;
|
||||
visplane_t *ceilingplane;
|
||||
|
||||
|
|
|
@ -46,9 +46,6 @@ enum
|
|||
FAKED_AboveCeiling
|
||||
};
|
||||
|
||||
extern int WindowLeft, WindowRight;
|
||||
extern WORD MirrorFlags;
|
||||
|
||||
void R_RenderScene();
|
||||
void R_RenderBSPNode (void *node);
|
||||
|
||||
|
|
|
@ -62,6 +62,9 @@ CVAR(Bool, r_skyboxes, true, 0)
|
|||
|
||||
namespace swrenderer
|
||||
{
|
||||
int WindowLeft, WindowRight;
|
||||
uint16_t MirrorFlags;
|
||||
|
||||
PortalDrawseg *CurrentPortal = nullptr;
|
||||
int CurrentPortalUniq = 0;
|
||||
bool CurrentPortalInSkybox = false;
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
namespace swrenderer
|
||||
{
|
||||
extern int WindowLeft, WindowRight;
|
||||
extern uint16_t MirrorFlags;
|
||||
|
||||
extern PortalDrawseg* CurrentPortal;
|
||||
extern int CurrentPortalUniq;
|
||||
extern bool CurrentPortalInSkybox;
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include "swrenderer/scene/r_things.h"
|
||||
#include "swrenderer/scene/r_3dfloors.h"
|
||||
#include "swrenderer/scene/r_bsp.h"
|
||||
#include "swrenderer/scene/r_portal.h"
|
||||
#include "swrenderer/line/r_wallsetup.h"
|
||||
#include "swrenderer/line/r_walldraw.h"
|
||||
#include "swrenderer/line/r_fogboundary.h"
|
||||
|
|
Loading…
Reference in a new issue