From 61e249a3af97f53f5c471ef2256d26a952f8c2cc Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 16 May 2020 01:06:47 +0200 Subject: [PATCH] fixed skies in the new lands --- graph.cpp | 4 +++- sky.cpp | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index 11a1b90f..7997a325 100644 --- a/graph.cpp +++ b/graph.cpp @@ -3812,7 +3812,6 @@ EX int ceiling_category(cell *c) { case laDual: case laWestWall: case laAsteroids: - case laEclectic: return 1; case laPower: @@ -3843,6 +3842,8 @@ EX int ceiling_category(cell *c) { case laBrownian: case laHell: case laVariant: + case laFrog: + case laWet: return 2; case laBarrier: @@ -3868,6 +3869,7 @@ EX int ceiling_category(cell *c) { case laMercuryRiver: case laMagnetic: case laSwitch: + case laEclectic: return 3; case laPalace: diff --git a/sky.cpp b/sky.cpp index 217dfacb..8f1a2f08 100644 --- a/sky.cpp +++ b/sky.cpp @@ -164,6 +164,13 @@ void celldrawer::draw_ceiling() { } break; + case laFrog: + col = 0x4040FF; + if(zebra40(c) / 4 == 1) { + queuepolyat(V * zpush(cgi.SKY+1), cgi.shSun, 0xFFFF00FF, PPR::SKY); + } + break; + case laPower: col = c->landparam ? 0xFF2010 : 0x000020; break;