- made r_fullbrightignoresectorcolor a MAPINFO option, so far only working on the software renderer. GL still needs a few changes to handle it correctly.
This commit is contained in:
parent
c923f8c5e1
commit
dd03bb1fcb
12 changed files with 53 additions and 25 deletions
|
|
@ -101,6 +101,7 @@ EXTERN_CVAR (Float, sv_gravity)
|
|||
EXTERN_CVAR (Float, sv_aircontrol)
|
||||
EXTERN_CVAR (Int, disableautosave)
|
||||
EXTERN_CVAR (String, playerclass)
|
||||
EXTERN_CVAR(Int, r_preservesectorcolor)
|
||||
|
||||
#define SNAP_ID MAKE_ID('s','n','A','p')
|
||||
#define DSNP_ID MAKE_ID('d','s','N','p')
|
||||
|
|
@ -1487,6 +1488,20 @@ bool FLevelLocals::IsFreelookAllowed() const
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
bool FLevelLocals::PreserveSectorColor() const
|
||||
{
|
||||
if (r_preservesectorcolor == 0)
|
||||
return false;
|
||||
if (r_preservesectorcolor == 1)
|
||||
return true;
|
||||
return !!(level.flags3 & LEVEL3_PRESERVESECTORCOLOR);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
FString CalcMapName (int episode, int level)
|
||||
{
|
||||
FString lumpname;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue