3d:: nicer Temple of Cthulhu in horo-triangular

This commit is contained in:
Zeno Rogue 2019-03-10 12:26:06 +01:00
parent 5990e107ac
commit b9cbb28d66
2 changed files with 5 additions and 0 deletions

View File

@ -1362,6 +1362,9 @@ void moreBigStuff(cell *c) {
forCellCM(c2, c) if(celldistAlt(c2) < celldistAlt(c)) i++;
if(i > 1) c->wall = waColumn;
}
else if(geometry == gHoroTris) {
if(c->c.spin(S7-1) != 0) c->wall = waColumn;
}
else if(DIM == 3) {
if(c->master->zebraval != 1) c->wall = waColumn;
}

View File

@ -439,6 +439,8 @@ auto bt_config = addHook(hooks_args, 0, [] () {
bool pseudohept(cell *c) {
if(DIM == 2)
return c->type & c->master->distance & 1;
else if(geometry == gHoroTris)
return c->c.spin(S7-1) == 0 && (c->master->distance & 1);
else
return (c->master->zebraval == 1) && (c->master->distance & 1);
}