1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

commandline options -yca and -xy

This commit is contained in:
Zeno Rogue 2019-01-10 03:06:21 +01:00
parent 97fda826a8
commit db88c32455

View File

@ -1796,6 +1796,16 @@ int read_config_args() {
else if(argis("-msm")) { else if(argis("-msm")) {
PHASEFROM(2); memory_saving_mode = true; PHASEFROM(2); memory_saving_mode = true;
} }
else if(argis("-yca")) {
PHASEFROM(2);
shift_arg_formula(vid.yshift);
shift_arg_formula(vid.camera_angle);
}
else if(argis("-xy")) {
PHASEFROM(2);
shift_arg_formula(vid.xposition);
shift_arg_formula(vid.yposition);
}
else if(argis("-msmoff")) { else if(argis("-msmoff")) {
PHASEFROM(2); memory_saving_mode = false; PHASEFROM(2); memory_saving_mode = false;
} }