summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-12-28 14:15:04 +0100
committerAdam Borowski <kilobyte@angband.pl>2010-12-28 14:17:39 +0100
commit849a1f7747cc162150fd0f29ec19d8df24910d5c (patch)
treee519a8a4e7e5805fe11a12ba97b38afdaf7244da /crawl-ref/source/cloud.h
parentac8dde2507c37ff45e44e7418f11e8a8827fd04a (diff)
downloadcrawl-ref-849a1f7747cc162150fd0f29ec19d8df24910d5c.tar.gz
crawl-ref-849a1f7747cc162150fd0f29ec19d8df24910d5c.zip
Let tornado colouring use centers other than the player.
Diffstat (limited to 'crawl-ref/source/cloud.h')
-rw-r--r--crawl-ref/source/cloud.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/cloud.h b/crawl-ref/source/cloud.h
index fce181ac72..dad11cdc87 100644
--- a/crawl-ref/source/cloud.h
+++ b/crawl-ref/source/cloud.h
@@ -61,11 +61,12 @@ int actor_apply_cloud(actor *act);
std::string cloud_name_at_index(int cloudno);
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 is_damaging_cloud(cloud_type type, bool temp = false);
bool is_harmless_cloud(cloud_type type);
bool in_what_cloud (cloud_type type);
-cloud_type in_what_cloud ();
+cloud_type in_what_cloud();
// fog generator
void place_fog_machine(fog_machine_type fm_type, cloud_type cl_type,