2017-01-03 06:17:54 +00:00
|
|
|
//
|
|
|
|
// Copyright (C) 1993-1996 by id Software, Inc.
|
|
|
|
//
|
|
|
|
// This source is available for distribution and/or modification
|
|
|
|
// only under the terms of the DOOM Source Code License as
|
|
|
|
// published by id Software. All rights reserved.
|
|
|
|
//
|
|
|
|
// The source is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
|
|
|
|
// for more details.
|
|
|
|
//
|
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
|
|
|
|
{
|
2017-01-03 18:25:00 +00:00
|
|
|
extern int WindowLeft, WindowRight;
|
|
|
|
extern uint16_t MirrorFlags;
|
|
|
|
|
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);
|
|
|
|
}
|