1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-05 18:27:01 +00:00

made -dual work outside of Archimedean, and -unrectified, -untruncated and -warped work outside of goldberg, i.e. also in bitruncated and pure

This commit is contained in:
Zeno Rogue 2025-02-23 20:20:07 +01:00
parent cc84d32cd5
commit 31b4bca0b4
2 changed files with 9 additions and 1 deletions

View File

@ -1109,7 +1109,12 @@ int readArgs() {
shift(); load_symbol(args(), true);
showstartmenu = false;
}
else if(argis("-dual")) { PHASEFROM(2); set_variation(eVariation::dual); }
else if(argis("-dual")) {
PHASEFROM(2);
if(in())
set_variation(eVariation::dual);
else gp::dual_of_current();
}
else if(argis("-d:arcm"))
launch_dialog(show);
else return 1;

View File

@ -1306,14 +1306,17 @@ int read_geom_args() {
}
else if(argis("-unrectified")) {
PHASEFROM(2);
gp::param = gp::univ_param();
set_variation(eVariation::unrectified);
}
else if(argis("-untruncated")) {
PHASEFROM(2);
gp::param = gp::univ_param();
set_variation(eVariation::untruncated);
}
else if(argis("-warped")) {
PHASEFROM(2);
gp::param = gp::univ_param();
set_variation(eVariation::warped);
}
#if MAXMDIM >= 4