summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilemcache.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/tilemcache.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/tilemcache.h')
-rw-r--r--crawl-ref/source/tilemcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilemcache.h b/crawl-ref/source/tilemcache.h
index f5a3fdec93..d82f8fb857 100644
--- a/crawl-ref/source/tilemcache.h
+++ b/crawl-ref/source/tilemcache.h
@@ -68,7 +68,7 @@ class mcache_manager
public:
~mcache_manager();
- unsigned int register_monster(const monster* mon);
+ unsigned int register_monster(const monster_info& mon);
mcache_entry *get(tileidx_t idx);
void clear_nonref();