mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-09 18:04:07 +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:
parent
cc84d32cd5
commit
31b4bca0b4
@ -1109,7 +1109,12 @@ int readArgs() {
|
|||||||
shift(); load_symbol(args(), true);
|
shift(); load_symbol(args(), true);
|
||||||
showstartmenu = false;
|
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"))
|
else if(argis("-d:arcm"))
|
||||||
launch_dialog(show);
|
launch_dialog(show);
|
||||||
else return 1;
|
else return 1;
|
||||||
|
@ -1306,14 +1306,17 @@ int read_geom_args() {
|
|||||||
}
|
}
|
||||||
else if(argis("-unrectified")) {
|
else if(argis("-unrectified")) {
|
||||||
PHASEFROM(2);
|
PHASEFROM(2);
|
||||||
|
gp::param = gp::univ_param();
|
||||||
set_variation(eVariation::unrectified);
|
set_variation(eVariation::unrectified);
|
||||||
}
|
}
|
||||||
else if(argis("-untruncated")) {
|
else if(argis("-untruncated")) {
|
||||||
PHASEFROM(2);
|
PHASEFROM(2);
|
||||||
|
gp::param = gp::univ_param();
|
||||||
set_variation(eVariation::untruncated);
|
set_variation(eVariation::untruncated);
|
||||||
}
|
}
|
||||||
else if(argis("-warped")) {
|
else if(argis("-warped")) {
|
||||||
PHASEFROM(2);
|
PHASEFROM(2);
|
||||||
|
gp::param = gp::univ_param();
|
||||||
set_variation(eVariation::warped);
|
set_variation(eVariation::warped);
|
||||||
}
|
}
|
||||||
#if MAXMDIM >= 4
|
#if MAXMDIM >= 4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user