mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-29 19:40:35 +00:00
commandline options -smart and -smartlimit
This commit is contained in:
parent
8988ea561f
commit
5ba198f3a6
@ -560,6 +560,15 @@ int read_cheat_args() {
|
|||||||
PHASEFROM(2); cheat();
|
PHASEFROM(2); cheat();
|
||||||
shift(); sightrange_bonus = genrange_bonus = gamerange_bonus = argi();
|
shift(); sightrange_bonus = genrange_bonus = gamerange_bonus = argi();
|
||||||
}
|
}
|
||||||
|
else if(argis("-smart")) {
|
||||||
|
PHASEFROM(2); cheat();
|
||||||
|
vid.use_smart_range = 2;
|
||||||
|
shift(); vid.smart_range_detail = argf();
|
||||||
|
}
|
||||||
|
else if(argis("-smartlimit")) {
|
||||||
|
PHASEFROM(2);
|
||||||
|
shift(); vid.cells_drawn_limit = argi();
|
||||||
|
}
|
||||||
else if(argis("-quantum")) {
|
else if(argis("-quantum")) {
|
||||||
cheat();
|
cheat();
|
||||||
quantum = true;
|
quantum = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user