1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-31 14:02:59 +00:00

kite-and-dart tiling

This commit is contained in:
Zeno Rogue
2019-07-25 12:24:02 +02:00
parent f72da51b38
commit cf496e8940
18 changed files with 547 additions and 36 deletions

View File

@@ -1158,7 +1158,7 @@ int wallchance(cell *c, bool deepOcean) {
bool horo_ok() {
// do the horocycles work in the current geometry?
return hyperbolic && !binarytiling && !archimedean;
return hyperbolic && !binarytiling && !archimedean && !penrose;
}
bool gp_wall_test() {
@@ -1208,7 +1208,7 @@ bool good_for_wall(cell *c) {
}
void buildBigStuff(cell *c, cell *from) {
if(sphere || quotient || sol) return;
if(sphere || quotient || sol || penrose) return;
if(chaosmode > 1) return;
bool deepOcean = deep_ocean_at(c, from);
@@ -1537,6 +1537,9 @@ void moreBigStuff(cell *c) {
else if(geometry == gHoroTris || geometry == gHoroRec) {
if(c->c.spin(S7-1) != 0) c->wall = waColumn;
}
else if(geometry == gKiteDart3) {
if(kite::getshape(c->master) == kite::pKite) c->wall = waColumn;
}
else if(WDIM == 3) {
if(c->master->zebraval != 1) c->wall = waColumn;
}