1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-30 21:42:59 +00:00

adapted most new lands for Shmup and some other modes

This commit is contained in:
Zeno Rogue
2017-10-11 22:16:07 +02:00
parent 2fd8f6b339
commit 343d0719b1
7 changed files with 113 additions and 52 deletions

View File

@@ -49,6 +49,10 @@ bool isFire(cell *w) {
return w->wall == waFire || w->wall == waPartialFire || w->wall == waEternalFire;
}
bool isFireOrMagma(cell *w) {
return isFire(w) || w->wall == waMagma;
}
bool isThumper(eWall w) {
return w == waThumperOff || w == waThumperOn;
}