1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 16:37:40 +00:00

split sight/game/generation range; bonuses instead of absolute values

This commit is contained in:
Zeno Rogue
2018-04-03 23:34:47 +02:00
parent f2c5bbcea3
commit 229f717678
17 changed files with 93 additions and 102 deletions

View File

@@ -553,7 +553,7 @@ void buildRug() {
return;
}
celllister cl(centerover.c ? centerover.c : cwt.c, sightrange, vertex_limit, NULL);
celllister cl(centerover.c ? centerover.c : cwt.c, get_sightrange(), vertex_limit, NULL);
map<cell*, rugpoint *> vptr;
@@ -1114,7 +1114,7 @@ void drawTriangle(triangle& t) {
using namespace hyperpoint_vec;
for(int i: {0,1,2}) {
if(!t.m[i]->valid) return;
if(t.m[i]->dist >= sightrange+.51) return;
if(t.m[i]->dist >= get_sightrange()+.51) return;
}
dt++;