1
0
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:
Zeno Rogue
2019-11-15 02:19:26 +01:00
parent 577ab0e1d4
commit 6655a73e5e
4 changed files with 8 additions and 6 deletions

View File

@@ -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;