1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 01:07:57 +00:00

fixup params in vr

This commit is contained in:
Zeno Rogue
2021-02-01 21:26:35 +01:00
parent cb4c18ee94
commit f9c8a458aa
2 changed files with 4 additions and 4 deletions

6
vr.cpp
View File

@@ -1329,11 +1329,11 @@ void addconfig() {
param_f(vrhr::ui_depth, "vr_ui_depth");
param_f(vrhr::ui_size, "vr_ui_size");
addsaverenum(vrhr::hsm, "vr_headset_mode")
param_enum(vrhr::hsm, "vr_headset_mode", "vr_headset_mode", vrhr::hsm)
->editable(headset_desc, "VR headset movement", 'h');
addsaverenum(vrhr::eyes, "vr_eyes_mode");
param_enum(vrhr::eyes, "vr_eyes_mode", "vr_eyes_mode", vrhr::eyes)
->editable(eyes_desc, "VR binocular vision", 'b');
addsaverenum(vrhr::cscr, "vr_screen_mode");
param_enum(vrhr::cscr, "vr_screen_mode", "vr_screen_mode", vrhr::cscr)
->editable(comp_desc, "VR computer screen", 'c');
}
auto hookc = addHook(hooks_configfile, 100, addconfig);