diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-22 20:21:15 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-22 20:21:15 +0000 |
commit | 9a160b380b94ce9b89c93214fe7b9de3f36ed01f (patch) | |
tree | 53d1992a132d6e3178b427bbaca2510120233173 /crawl-ref/source/cloud.h | |
parent | 23e8c7a07f9ea71e683fa748940cc7447e5a8aa1 (diff) | |
download | crawl-ref-9a160b380b94ce9b89c93214fe7b9de3f36ed01f.tar.gz crawl-ref-9a160b380b94ce9b89c93214fe7b9de3f36ed01f.zip |
Massive change from using x and y to using coord_defs(). Not quite tested,
most likely broken in some places and might break tiles. Will fix in the
near future.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6636 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, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/cloud.h b/crawl-ref/source/cloud.h index ff64583ea9..b4e5d229bf 100644 --- a/crawl-ref/source/cloud.h +++ b/crawl-ref/source/cloud.h @@ -38,11 +38,11 @@ cloud_type random_smoke_type(); cloud_type cloud_type_at(const coord_def &pos); void delete_cloud( int cloud ); -void move_cloud( int cloud, int new_x, int new_y ); +void move_cloud( int cloud, const coord_def& newpos ); -void check_place_cloud( cloud_type cl_type, int x, int y, int lifetime, +void check_place_cloud( cloud_type cl_type, const coord_def& p, int lifetime, kill_category whose, int spread_rate = -1 ); -void place_cloud( cloud_type cl_type, int ctarget_x, int ctarget_y, +void place_cloud( cloud_type cl_type, const coord_def& ctarget, int cl_range, kill_category whose, int spread_rate = -1 ); void manage_clouds(void); |