From c4c40b70b10e104a1f567a5a23e6f9bc60c66a61 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Mon, 9 Jun 2008 03:44:28 +0000 Subject: 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 --- crawl-ref/source/cloud.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'crawl-ref/source/cloud.h') 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); -- cgit v1.2.3-54-g00ecf