1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 07:30:26 +00:00

commandline options -smart and -smartlimit

This commit is contained in:
Zeno Rogue 2018-11-06 15:52:59 +01:00
parent 8988ea561f
commit 5ba198f3a6

View File

@ -560,6 +560,15 @@ int read_cheat_args() {
PHASEFROM(2); cheat();
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")) {
cheat();
quantum = true;