summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.h
diff options
context:
space:
mode:
authorEnne Walker <enne.walker@gmail.com>2010-06-06 22:19:55 -0400
committerEnne Walker <enne.walker@gmail.com>2010-06-08 21:36:23 -0400
commit324a8f17c3d051b41efd2a4aeefbf19782bfb53a (patch)
treebe6de07e7bb914c5101b9d931439e450e2726188 /crawl-ref/source/tilepick.h
parent5d16a7dbfa222346c16c6f3aa275c503a001be0a (diff)
downloadcrawl-ref-324a8f17c3d051b41efd2a4aeefbf19782bfb53a.tar.gz
crawl-ref-324a8f17c3d051b41efd2a4aeefbf19782bfb53a.zip
Add tileidx_out_of_los function.
This function properly handles merging player memory with detected terrain, items, and monsters through map_knowledge, rather than having the detecting functions themselves write tile info themselves. This also fixes a magic mapping bug where the real feature was being displayed, rather than the magic_map_base_feat.
Diffstat (limited to 'crawl-ref/source/tilepick.h')
-rw-r--r--crawl-ref/source/tilepick.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/tilepick.h b/crawl-ref/source/tilepick.h
index 07a6ea982b..030b890bff 100644
--- a/crawl-ref/source/tilepick.h
+++ b/crawl-ref/source/tilepick.h
@@ -19,6 +19,7 @@ class monsters;
// Tile index lookup from Crawl data.
tileidx_t tileidx_feature(const coord_def &gc);
tileidx_t tileidx_out_of_bounds(int branch);
+void tileidx_out_of_los(tileidx_t *fg, tileidx_t *bg, const coord_def& gc);
tileidx_t tileidx_monster(const monsters *mon);
tileidx_t tileidx_monster_detected(const monsters *mon);
@@ -27,6 +28,7 @@ tileidx_t tileidx_draco_job(const monsters *mon);
tileidx_t tileidx_item(const item_def &item);
tileidx_t tileidx_item_throw(const item_def &item, int dx, int dy);
+tileidx_t tileidx_show_item(int show_item_type);
tileidx_t tileidx_cloud(const cloud_struct &cl);
tileidx_t tileidx_bolt(const bolt &bolt);