walk parameters are now prefixed by walk -- eye_level vs eyelevel was confusing

This commit is contained in:
Zeno Rogue 2023-01-29 17:03:12 +01:00
parent ba03d33959
commit 40ad4f04d2
1 changed files with 3 additions and 3 deletions

View File

@ -1171,17 +1171,17 @@ EX void add_options() {
auto a = addHook(hooks_configfile, 100, [] { auto a = addHook(hooks_configfile, 100, [] {
param_b(auto_eyelevel, "auto_eyelevel") param_b(auto_eyelevel, "auto_eyelevel")
-> editable("keep eye level when walking enabled", 'L'); -> 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", -> 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.", "Distance from the floor to the eye in the walking mode, in absolute units. In VR this is adjusted automatically.",
'e') 'e')
->set_extra([] { add_edit(auto_eyelevel); }); ->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", -> editable(-90, 90, 15, "walking eye angle",
"0 = looking forward, 90 = looking upward. In VR this is adjusted automatically.", "0 = looking forward, 90 = looking upward. In VR this is adjusted automatically.",
'k') 'k')
->set_extra([] { add_edit(eye_angle_scale); }); ->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", -> editable(-2, 0, 2, "eye angle scale",
"1 = the angle can be changed with keyboard or mouse movements, 0 = the angle is fixed", "1 = the angle can be changed with keyboard or mouse movements, 0 = the angle is fixed",
'k'); 'k');