mirror of
https://github.com/DrBeef/QuestZDoom.git
synced 2025-04-24 18:22:02 +00:00
start vr menu
This commit is contained in:
parent
21b9849cab
commit
73a2946a31
2 changed files with 53 additions and 0 deletions
|
@ -2320,6 +2320,21 @@ VIDMNU_ENTERTEXT = "Press ENTER to set mode";
|
|||
VIDMNU_TESTTEXT1 = "T to test mode for 5 seconds";
|
||||
VIDMNU_TESTTEXT2 = "Please wait 5 seconds...";
|
||||
|
||||
// VR Options
|
||||
VRMNU_TITLE = "VIDEO MODE";
|
||||
VRMNU_FULLSCREEN = "Fullscreen";
|
||||
VRMNU_HIDPI = "Retina/HiDPI support";
|
||||
VRMNU_BRDLSS = "Borderless Windowed Mode";
|
||||
VRMNU_ASPECTRATIO = "Aspect ratio";
|
||||
VRMNU_FORCEASPECT = "Force aspect ratio";
|
||||
VRMNU_CROPASPECT = "Forced ratio style";
|
||||
VRMNU_5X4ASPECTRATIO = "Enable 5:4 aspect ratio";
|
||||
VRMNU_SCALEMODE = "Resolution scale";
|
||||
VRMNU_SCALEFACTOR = "Scale Factor";
|
||||
VRMNU_ENTERTEXT = "Press ENTER to set mode";
|
||||
VRMNU_TESTTEXT1 = "T to test mode for 5 seconds";
|
||||
VRMNU_TESTTEXT2 = "Please wait 5 seconds...";
|
||||
|
||||
// Network Options
|
||||
NETMNU_TITLE = "NETWORK OPTIONS";
|
||||
NETMNU_LOCALOPTIONS = "Local options";
|
||||
|
|
|
@ -2264,6 +2264,44 @@ OptionMenu VideoModeMenu protected
|
|||
class VideoModeMenu
|
||||
}
|
||||
|
||||
/*=======================================
|
||||
*
|
||||
* VR Options menu
|
||||
*
|
||||
*=======================================*/
|
||||
|
||||
|
||||
OptionMenu VROptionsMenu protected
|
||||
{
|
||||
Title "$VRMNU_TITLE"
|
||||
|
||||
Option "$VRMNU_ASPECTRATIO", "menu_screenratios", "Ratios"
|
||||
Option "$VIDMNU_FORCEASPECT", "vid_aspect", "ForceRatios"
|
||||
Option "$VIDMNU_CROPASPECT", "vid_cropaspect", "CropAspect"
|
||||
Option "$VIDMNU_SCALEMODE", "vid_scalemode", "ScaleModes"
|
||||
Slider "$VIDMNU_SCALEFACTOR", "vid_scalefactor", 0.25, 2.0, 0.25, 2
|
||||
|
||||
StaticText " "
|
||||
Option "$DSPLYMNU_VSYNC", "vid_vsync", "OnOff"
|
||||
Option "$DSPLYMNU_CAPFPS", "cl_capfps", "OffOn"
|
||||
|
||||
StaticText " "
|
||||
ScreenResolution "res_0"
|
||||
ScreenResolution "res_1"
|
||||
ScreenResolution "res_2"
|
||||
ScreenResolution "res_3"
|
||||
ScreenResolution "res_4"
|
||||
ScreenResolution "res_5"
|
||||
ScreenResolution "res_6"
|
||||
ScreenResolution "res_7"
|
||||
ScreenResolution "res_8"
|
||||
ScreenResolution "res_9"
|
||||
StaticTextSwitchable "$VIDMNU_ENTERTEXT", "", "VMEnterText"
|
||||
StaticText " "
|
||||
StaticTextSwitchable "$VIDMNU_TESTTEXT1", "$VIDMNU_TESTTEXT2", "VMTestText"
|
||||
class VideoModeMenu
|
||||
}
|
||||
|
||||
/*=======================================
|
||||
*
|
||||
* Network options menu
|
||||
|
|
Loading…
Reference in a new issue