summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-01-11 16:40:48 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-01-11 19:18:09 +0100
commit2b5bbcb0550493faee67cca47bfb3c26fa1154e3 (patch)
tree21db8164ed59024b33f479efd07dfa2315e49f43 /crawl-ref/source/cloud.h
parent56266ee012d54c6dc9021abb1deebc51da3539df (diff)
downloadcrawl-ref-2b5bbcb0550493faee67cca47bfb3c26fa1154e3.tar.gz
crawl-ref-2b5bbcb0550493faee67cca47bfb3c26fa1154e3.zip
Implement #1962: Don't generate cloud autoexclusions when immune.
Currently, this even works for temporary resistances, which is not ideal.
Diffstat (limited to 'crawl-ref/source/cloud.h')
-rw-r--r--crawl-ref/source/cloud.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/cloud.h b/crawl-ref/source/cloud.h
index dad11cdc87..ded06cb783 100644
--- a/crawl-ref/source/cloud.h
+++ b/crawl-ref/source/cloud.h
@@ -63,6 +63,7 @@ std::string cloud_type_name(cloud_type type, bool terse = true);
int get_cloud_colour(int cloudno);
coord_def get_cloud_originator(const coord_def& pos);
+bool actor_cloud_immune(const actor *act, const cloud_struct &cloud);
bool is_damaging_cloud(cloud_type type, bool temp = false);
bool is_harmless_cloud(cloud_type type);
bool in_what_cloud (cloud_type type);