diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-12-30 14:42:38 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-12-30 14:42:38 +0100 |
commit | fdfbfdeb226cb33da8198cb3da6b6f39d7118dfc (patch) | |
tree | b8c6fbef01456b223cc4076e05ce9c16e3ce160e /crawl-ref/source/cloud.cc | |
parent | d8190f4c633d2c4065e92c61894f85f506d5246a (diff) | |
download | crawl-ref-fdfbfdeb226cb33da8198cb3da6b6f39d7118dfc.tar.gz crawl-ref-fdfbfdeb226cb33da8198cb3da6b6f39d7118dfc.zip |
A new cloud type: magical condensation trails, used by IOOD.
Diffstat (limited to 'crawl-ref/source/cloud.cc')
-rw-r--r-- | crawl-ref/source/cloud.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc index 58eb185c97..823164846d 100644 --- a/crawl-ref/source/cloud.cc +++ b/crawl-ref/source/cloud.cc @@ -886,6 +886,7 @@ bool is_harmless_cloud(cloud_type type) case CLOUD_TLOC_ENERGY: case CLOUD_MIST: case CLOUD_RAIN: + case CLOUD_MAGIC_TRAIL: case CLOUD_DEBUGGING: return (true); default: @@ -960,6 +961,8 @@ std::string cloud_name(cloud_type type) return "rain"; case CLOUD_MUTAGENIC: return "mutagenic fog"; + case CLOUD_MAGIC_TRAIL: + return "magical condensation"; default: return "buggy goodness"; } @@ -1096,6 +1099,10 @@ int get_cloud_colour(int cloudno) which_colour = ETC_MUTAGENIC; break; + case CLOUD_MAGIC_TRAIL: + which_colour = ETC_MAGIC; + break; + default: which_colour = LIGHTGREY; break; |