diff options
author | Florian Diebold <flodiebold@gmail.com> | 2011-12-01 22:12:51 +0100 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2011-12-01 23:11:48 +0100 |
commit | a974ddbca26c65f6d293be9c968991e2696ea244 (patch) | |
tree | 4aa7f7e3ad7f3d0786763d843213fe774410ccdd /crawl-ref/source/tileview.h | |
parent | 30efafb7cff94fb53cd9117f4cdea8ea4829428e (diff) | |
download | crawl-ref-a974ddbca26c65f6d293be9c968991e2696ea244.tar.gz crawl-ref-a974ddbca26c65f6d293be9c968991e2696ea244.zip |
Add more cloud data to map_knowledge; make tilepick.cc use it instead of the actual cloud_struct.
This adds the cloud tile and the value of cloud.decay/20, clipped to
the range 0-3, to the map_knowledge, and organizes all cloud-related
data into a new cloud_info struct. Both of these are required for the
tile picking code.
(Doesn't introduce a new minor tag, so saves from the previous commit
will crash.)
Diffstat (limited to 'crawl-ref/source/tileview.h')
-rw-r--r-- | crawl-ref/source/tileview.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tileview.h b/crawl-ref/source/tileview.h index 7e981e01b4..3d0140c372 100644 --- a/crawl-ref/source/tileview.h +++ b/crawl-ref/source/tileview.h @@ -12,7 +12,7 @@ #include "target.h" #include "tiledef_defines.h" -struct cloud_struct; +struct cloud_info; struct coord_def; struct dolls_data; struct item_def; @@ -54,7 +54,7 @@ void tile_place_invisible_monster(const coord_def &gc); void tile_place_monster(const coord_def &gc, const monster_info& mons); void tile_clear_monster(const coord_def &gc); void tile_reset_feat(const coord_def &gc); -void tile_place_cloud(const coord_def &gc, const cloud_struct &cl); +void tile_place_cloud(const coord_def &gc, const cloud_info &cl); void tile_place_ray(const coord_def &gc, aff_type in_range); void tile_draw_rays(bool reset_count); void tile_wizmap_terrain(const coord_def &gc); |