mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-22 09:02:29 +00:00
3d:: 3d is affected by cells_drawn_limit; improved the sightrange edit dialog with more options and better help
This commit is contained in:
@@ -1555,6 +1555,7 @@ ld extra_generation_distance = 99;
|
||||
|
||||
bool do_draw(cell *c, const transmatrix& T) {
|
||||
if(DIM == 3) {
|
||||
if(cells_drawn > vid.cells_drawn_limit) return false;
|
||||
ld dist = hdist0(tC0(T));
|
||||
if(dist > sightranges[geometry]) return false;
|
||||
if(dist <= extra_generation_distance) setdist(c, 7, c);
|
||||
|
||||
Reference in New Issue
Block a user