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/spl-util.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/spl-util.h') diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h index 67f76133ef..56986ab064 100644 --- a/crawl-ref/source/spl-util.h +++ b/crawl-ref/source/spl-util.h @@ -128,9 +128,10 @@ bool spell_direction( dist &spelld, bolt &pbolt, bool needs_path = true, const char *prompt = NULL ); -void apply_area_cloud(int (*func) (int, int, int, cloud_type, kill_category), +void apply_area_cloud(int (*func) (int, int, int, int, cloud_type, + kill_category), int x, int y, int pow, int number, cloud_type ctype, - kill_category); + kill_category kc, int spread_rate = -1); const char *spelltype_name(unsigned int which_spelltype); -- cgit v1.2.3-54-g00ecf