summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.h
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2011-11-07 14:31:24 +0100
committerFlorian Diebold <flodiebold@gmail.com>2011-11-23 19:05:49 +0100
commit1326a7e9556198e7388b0e1c7427def08ac0d7e1 (patch)
treea400dec48d1ba272b7fb22029acd8709f247159d /crawl-ref/source/tilepick.h
parent32d2ddfe039e01e5c1a3bb25cbde198b13b6a796 (diff)
downloadcrawl-ref-1326a7e9556198e7388b0e1c7427def08ac0d7e1.tar.gz
crawl-ref-1326a7e9556198e7388b0e1c7427def08ac0d7e1.zip
Use monster_info instead of monster for tile picking.
See #4280. This will allow regenerating tiles out of view from the map_knowledge, and we won't need to save the mcache anymore. There are still a few uses of monster in the interface code, which will have to be hunted down.
Diffstat (limited to 'crawl-ref/source/tilepick.h')
-rw-r--r--crawl-ref/source/tilepick.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/tilepick.h b/crawl-ref/source/tilepick.h
index 85a35d1a49..8cf9cff39f 100644
--- a/crawl-ref/source/tilepick.h
+++ b/crawl-ref/source/tilepick.h
@@ -23,9 +23,9 @@ tileidx_t tileidx_out_of_bounds(int branch);
void tileidx_from_map_cell(tileidx_t *fg, tileidx_t *bg, const map_cell &cell);
void tileidx_out_of_los(tileidx_t *fg, tileidx_t *bg, const coord_def& gc);
-tileidx_t tileidx_monster(const monster* mon);
-tileidx_t tileidx_draco_base(const monster* mon);
-tileidx_t tileidx_draco_job(const monster* mon);
+tileidx_t tileidx_monster(const monster_info& mon);
+tileidx_t tileidx_draco_base(const monster_info& mon);
+tileidx_t tileidx_draco_job(const monster_info& mon);
tileidx_t tileidx_item(const item_def &item);
tileidx_t tileidx_item_throw(const item_def &item, int dx, int dy);