mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +00:00
red power aura in Land of Power
This commit is contained in:
parent
b1276e2184
commit
1077abf223
@ -4601,6 +4601,7 @@ int ceiling_category(cell *c) {
|
|||||||
case laAsteroids:
|
case laAsteroids:
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
case laPower:
|
||||||
case laWineyard:
|
case laWineyard:
|
||||||
case laDesert:
|
case laDesert:
|
||||||
case laAlchemist:
|
case laAlchemist:
|
||||||
@ -4636,7 +4637,6 @@ int ceiling_category(cell *c) {
|
|||||||
case laCocytus:
|
case laCocytus:
|
||||||
case laEmerald:
|
case laEmerald:
|
||||||
case laDeadCaves:
|
case laDeadCaves:
|
||||||
case laPower:
|
|
||||||
case laHive:
|
case laHive:
|
||||||
case laCamelot:
|
case laCamelot:
|
||||||
case laIvoryTower:
|
case laIvoryTower:
|
||||||
@ -4786,6 +4786,10 @@ void draw_ceiling(cell *c, const transmatrix& V, int fd, color_t& fcol, color_t&
|
|||||||
queuepolyat(V * zpush(cgi.SKY+0.5), cgi.shSun, 0xFFFF00FF, PPR::SKY);
|
queuepolyat(V * zpush(cgi.SKY+0.5), cgi.shSun, 0xFFFF00FF, PPR::SKY);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case laPower:
|
||||||
|
col = c->landparam ? 0xFF2010 : 0x000020;
|
||||||
|
break;
|
||||||
|
|
||||||
case laDesert:
|
case laDesert:
|
||||||
case laRedRock:
|
case laRedRock:
|
||||||
|
@ -550,7 +550,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
if(v == 0 && !euclid) c->wall = waStone;
|
if(v == 0 && !euclid) c->wall = waStone;
|
||||||
else {
|
else {
|
||||||
v &= ~3;
|
v &= ~3;
|
||||||
if((v == 24 || v == 32 || v == 56))
|
c->landparam = (v == 24 || v == 32 || v == 56);
|
||||||
|
if(c->landparam)
|
||||||
c->wall = waEternalFire;
|
c->wall = waEternalFire;
|
||||||
else if(hrand(100) < 10) {
|
else if(hrand(100) < 10) {
|
||||||
c->wall = waGlass;
|
c->wall = waGlass;
|
||||||
|
Loading…
Reference in New Issue
Block a user