mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-09 15:39:55 +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);
|
||||
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")) {
|
||||
PHASEFROM(2);
|
||||
shift(); s2xe::qrings = argi();
|
||||
|
Loading…
Reference in New Issue
Block a user