mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-25 15:30:13 +00:00
rogueviz::smoothcam:: option -smoothcam-on
This commit is contained in:
parent
8c7f2cf9ac
commit
639eea08a2
@ -492,6 +492,7 @@ void enable_and_show() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto hooks = arg::add3("-smoothcam", enable_and_show)
|
auto hooks = arg::add3("-smoothcam", enable_and_show)
|
||||||
|
+ arg::add3("-smoothcam-on", [] { enable_and_show(); animate_on = true; })
|
||||||
+ 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…
x
Reference in New Issue
Block a user