mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-09-27 13:48:15 +00:00
formula pattern: now available from the commandline
This commit is contained in:
parent
e075bc8c6d
commit
00bc3f2304
@ -2850,6 +2850,13 @@ int read_pattern_args() {
|
|||||||
else patterns::canvasback = arghex();
|
else patterns::canvasback = arghex();
|
||||||
stop_game_and_switch_mode(rg::nothing);
|
stop_game_and_switch_mode(rg::nothing);
|
||||||
}
|
}
|
||||||
|
else if(argis("-cformula")) {
|
||||||
|
PHASEFROM(2);
|
||||||
|
stop_game();
|
||||||
|
firstland = specialland = laCanvas;
|
||||||
|
patterns::whichCanvas = 'f';
|
||||||
|
shift(); patterns::color_formula = args();
|
||||||
|
}
|
||||||
|
|
||||||
else if(argis("-d:line"))
|
else if(argis("-d:line"))
|
||||||
launch_dialog(linepatterns::showMenu);
|
launch_dialog(linepatterns::showMenu);
|
||||||
|
Loading…
Reference in New Issue
Block a user