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
1 changed files with 7 additions and 0 deletions

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);