summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-20 02:35:00 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-20 02:35:00 +0000
commitc52e267a7c4023d9ec765ebbf6ce0a44f811a636 (patch)
tree972ccc97ec8d85c858501cbc471f505cbd9190c6 /crawl-ref/source/cloud.h
parentbbccc4cd6aa38a5c8fd62129ceb1de24b9709149 (diff)
downloadcrawl-ref-c52e267a7c4023d9ec765ebbf6ce0a44f811a636.tar.gz
crawl-ref-c52e267a7c4023d9ec765ebbf6ce0a44f811a636.zip
Bug 2820876: don't do a big cloud miscast in non-lethal mode if two player
turns in the cloud could kill the player. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10344 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/cloud.h')
-rw-r--r--crawl-ref/source/cloud.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/cloud.h b/crawl-ref/source/cloud.h
index 679798e48b..240ef74e77 100644
--- a/crawl-ref/source/cloud.h
+++ b/crawl-ref/source/cloud.h
@@ -55,10 +55,12 @@ void manage_clouds(void);
bool is_opaque_cloud(unsigned char cloud_idx);
int steam_cloud_damage(const cloud_struct &cloud);
+int steam_cloud_damage(int decay);
cloud_type beam2cloud(beam_type flavour);
beam_type cloud2beam(cloud_type flavour);
+int max_cloud_damage(cloud_type cl_type, int power = -1);
void in_a_cloud(void);
std::string cloud_name(cloud_type type);