1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-17 18:59:59 +00:00

formula pattern: now available from the commandline

This commit is contained in:
Zeno Rogue 2019-11-15 13:38:37 +01:00
parent e075bc8c6d
commit 00bc3f2304

View File

@ -2850,6 +2850,13 @@ int read_pattern_args() {
else patterns::canvasback = arghex();
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"))
launch_dialog(linepatterns::showMenu);