improved the great walls in pure octagonal

This commit is contained in:
Zeno Rogue committed 2018-04-03 23:25:43 +02:00
1 parent 6399ef8180
commit f2c5bbcea3
3 files changed
+393 -2

No files matched your search

+3 -2
View File
@@ -88,7 +88,7 @@ bool checkBarriersNowall(cellwalker bb, int q, int dir, eLand l1=laNone, eLand l
bb = bb + dir + wstep + dir;
}
else if(nonbitrunc) {
bb = bb + (3*dir) + wstep - (3*dir);
bb = bb + (dir>0?3:4) + wstep - (dir>0?3:4);
}
else {
bb = bb + wstep + (2*dir) + wstep + dir;
@@ -261,7 +261,8 @@ void extendNowall(cell *c) {
cw0 = cw + i + wstep + i;
}
else if(nonbitrunc) {
cw0 = cw + (3*i) + wstep - (3*i);
cw0 = cw + (i>0?3:4) + wstep - (i>0?3:4);
//cw0 = cw + (3*i) + wstep - (3*i);
}
else {
cw0 = cw + (2*i) + wstep;