mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 16:07:11 +00:00
nicer auto sight range computation, and range(...) directive in the tes language
This commit is contained in:
1 parent
c8cbe55e1f
commit
d0e7541b45
4 files changed
+33
-9
No files matched your search
+1
-4
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user