mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-16 22:57:38 +00:00
arg:: most important dialogs can be launched from command line
This commit is contained in:
@@ -754,6 +754,8 @@ void archimedean_tiling::parse() {
|
||||
}
|
||||
|
||||
#if CAP_COMMANDLINE
|
||||
void show();
|
||||
|
||||
int readArgs() {
|
||||
using namespace arg;
|
||||
|
||||
@@ -774,6 +776,8 @@ int readArgs() {
|
||||
}
|
||||
else if(argis("-dgeom")) debug_geometry = true;
|
||||
else if(argis("-dual")) { PHASEFROM(2); set_variation(eVariation::dual); }
|
||||
else if(argis("-d:arcm"))
|
||||
launch_dialog(show);
|
||||
else return 1;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user