mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
changes from zenorogue/hyperrogue#27
This commit is contained in:
parent
520e5e5dbb
commit
50eaba3efd
@ -191,9 +191,13 @@ bool applyCheat(char u, cell *c = NULL) {
|
||||
return true;
|
||||
}
|
||||
if(u == 'Z') {
|
||||
flipplayer = false;
|
||||
mirror::act(1, mirror::SPINSINGLE);
|
||||
if (flipplayer) {
|
||||
cwt += cwt.c->type/2;
|
||||
flipplayer = false;
|
||||
}
|
||||
cwt++;
|
||||
mirror::act(1, mirror::SPINSINGLE);
|
||||
|
||||
wavephase = (1+wavephase) & 7;
|
||||
if(shmup::on) shmup::pc[0]->at = Id;
|
||||
return true;
|
||||
|
@ -213,10 +213,6 @@ bool isDemon(cell *c) {
|
||||
return isDemon(c->monst);
|
||||
}
|
||||
|
||||
bool isWormHead(eMonster m) {
|
||||
return m == moWorm || m == moTentacle || m == moHexSnake || m == moDragonHead;
|
||||
}
|
||||
|
||||
bool isWorm(eMonster m) {
|
||||
return m == moWorm || m == moWormtail || m == moWormwait ||
|
||||
m == moTentacle || m == moTentacletail || m == moTentaclewait ||
|
||||
@ -651,10 +647,6 @@ bool survivesFire(eMonster m) {
|
||||
isDragon(m) || m == moShadow;
|
||||
}
|
||||
|
||||
/* bool survivesMine(eMonster m) {
|
||||
return ignoresPlates(m) || isFlying(m);
|
||||
} */
|
||||
|
||||
bool survivesWall(eMonster m) {
|
||||
return isGhost(m);
|
||||
}
|
||||
|
6
game.cpp
6
game.cpp
@ -1422,12 +1422,14 @@ bool monstersnear(cell *c, cell *nocount, eMonster who, cell *pushto, cell *come
|
||||
comefrom->wall = w;
|
||||
c->wall = waBigStatue;
|
||||
}
|
||||
if(who == moPlayer && c->wall == waThumperOn) {
|
||||
else if(who == moPlayer && c->wall == waThumperOn) {
|
||||
c->wall = waNone;
|
||||
b = monstersnear2();
|
||||
c->wall = waThumperOn;
|
||||
}
|
||||
b = monstersnear2();
|
||||
else {
|
||||
b = monstersnear2();
|
||||
}
|
||||
stalemate::moves.pop_back();
|
||||
return b;
|
||||
}
|
||||
|
1
hyper.h
1
hyper.h
@ -461,7 +461,6 @@ bool isCrossroads(eLand l);
|
||||
enum orbAction { roMouse, roKeyboard, roCheck, roMouseForce, roMultiCheck, roMultiGo };
|
||||
void moveItem (cell *from, cell *to, bool activateYendor);
|
||||
void uncoverMines(cell *c, int lev, int dist);
|
||||
bool survivesMine(eMonster m);
|
||||
void killMonster(cell *c, eMonster who_killed, flagtype flags = 0);
|
||||
void toggleGates(cell *ct, eWall type, int rad);
|
||||
bool destroyHalfvine(cell *c, eWall newwall = waNone, int tval = 6);
|
||||
|
Loading…
Reference in New Issue
Block a user