From 45b0ff6c34bfa8f1653413349a31a65070e662c6 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Thu, 18 Oct 2007 17:42:50 +0000 Subject: Added fog machine Lua map markers. Needs a C interface to make it usable in level generation. Clouds now have a "spread rate" field, which by default uses the same per-cloud-type rate as before (normal spread rate for steam, grey smoke and black smoke, no spreading for other cloud types). Might want to make the spread rate decrease as the cloud spreads (currently it remains unchanged). Added new dungeon event type "entered level", to complement "entering level". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2489 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells4.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/spells4.h') diff --git a/crawl-ref/source/spells4.h b/crawl-ref/source/spells4.h index 515c8cc5a6..4a0b745d05 100644 --- a/crawl-ref/source/spells4.h +++ b/crawl-ref/source/spells4.h @@ -20,8 +20,8 @@ struct bolt; std::string your_hand(bool plural); bool backlight_monsters(int x, int y, int pow, int garbage); -int make_a_normal_cloud(int x, int y, int pow, cloud_type ctype, - kill_category); +int make_a_normal_cloud(int x, int y, int pow, int spread_rate, + cloud_type ctype, kill_category); int disperse_monsters(int x, int y, int pow, int message); void cast_bend(int pow); -- cgit v1.2.3-54-g00ecf