summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2010-01-10 17:38:30 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2010-01-10 18:39:03 +1000
commit28adee417435dac7697fb385b13e560084d170db (patch)
tree8f2e68ba101c5d85f37454a9c805a4f94be57d38 /crawl-ref/source/tilepick.cc
parent958627e9c8f506c7183eac5dd05e89d41d62e759 (diff)
downloadcrawl-ref-28adee417435dac7697fb385b13e560084d170db.tar.gz
crawl-ref-28adee417435dac7697fb385b13e560084d170db.zip
New type of cloud: thick gloom.
It's a fast-moving, long-lasting cloud that clumps together. It will dissipate very quickly unless it is near other clouds. It is opaque, and blocks line of sight with two or more clouds, but unlike other clouds, it does not actually use the '#' glyph. Instead, it colours the ground underneath it magenta. It's currently unused, and while it's an interesting visual effect that will have some great potential in portal vaults and specific branches, should probably be used very rarely. Also includes a tile for these, though I'm not too happy with the effect.
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r--crawl-ref/source/tilepick.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index 9e5b4fd390..913c7855b5 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -2796,6 +2796,10 @@ static int _tileidx_cloud(cloud_struct cl)
ch = TILE_CLOUD_RAIN + random2(tile_main_count(TILE_CLOUD_RAIN));
break;
+ case CLOUD_GLOOM:
+ ch = TILE_CLOUD_GLOOM;
+ break;
+
default:
ch = TILE_CLOUD_GREY_SMOKE;
break;