diff options
author | Florian Diebold <flodiebold@gmail.com> | 2012-01-11 15:52:25 +0100 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2012-01-11 15:52:25 +0100 |
commit | 44fcce8fb6a3cbd54bf4a98e722b83a2a0f3f8b8 (patch) | |
tree | 6a22f52f213013af46bb9bdc10f2b878bbe9035f /crawl-ref/source/tileview.h | |
parent | 7fc31a89f9166ac6926f98a2c45c3f142969d5e9 (diff) | |
download | crawl-ref-44fcce8fb6a3cbd54bf4a98e722b83a2a0f3f8b8.tar.gz crawl-ref-44fcce8fb6a3cbd54bf4a98e722b83a2a0f3f8b8.zip |
Fix #5201 (the ?-mark for multiple items in tiles had gone missing).
This was another victim of the tile picking refactoring. The problem
was that tile_place_item tested if there were more items by checking
item.link, which doesn't work for an item from a map_cell.
While I was at it, I also removed a few outdated comments and made the
tile_place_* functions static.
Diffstat (limited to 'crawl-ref/source/tileview.h')
-rw-r--r-- | crawl-ref/source/tileview.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/tileview.h b/crawl-ref/source/tileview.h index e2322c2907..f1c9a2356f 100644 --- a/crawl-ref/source/tileview.h +++ b/crawl-ref/source/tileview.h @@ -45,17 +45,12 @@ void tile_floor_halo(dungeon_feature_type target, tileidx_t tile); // Tile view related -void tile_draw_map_cell(const coord_def &gc, bool foreground_only = false); void tile_draw_floor(); -void tile_place_item(const coord_def &gc, const item_def &item); -void tile_place_item_marker(const coord_def &gc, const item_def &item); -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_info &cl); void tile_place_ray(const coord_def &gc, aff_type in_range); void tile_draw_rays(bool reset_count); +void tile_draw_map_cell(const coord_def &gc, bool foreground_only = false); void tile_wizmap_terrain(const coord_def &gc); void tile_apply_animations(tileidx_t bg, tile_flavour *flv); |