Show refresh rate option only on supported platforms

This commit is contained in:
Petr Bartos 2023-10-22 19:12:33 +02:00 committed by Simon
parent c3b4f55a0b
commit b0a45e5907
9 changed files with 13 additions and 5 deletions

View file

@ -527,7 +527,7 @@ REFERENCE TBDC_VANILLA
LANG_ENGLISH "Vanilla NPCs and Guns"
REFERENCE REFRESH_RATE_ITEM
LANG_ENGLISH "Refresh Rate (Standalone Only):"
LANG_ENGLISH "Refresh Rate:"
REFERENCE REFRESH_RATE_DESC
LANG_ENGLISH "Select display refresh rate (72Hz is recommended for default graphics setup)."

View file

@ -698,7 +698,7 @@ LANG_ENGLISH "Vanilla NPCs and Guns"
LANG_FRENCH "#same"
REFERENCE REFRESH_RATE_ITEM
LANG_ENGLISH "Refresh Rate (Standalone Only):"
LANG_ENGLISH "Refresh Rate:"
LANG_FRENCH "#same"
REFERENCE REFRESH_RATE_DESC

View file

@ -698,7 +698,7 @@ LANG_ENGLISH "Vanilla NPCs and Guns"
LANG_GERMAN "#same"
REFERENCE REFRESH_RATE_ITEM
LANG_ENGLISH "Refresh Rate (Standalone Only):"
LANG_ENGLISH "Refresh Rate:"
LANG_GERMAN "#same"
REFERENCE REFRESH_RATE_DESC

View file

@ -698,7 +698,7 @@ LANG_ENGLISH "Vanilla NPCs and Guns"
LANG_SPANISH "#same"
REFERENCE REFRESH_RATE_ITEM
LANG_ENGLISH "Refresh Rate (Standalone Only):"
LANG_ENGLISH "Refresh Rate:"
LANG_SPANISH "#same"
REFERENCE REFRESH_RATE_DESC

View file

@ -1054,6 +1054,8 @@
cvarFloatList { "60" 60 "72" 72 "80" 80 "90" 90 }
descText @MENUS_VR_REFRESH_RATE_DESC
cvar "vr_refresh"
cvarTest openXRHMD
showCvar { meta }
visible 0

View file

@ -1061,6 +1061,8 @@
cvarFloatList { "60" 60 "72" 72 "80" 80 "90" 90 }
descText @MENUS_VR_REFRESH_RATE_DESC
cvar "vr_refresh"
cvarTest openXRHMD
showCvar { meta }
visible 0

View file

@ -812,7 +812,7 @@ INDEX 160
INDEX 161
{
REFERENCE REFRESH_RATE_ITEM
TEXT_LANGUAGE1 "Refresh Rate (Standalone Only):"
TEXT_LANGUAGE1 "Refresh Rate:"
}
INDEX 162
{

View file

@ -1258,6 +1258,8 @@
cvarFloatList { "60" 60 "72" 72 "80" 80 "90" 90 }
descText @MENUS_VR_REFRESH_RATE_DESC
cvar "vr_refresh"
cvarTest openXRHMD
showCvar { meta }
visible 0

View file

@ -1357,6 +1357,8 @@
cvarFloatList { "60" 60 "72" 72 "80" 80 "90" 90 }
descText @MENUS_VR_REFRESH_RATE_DESC
cvar "vr_refresh"
cvarTest openXRHMD
showCvar { meta }
visible 0