summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-09 03:44:28 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-09 03:44:28 +0000
commitc4c40b70b10e104a1f567a5a23e6f9bc60c66a61 (patch)
tree2be6cd26101d2865aac0cff9979e29641efe16a0 /crawl-ref/source/cloud.h
parent751e25e3d06d60d6e9709a1a38641a3faeb39325 (diff)
downloadcrawl-ref-c4c40b70b10e104a1f567a5a23e6f9bc60c66a61.tar.gz
crawl-ref-c4c40b70b10e104a1f567a5a23e6f9bc60c66a61.zip
Moved some cloud related functions from misc.{cc,h} to cloud.{cc,h}
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5636 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/cloud.h')
-rw-r--r--crawl-ref/source/cloud.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/cloud.h b/crawl-ref/source/cloud.h
index 7a4c0239ee..ae0bd5dd79 100644
--- a/crawl-ref/source/cloud.h
+++ b/crawl-ref/source/cloud.h
@@ -50,6 +50,15 @@ void manage_clouds(void);
bool is_opaque_cloud(unsigned char cloud_idx);
int steam_cloud_damage(const cloud_struct &cloud);
+cloud_type beam2cloud(beam_type flavour);
+beam_type cloud2beam(cloud_type flavour);
+
+void in_a_cloud(void);
+
+std::string cloud_name(cloud_type type);
+
+bool is_damaging_cloud(cloud_type type, bool temp = false);
+
void place_fog_machine(fog_machine_type fm_type, cloud_type cl_type,
int x, int y, int size, int power);