summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tileview.h
diff options
context:
space:
mode:
authorEnne Walker <enne.walker@gmail.com>2010-06-06 22:57:32 -0400
committerEnne Walker <enne.walker@gmail.com>2010-06-08 21:36:24 -0400
commit24970e8a4a504e0afaf5e6334708f97e26b881c8 (patch)
tree48b012eae0ff5ea4b37a7f71714bfdd524c7dc56 /crawl-ref/source/tileview.h
parent324a8f17c3d051b41efd2a4aeefbf19782bfb53a (diff)
downloadcrawl-ref-24970e8a4a504e0afaf5e6334708f97e26b881c8.tar.gz
crawl-ref-24970e8a4a504e0afaf5e6334708f97e26b881c8.zip
Simplify tile_place_monster function.
As tileidx_out_of_los now handles detected monsters implicitly, there's no need to write monsters to env.tile_bk_fg or to handle detected monsters at all except through map_knowledge.
Diffstat (limited to 'crawl-ref/source/tileview.h')
-rw-r--r--crawl-ref/source/tileview.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/tileview.h b/crawl-ref/source/tileview.h
index 0230ff23c7..4511c1d6c7 100644
--- a/crawl-ref/source/tileview.h
+++ b/crawl-ref/source/tileview.h
@@ -42,8 +42,7 @@ void tile_floor_halo(dungeon_feature_type target, tileidx_t tile);
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_monster(const coord_def &gc, const monsters *mons,
- bool foreground = true, bool detected = false);
+void tile_place_monster(const coord_def &gc, const monsters *mons);
void tile_place_cloud(const coord_def &gc, const cloud_struct &cl);
void tile_place_ray(const coord_def &gc, bool in_range);
void tile_draw_rays(bool reset_count);