1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-05 16:23:06 +00:00

Cubic Windy Plains

This commit is contained in:
Zeno Rogue
2017-11-03 20:55:41 +01:00
parent 8182a206b9
commit 7aa2d90142
2 changed files with 14 additions and 2 deletions

View File

@@ -16,7 +16,14 @@ namespace whirlwind {
decodeMaster(c->master, x, y);
return 1+((((signed short)(y)+int(50000))/3)%3);
}
if(sphere) return getHemisphere(c, 0) > 0 ? 1 : 2;
if(S7 == 5) return getHemisphere(c, 0) > 0 ? 1 : 2;
if(S7 < 5) {
int d = celldistance(currentmap->gamestart(), c);
if(d == 0) return 0;
if(S7 == 4 && d == 3) return 0;
if(S7 == 3 && d == 2 && !ctof(c)) return 0;
return 1;
}
return zebra3(c);
}