mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-05 15:34:27 +00:00
improved the great walls in pure octagonal
This commit is contained in:
1 parent
6399ef8180
commit
f2c5bbcea3
3 files changed
+393
-2
No files matched your search
+3
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user