mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
added am_showkeys_always
This commit is contained in:
parent
40ad9a2584
commit
8764f88c65
1 changed files with 3 additions and 2 deletions
|
@ -95,6 +95,7 @@ CVAR (Bool, am_customcolors, true, CVAR_ARCHIVE);
|
||||||
CVAR (Int, am_map_secrets, 1, CVAR_ARCHIVE);
|
CVAR (Int, am_map_secrets, 1, CVAR_ARCHIVE);
|
||||||
CVAR (Int, am_drawmapback, 1, CVAR_ARCHIVE);
|
CVAR (Int, am_drawmapback, 1, CVAR_ARCHIVE);
|
||||||
CVAR (Bool, am_showkeys, true, CVAR_ARCHIVE);
|
CVAR (Bool, am_showkeys, true, CVAR_ARCHIVE);
|
||||||
|
CVAR (Bool, am_showkeys_always, false, CVAR_ARCHIVE);
|
||||||
CVAR (Int, am_showtriggerlines, 0, CVAR_ARCHIVE);
|
CVAR (Int, am_showtriggerlines, 0, CVAR_ARCHIVE);
|
||||||
CVAR (Int, am_showthingsprites, 0, CVAR_ARCHIVE);
|
CVAR (Int, am_showthingsprites, 0, CVAR_ARCHIVE);
|
||||||
|
|
||||||
|
@ -3040,7 +3041,7 @@ void AM_drawThings ()
|
||||||
// That is the case for all default keys, however.
|
// That is the case for all default keys, however.
|
||||||
if (t->IsKindOf(NAME_Key))
|
if (t->IsKindOf(NAME_Key))
|
||||||
{
|
{
|
||||||
if (G_SkillProperty(SKILLP_EasyKey))
|
if (G_SkillProperty(SKILLP_EasyKey) || am_showkeys_always)
|
||||||
{
|
{
|
||||||
// Already drawn by AM_drawKeys(), so don't draw again
|
// Already drawn by AM_drawKeys(), so don't draw again
|
||||||
color.Index = -1;
|
color.Index = -1;
|
||||||
|
@ -3273,7 +3274,7 @@ void AM_Drawer (int bottom)
|
||||||
|
|
||||||
AM_drawWalls(allmap);
|
AM_drawWalls(allmap);
|
||||||
AM_drawPlayers();
|
AM_drawPlayers();
|
||||||
if (G_SkillProperty(SKILLP_EasyKey))
|
if (G_SkillProperty(SKILLP_EasyKey) || am_showkeys_always)
|
||||||
AM_drawKeys();
|
AM_drawKeys();
|
||||||
if ((am_cheat >= 2 && am_cheat != 4) || allthings)
|
if ((am_cheat >= 2 && am_cheat != 4) || allthings)
|
||||||
AM_drawThings();
|
AM_drawThings();
|
||||||
|
|
Loading…
Reference in a new issue