Revert "- 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 reverts commit dd03bb1fcb.
Turns out that making this work in GL will create a complete mess so better remove the option as it would only cause problems.
This commit is contained in:
parent
dd03bb1fcb
commit
1d2ae53ecb
12 changed files with 25 additions and 53 deletions
|
|
@ -101,7 +101,6 @@ 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')
|
||||
|
|
@ -1488,20 +1487,6 @@ 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