1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-29 19:40:35 +00:00

red power aura in Land of Power

This commit is contained in:
Zeno Rogue 2019-06-01 19:26:02 +02:00
parent b1276e2184
commit 1077abf223
2 changed files with 7 additions and 2 deletions

View File

@ -4601,6 +4601,7 @@ int ceiling_category(cell *c) {
case laAsteroids:
return 1;
case laPower:
case laWineyard:
case laDesert:
case laAlchemist:
@ -4636,7 +4637,6 @@ int ceiling_category(cell *c) {
case laCocytus:
case laEmerald:
case laDeadCaves:
case laPower:
case laHive:
case laCamelot:
case laIvoryTower:
@ -4787,6 +4787,10 @@ void draw_ceiling(cell *c, const transmatrix& V, int fd, color_t& fcol, color_t&
}
break;
case laPower:
col = c->landparam ? 0xFF2010 : 0x000020;
break;
case laDesert:
case laRedRock:
col = 0x4040FF;

View File

@ -550,7 +550,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
if(v == 0 && !euclid) c->wall = waStone;
else {
v &= ~3;
if((v == 24 || v == 32 || v == 56))
c->landparam = (v == 24 || v == 32 || v == 56);
if(c->landparam)
c->wall = waEternalFire;
else if(hrand(100) < 10) {
c->wall = waGlass;