From e428f6948ec85d627293e550d27bbc526faa2b01 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Wed, 29 Aug 2018 19:13:44 -0400 Subject: [PATCH] - add menu sliders for `vr_ipd` and `vr_screendist` --- wadsrc/static/language.enu | 2 ++ wadsrc/static/menudef.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/wadsrc/static/language.enu b/wadsrc/static/language.enu index c843f5fcd..3e20e1e03 100644 --- a/wadsrc/static/language.enu +++ b/wadsrc/static/language.enu @@ -2820,6 +2820,8 @@ GLPREFMNU_DITHER = "Dither output"; GLPREFMNU_PALTONEMAPORDER = "Tonemap Palette Order"; GLPREFMNU_PALTONEMAPPOWER = "Tonemap Palette Exponent"; GLPREFMNU_SWLMBANDED = "Banded SW Lightmode"; +GLPREFMNU_VRIPD = "Distance Between Your Eyes"; +GLPREFMNU_VRSCREENDIST = "Distance From Your Screen"; // Option Values OPTVAL_SMART = "Smart"; diff --git a/wadsrc/static/menudef.txt b/wadsrc/static/menudef.txt index 218182c07..d8d3c9a4c 100644 --- a/wadsrc/static/menudef.txt +++ b/wadsrc/static/menudef.txt @@ -2290,6 +2290,8 @@ OptionMenu "OpenGLOptions" protected { Option "$GLPREFMNU_VRQUADSTEREO", vr_enable_quadbuffered, "OnOff" } + Slider "$GLPREFMNU_VRIPD", vr_ipd, 0.041, 0.073, 0.001, 3 + Slider "$GLPREFMNU_VRSCREENDIST", vr_screendist, 0.2, 10.0, 0.1, 1 StaticText " " Option "$GLPREFMNU_MULTISAMPLE", gl_multisample, "Multisample" Option "$GLPREFMNU_TONEMAP", gl_tonemap, "TonemapModes"