mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-26 07:50:08 +00:00
CLI -prodlevel to specify an exact value
This commit is contained in:
parent
db1367e823
commit
1e0f74262c
@ -3046,6 +3046,15 @@ EX namespace nisot {
|
|||||||
set_geometry(gProduct);
|
set_geometry(gProduct);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
else if(argis("-prodlevel")) {
|
||||||
|
/* specify an exact value for cgi.plevel */
|
||||||
|
stop_game();
|
||||||
|
vid.plevel_factor = 1;
|
||||||
|
check_cgi(); cgi.prepare_basics();
|
||||||
|
shift(); vid.plevel_factor = argf() / cgi.plevel;
|
||||||
|
check_cgi();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
else if(argis("-s2xe")) {
|
else if(argis("-s2xe")) {
|
||||||
PHASEFROM(2);
|
PHASEFROM(2);
|
||||||
shift(); s2xe::qrings = argi();
|
shift(); s2xe::qrings = argi();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user