gzdoom-gles/src/swrenderer/scene/r_portal.h

22 lines
475 B
C
Raw Normal View History

2016-12-30 05:08:47 +00:00
#pragma once
2016-12-31 11:45:07 +00:00
#include "swrenderer/segments/r_portalsegment.h"
2016-12-30 05:08:47 +00:00
namespace swrenderer
{
extern PortalDrawseg* CurrentPortal;
extern int CurrentPortalUniq;
extern bool CurrentPortalInSkybox;
extern int stacked_extralight;
extern double stacked_visibility;
extern DVector3 stacked_viewpos;
extern DAngle stacked_angle;
2016-12-30 05:08:47 +00:00
void R_DrawPortals();
void R_DrawWallPortals();
void R_EnterPortal(PortalDrawseg* pds, int depth);
void R_HighlightPortal(PortalDrawseg* pds);
}