mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 02:10:34 +00:00
fixed the -wm and -mm commandline options
This commit is contained in:
parent
8a44a09de5
commit
1440419dab
@ -197,8 +197,8 @@ int arg::readCommon() {
|
|||||||
|
|
||||||
else if(argis("-aa")) { PHASEFROM(2); shift(); vid.antialias = argi(); }
|
else if(argis("-aa")) { PHASEFROM(2); shift(); vid.antialias = argi(); }
|
||||||
else if(argis("-lw")) { PHASEFROM(2); shift(); vid.linewidth = argf(); }
|
else if(argis("-lw")) { PHASEFROM(2); shift(); vid.linewidth = argf(); }
|
||||||
else if(argis("-wm")) { PHASEFROM(2); vid.wallmode = argi(); }
|
else if(argis("-wm")) { PHASEFROM(2); shift(); vid.wallmode = argi(); }
|
||||||
else if(argis("-mm")) { PHASEFROM(2); vid.monmode = argi(); }
|
else if(argis("-mm")) { PHASEFROM(2); shift(); vid.monmode = argi(); }
|
||||||
|
|
||||||
#define TOGGLE(x, param, act) \
|
#define TOGGLE(x, param, act) \
|
||||||
else if(args()[0] == '-' && args()[1] == x && !args()[2]) { showstartmenu = false; if(curphase == 3) {act;} else {PHASE(2); param = !param;} } \
|
else if(args()[0] == '-' && args()[1] == x && !args()[2]) { showstartmenu = false; if(curphase == 3) {act;} else {PHASE(2); param = !param;} } \
|
||||||
|
Loading…
Reference in New Issue
Block a user