From 40ad4f04d2532e8b70f0df10cb1fe5e3f66c0497 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 29 Jan 2023 17:03:12 +0100 Subject: [PATCH] walk parameters are now prefixed by walk -- eye_level vs eyelevel was confusing --- intra.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/intra.cpp b/intra.cpp index 2e310e2c..a73f5dbf 100644 --- a/intra.cpp +++ b/intra.cpp @@ -1171,17 +1171,17 @@ EX void add_options() { auto a = addHook(hooks_configfile, 100, [] { param_b(auto_eyelevel, "auto_eyelevel") -> editable("keep eye level when walking enabled", 'L'); - param_f(eye_level, "eye_level") + param_f(eye_level, "walk_eye_level") -> editable(0, 5, .1, "walking eye level", "Distance from the floor to the eye in the walking mode, in absolute units. In VR this is adjusted automatically.", 'e') ->set_extra([] { add_edit(auto_eyelevel); }); - param_f(eye_angle, "eye_angle") + param_f(eye_angle, "walk_eye_angle") -> editable(-90, 90, 15, "walking eye angle", "0 = looking forward, 90 = looking upward. In VR this is adjusted automatically.", 'k') ->set_extra([] { add_edit(eye_angle_scale); }); - param_f(eye_angle_scale, "eye_angle_scale") + param_f(eye_angle_scale, "walk_eye_angle_scale") -> editable(-2, 0, 2, "eye angle scale", "1 = the angle can be changed with keyboard or mouse movements, 0 = the angle is fixed", 'k');