mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-24 07:56:59 +00:00
ads-game:: improvements to CLI switches
This commit is contained in:
parent
10856a6694
commit
e74f2e3c78
@ -191,9 +191,10 @@ void switch_replay() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto view_hooks =
|
auto view_hooks =
|
||||||
+ arg::add3("-ds-recenter", [] { current = Id; })
|
+ arg::add3("-ads-recenter", [] { current = Id; })
|
||||||
+ arg::add3("-ds-record", switch_replay)
|
+ arg::add3("-ads-replay", [] { arg::shift(); int i = arg::argi(); if(i != in_replay) switch_replay(); })
|
||||||
+ arg::add3("-ads-duality", [] { arg::shift(); use_duality = arg::argi(); })
|
+ arg::add3("-ads-duality", [] { arg::shift(); use_duality = arg::argi(); })
|
||||||
+ arg::add3("-ds-switchu", switch_spacetime);
|
+ arg::add3("-ads-cone", [] { arg::shift(); which_cross = arg::argi(); })
|
||||||
|
+ arg::add3("-ads-spacetime", [] { arg::shift(); switch_spacetime_to(arg::argi()); });
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user