arg:: most important dialogs can be launched from command line

This commit is contained in:
Zeno Rogue
2018-11-11 11:27:36 +01:00
parent 01dc4997dc
commit 7b4028418e
10 changed files with 153 additions and 37 deletions
+9
View File
@@ -2374,6 +2374,15 @@ int read_pattern_args() {
stop_game_and_switch_mode(rg::nothing);
}
else if(argis("-d:line"))
launch_dialog(linepatterns::showMenu);
else if(argis("-d:reg"))
launch_dialog(patterns::showPrePattern);
else if(argis("-d:pattern"))
launch_dialog(patterns::showPattern);
else return 1;
return 0;
}