1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-15 03:35:47 +00:00

vr:: quick-keys for intra

This commit is contained in:
Zeno Rogue 2024-11-17 14:18:48 +01:00
parent 2b9a357634
commit f5d4be5a8d

View File

@ -1205,6 +1205,14 @@ auto a = addHook(hooks_configfile, 100, [] {
floor_dir = -1;
on_floor_of = nullptr;
ticks_last = ticks_end = ticks;
})
+ addHook(vrhr::vr_quickmenu_extensions, 105, [] {
if(!intra::in) return;
dialog::addBoolItem("walking mode", 'w', on);
dialog::add_action([] {
switch_walking();
println(hlog, "walking set to ", ONOFF(on));
});
});
EX }