summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiledgnbuf.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-06-03 14:22:17 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-06-03 14:22:17 +0200
commit054e26e1bbd3f6341eab330bd651607dd2e35a47 (patch)
treea05030998a39266277d13af93876f29e39626b07 /crawl-ref/source/tiledgnbuf.cc
parentcfc69f10b52b9866cd3d6f80c6a5dfdb5ede2f48 (diff)
downloadcrawl-ref-054e26e1bbd3f6341eab330bd651607dd2e35a47.tar.gz
crawl-ref-054e26e1bbd3f6341eab330bd651607dd2e35a47.zip
roctavian's tiles for inept and ravenous mimics.
Diffstat (limited to 'crawl-ref/source/tiledgnbuf.cc')
-rw-r--r--crawl-ref/source/tiledgnbuf.cc13
1 files changed, 12 insertions, 1 deletions
diff --git a/crawl-ref/source/tiledgnbuf.cc b/crawl-ref/source/tiledgnbuf.cc
index a1c930028d..bcc178f14d 100644
--- a/crawl-ref/source/tiledgnbuf.cc
+++ b/crawl-ref/source/tiledgnbuf.cc
@@ -320,8 +320,19 @@ void DungeonCellBuffer::pack_foreground(int x, int y, const packed_cell &cell)
m_buf_icons.add(TILEI_SOMETHING_UNDER, x, y);
int status_shift = 0;
- if (fg & TILE_FLAG_MIMIC)
+ switch (fg & TILE_FLAG_MIMIC_MASK)
+ {
+ case TILE_FLAG_MIMIC_INEPT:
+ m_buf_icons.add(TILEI_INEPT_MIMIC, x, y);
+ break;
+ case TILE_FLAG_MIMIC:
m_buf_icons.add(TILEI_MIMIC, x, y);
+ break;
+ case TILE_FLAG_MIMIC_RAVEN:
+ m_buf_icons.add(TILEI_RAVENOUS_MIMIC, x, y);
+ break;
+ default: ;
+ }
if (fg & TILE_FLAG_BERSERK)
{