mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-12 04:11:43 +00:00
arg:: most important dialogs can be launched from command line
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user