1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-15 10:38:06 +00:00

added some missing CAP_ and MAXMDIM guards

This commit is contained in:
Zeno Rogue
2019-05-07 01:08:49 +02:00
parent 044298d0bd
commit c8e950cd40
25 changed files with 126 additions and 25 deletions

View File

@@ -206,6 +206,7 @@ namespace binary {
breakhere();
return NULL;
}
#if MAXMDIM >= 4
case gBinary3: {
switch(d) {
case 0: case 1:
@@ -311,7 +312,7 @@ namespace binary {
return path(h, 12, (z+1)%3+3, {13, z+6});
}
}
#endif
default: ;
}
printf("error: case not handled in binary tiling\n");
@@ -758,7 +759,6 @@ int celldistance3(heptagon *c1, heptagon *c2) {
}
int celldistance3(cell *c1, cell *c2) { return celldistance3(c1->master, c2->master); }
#endif
void virtualRebaseSimple(heptagon*& base, transmatrix& at) {
@@ -791,6 +791,7 @@ void virtualRebaseSimple(heptagon*& base, transmatrix& at) {
return;
}
}
#endif
}