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
|
|
|
|
{
|
2016-12-30 05:15:10 +00:00
|
|
|
extern PortalDrawseg* CurrentPortal;
|
|
|
|
extern int CurrentPortalUniq;
|
|
|
|
extern bool CurrentPortalInSkybox;
|
|
|
|
|
2016-12-31 13:15:06 +00:00
|
|
|
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);
|
|
|
|
}
|