mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Added $OPTVAL_MBFSTRICT to menudef.txt, and added corresponding case 7 to the compatmode cvar in d_main.cpp
This commit is contained in:
parent
0d7eb9da58
commit
52f1c8a0d1
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright 1993-1996 id Software
|
||||
// Copyright 1999-2016 Randy Heit
|
||||
// Copyright 2002-2016 Christoph Oelckers
|
||||
|
@ -672,6 +671,12 @@ CUSTOM_CVAR(Int, compatmode, 0, CVAR_ARCHIVE|CVAR_NOINITCALL)
|
|||
w = COMPATF2_POINTONLINE | COMPATF2_EXPLODE2;
|
||||
break;
|
||||
|
||||
case 7: // Stricter MBF compatibility
|
||||
v = COMPATF_CORPSEGIBS | COMPATF_NOBLOCKFRIENDS | COMPATF_MBFMONSTERMOVE | COMPATF_INVISIBILITY |
|
||||
COMPATF_NOTOSSDROPS | COMPATF_MUSHROOM | COMPATF_NO_PASSMOBJ | COMPATF_BOOMSCROLL | COMPATF_WALLRUN |
|
||||
COMPATF_TRACE | COMPATF_HITSCAN | COMPATF_MISSILECLIP | COMPATF_MASKEDMIDTEX | COMPATF_SOUNDTARGET;
|
||||
w = COMPATF2_POINTONLINE | COMPATF2_EXPLODE1 | COMPATF2_EXPLODE2;
|
||||
break;
|
||||
}
|
||||
compatflags = v;
|
||||
compatflags2 = w;
|
||||
|
|
|
@ -1679,6 +1679,7 @@ OptionValue CompatModes
|
|||
3, "$OPTVAL_BOOM"
|
||||
6, "$OPTVAL_BOOMSTRICT"
|
||||
5, "$OPTVAL_MBF"
|
||||
7, "$OPTVAL_MBFSTRICT"
|
||||
4, "$OPTVAL_ZDOOM2063"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue