more fixes to Warped Coast

This commit is contained in:
Zeno Rogue committed 2018-04-04 17:59:24 +02:00
1 parent 1abca6d08e
commit 5ea2a52f3f
4 files changed
+55 -34

No files matched your search

+3 -1
View File
@@ -708,6 +708,8 @@ namespace patterns {
si.symmetries = ctof(c) ? 1 : 2;
}
}
if(whirl::whirl && has_nice_dual() && !ishept(c) && ishex1(c)) si.dir = fix6(si.dir+3);
}
char whichPattern = 0;
@@ -967,7 +969,7 @@ int pattern_threecolor(cell *c) {
// in the 'pure heptagonal' tiling, returns true for a set of cells
// which roughly corresponds to the heptagons in the normal tiling
bool pseudohept(cell *c) {
if(whirl::whirl) return whirl::pseudohept(c);
if(whirl::whirl) return whirl::pseudohept_val(c) == 0;
return pattern_threecolor(c) == 0;
}