diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-22 14:22:25 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-22 14:22:25 +0000 |
commit | 29da6fa25d84dfdb5fdb15826a707c32c14041ad (patch) | |
tree | d8723d6a34665e788eda4a0da0f146728b66d3c3 /crawl-ref/source/cloud.h | |
parent | 109b00ddba65e56db1a90a374115df69070bca71 (diff) | |
download | crawl-ref-29da6fa25d84dfdb5fdb15826a707c32c14041ad.tar.gz crawl-ref-29da6fa25d84dfdb5fdb15826a707c32c14041ad.zip |
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
Diffstat (limited to 'crawl-ref/source/cloud.h')
-rw-r--r-- | crawl-ref/source/cloud.h | 6 |
1 files changed, 4 insertions, 2 deletions
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); |