mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-05 08:44:07 +00:00
extra commandline option
This commit is contained in:
parent
11e7ddc8ee
commit
60c3f383b9
12
models.cpp
12
models.cpp
@ -816,6 +816,18 @@ EX namespace models {
|
|||||||
PHASEFROM(2);
|
PHASEFROM(2);
|
||||||
shift_arg_formula(vpconf.model_orientation);
|
shift_arg_formula(vpconf.model_orientation);
|
||||||
}
|
}
|
||||||
|
else if(argis("-mets")) {
|
||||||
|
PHASEFROM(2);
|
||||||
|
shift_arg_formula(vpconf.euclid_to_sphere);
|
||||||
|
}
|
||||||
|
else if(argis("-mhyp")) {
|
||||||
|
PHASEFROM(2);
|
||||||
|
shift_arg_formula(vpconf.hyperboloid_scaling);
|
||||||
|
}
|
||||||
|
else if(argis("-mdepth")) {
|
||||||
|
PHASEFROM(2);
|
||||||
|
shift_arg_formula(vpconf.depth_scaling);
|
||||||
|
}
|
||||||
else if(argis("-mnil")) {
|
else if(argis("-mnil")) {
|
||||||
PHASEFROM(2);
|
PHASEFROM(2);
|
||||||
shift_arg_formula(vpconf.rotational_nil);
|
shift_arg_formula(vpconf.rotational_nil);
|
||||||
|
4
vr.cpp
4
vr.cpp
@ -914,6 +914,10 @@ int readArgs() {
|
|||||||
PHASEFROM(2);
|
PHASEFROM(2);
|
||||||
shift_arg_formula(pconf.vr_zshift);
|
shift_arg_formula(pconf.vr_zshift);
|
||||||
}
|
}
|
||||||
|
else if(argis("-vr-angle")) {
|
||||||
|
PHASEFROM(2);
|
||||||
|
shift_arg_formula(pconf.vr_angle);
|
||||||
|
}
|
||||||
else if(argis("-d:vr")) {
|
else if(argis("-d:vr")) {
|
||||||
PHASEFROM(2); launch_dialog(show_vr_settings);
|
PHASEFROM(2); launch_dialog(show_vr_settings);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user