mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-04-21 00:51:22 +00:00
qHUGE_BOUNDED to detect bounded geometries not to be computed fully
This commit is contained in:
2
cell.cpp
2
cell.cpp
@@ -102,7 +102,7 @@ transmatrix hrmap::adj(cell *c, int i) { return calc_relative_matrix(c->cmove(i)
|
||||
|
||||
vector<cell*>& hrmap::allcells() {
|
||||
static vector<cell*> default_allcells;
|
||||
if(bounded) {
|
||||
if(bounded && !(cgflags & qHUGE_BOUNDED)) {
|
||||
celllister cl(gamestart(), 1000000, 1000000, NULL);
|
||||
default_allcells = cl.lst;
|
||||
return default_allcells;
|
||||
|
||||
Reference in New Issue
Block a user