1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 01:07:57 +00:00

nicer auto sight range computation, and range(...) directive in the tes language

This commit is contained in:
Zeno Rogue
2021-07-30 11:49:13 +02:00
parent c8cbe55e1f
commit d0e7541b45
4 changed files with 33 additions and 9 deletions

View File

@@ -578,10 +578,7 @@ struct hrmap_archimedean : hrmap {
origin->move(1)->c.connect(1, origin->move(0), 2*current.N-1, false);
}
cgi.base_distlimit = 0;
celllister cl(origin->c7, 1000, 200, NULL);
ginf[geometry].distlimit[!BITRUNCATED] = cgi.base_distlimit = cl.dists.back();
if(sphere) cgi.base_distlimit = SEE_ALL;
auto_compute_range(origin->c7);
}
~hrmap_archimedean() {