From 29da6fa25d84dfdb5fdb15826a707c32c14041ad Mon Sep 17 00:00:00 2001 From: dshaligram Date: Thu, 22 Mar 2007 14:22:25 +0000 Subject: Cleaned up clouds and threw out the foo_MON values from the cloud enum. The creator of the cloud is now remembered with the cloud, so kills from friendlies' poison clouds are credited appropriately. Increased MAX_CLOUDS to 180. Breaks save compatibility. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1076 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/cloud.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/cloud.h') diff --git a/crawl-ref/source/cloud.h b/crawl-ref/source/cloud.h index 62f8d93ce2..65cb2db888 100644 --- a/crawl-ref/source/cloud.h +++ b/crawl-ref/source/cloud.h @@ -17,8 +17,10 @@ void delete_cloud( int cloud ); void move_cloud( int cloud, int new_x, int new_y ); -void check_place_cloud( int cl_type, int x, int y, int lifetime ); -void place_cloud(unsigned char cl_type, unsigned char ctarget_x, unsigned char ctarget_y, unsigned char cl_range); +void check_place_cloud( int cl_type, int x, int y, int lifetime, + kill_category whose ); +void place_cloud(int cl_type, int ctarget_x, int ctarget_y, int cl_range, + kill_category whose); void manage_clouds(void); -- cgit v1.2.3-54-g00ecf