1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 06:03:23 +00:00

rogueviz::smoothcam:: -smoothcam-anim-on

This commit is contained in:
Zeno Rogue 2023-02-15 14:51:51 +01:00
parent 9853de5775
commit 9bda1ecbf3

View File

@ -669,6 +669,10 @@ auto hooks = arg::add3("-smoothcam", enable_and_show)
animate_on = true;
last_time = HUGE_VAL;
})
+ arg::add3("-smoothcam-anim-on", [] {
animate_on = true;
last_time = HUGE_VAL;
})
+ addHook(dialog::hooks_display_dialog, 100, [] () {
if(current_screen_cfunction() == anims::show) {
dialog::addItem(XLAT("smooth camera"), 'C');