mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-04 13:19:20 +00:00
rogueviz::smoothcam:: -smoothcam-anim-on
This commit is contained in:
parent
9853de5775
commit
9bda1ecbf3
@ -669,6 +669,10 @@ auto hooks = arg::add3("-smoothcam", enable_and_show)
|
|||||||
animate_on = true;
|
animate_on = true;
|
||||||
last_time = HUGE_VAL;
|
last_time = HUGE_VAL;
|
||||||
})
|
})
|
||||||
|
+ arg::add3("-smoothcam-anim-on", [] {
|
||||||
|
animate_on = true;
|
||||||
|
last_time = HUGE_VAL;
|
||||||
|
})
|
||||||
+ addHook(dialog::hooks_display_dialog, 100, [] () {
|
+ addHook(dialog::hooks_display_dialog, 100, [] () {
|
||||||
if(current_screen_cfunction() == anims::show) {
|
if(current_screen_cfunction() == anims::show) {
|
||||||
dialog::addItem(XLAT("smooth camera"), 'C');
|
dialog::addItem(XLAT("smooth camera"), 'C');
|
||||||
|
Loading…
Reference in New Issue
Block a user