1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-14 13:57:38 +00:00

CAP_COMPLEX2 first

This commit is contained in:
?
2019-02-17 18:37:23 +01:00
committed by Zeno Rogue
parent c5a771c888
commit 31037574f5
7 changed files with 24 additions and 0 deletions

View File

@@ -1131,12 +1131,14 @@ void giantLandSwitch(cell *c, int d, cell *from) {
break;
case laWestWall:
#if CAP_COMPLEX2
if(d == 9)
westwall::switchTreasure(c);
ONEMPTY {
if(hrand(6000) < 5 + items[itWest] + yendor::hardness())
c->monst = hrand(100) < 20 ? moWestHawk : moFallingDog;
}
#endif
break;
case laWhirlwind:
@@ -2278,6 +2280,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
break;
case laVariant: {
#if CAP_COMPLEX2
int b = getBits(c);
if(d == 9) {
int treasure_rate = 2;
@@ -2293,6 +2296,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
c->wall = waNone;
}
break;
#endif
}
case laNone:
@@ -2513,7 +2517,9 @@ void setdist(cell *c, int d, cell *from) {
buildEquidistant(c);
}
#if CAP_COMPLEX2
if(d < BARLEV) brownian::apply_futures(c);
#endif
giantLandSwitch(c, d, from);