mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +00:00
- Fixed compile errors with last merge.
This commit is contained in:
parent
05662e5c4d
commit
6c04439315
5 changed files with 6 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
#include "poly_sky.h"
|
||||
#include "poly_portal.h"
|
||||
#include "r_sky.h" // for skyflatnum
|
||||
#include "g_levellocals.h"
|
||||
|
||||
PolySkyDome::PolySkyDome()
|
||||
{
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include "swrenderer/line/r_walldraw.h"
|
||||
#include "swrenderer/scene/r_portal.h"
|
||||
#include "swrenderer/r_memory.h"
|
||||
#include "g_levellocals.h"
|
||||
|
||||
CVAR(Bool, r_linearsky, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
|
||||
EXTERN_CVAR(Int, r_skymode)
|
||||
|
@ -115,7 +116,7 @@ namespace swrenderer
|
|||
else
|
||||
{ // MBF's linedef-controlled skies
|
||||
// Sky Linedef
|
||||
const line_t *l = &lines[(pl->sky & ~PL_SKYFLAT) - 1];
|
||||
const line_t *l = &level.lines[(pl->sky & ~PL_SKYFLAT) - 1];
|
||||
|
||||
// Sky transferred from first sidedef
|
||||
const side_t *s = l->sidedef[0];
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
#include "r_sky.h"
|
||||
#include "po_man.h"
|
||||
#include "r_data/colormaps.h"
|
||||
#include "g_levellocals.h"
|
||||
|
||||
EXTERN_CVAR(Bool, r_fullbrightignoresectorcolor);
|
||||
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
#include "swrenderer/things/r_wallsprite.h"
|
||||
#include "swrenderer/things/r_sprite.h"
|
||||
#include "swrenderer/r_memory.h"
|
||||
#include "g_levellocals.h"
|
||||
|
||||
EXTERN_CVAR(Int, r_drawfuzz)
|
||||
EXTERN_CVAR(Bool, r_drawvoxels)
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
#include "swrenderer/scene/r_portal.h"
|
||||
#include "swrenderer/things/r_sprite.h"
|
||||
#include "swrenderer/r_memory.h"
|
||||
#include "g_levellocals.h"
|
||||
|
||||
EXTERN_CVAR(Bool, st_scale)
|
||||
EXTERN_CVAR(Bool, r_drawplayersprites)
|
||||
|
|
Loading…
Reference in a new issue