summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiledgnbuf.cc
diff options
context:
space:
mode:
authorJon Knapp <thann@linux.com>2012-06-19 21:30:11 -0700
committerRaphael Langella <raphael.langella@gmail.com>2012-07-20 12:11:42 +0200
commit9b3039a3073899a58e1f422d7317ed143ddd24bb (patch)
treee191d22bc4c6d5287aa5ae9b74ce36c410d735e3 /crawl-ref/source/tiledgnbuf.cc
parentea85ad332ce1b06605242c3f7c3ababaaf7166da (diff)
downloadcrawl-ref-9b3039a3073899a58e1f422d7317ed143ddd24bb.tar.gz
crawl-ref-9b3039a3073899a58e1f422d7317ed143ddd24bb.zip
Icon tiles for corona and slow (#5803).
Signed-off-by: Raphael Langella <raphael.langella@gmail.com>
Diffstat (limited to 'crawl-ref/source/tiledgnbuf.cc')
-rw-r--r--crawl-ref/source/tiledgnbuf.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/crawl-ref/source/tiledgnbuf.cc b/crawl-ref/source/tiledgnbuf.cc
index 772d800ec8..9754992932 100644
--- a/crawl-ref/source/tiledgnbuf.cc
+++ b/crawl-ref/source/tiledgnbuf.cc
@@ -401,6 +401,19 @@ void DungeonCellBuffer::pack_foreground(int x, int y, const packed_cell &cell)
m_buf_icons.add(TILEI_CONSTRICTED, x, y, -status_shift, 0);
status_shift += 13;
}
+ if (fg & TILE_FLAG_GLOWING)
+ {
+ //if (!cell.halo)
+ // m_buf_feat.add(TILE_HALO, x, y);
+
+ m_buf_icons.add(TILEI_GLOWING, x, y, -status_shift, 0);
+ status_shift += 10;
+ }
+ if (fg & TILE_FLAG_SLOWED)
+ {
+ m_buf_icons.add(TILEI_SLOWED, x, y, -status_shift, 0);
+ status_shift += 13;
+ }
if (fg & TILE_FLAG_ANIM_WEP)
m_buf_icons.add(TILEI_ANIMATED_WEAPON, x, y);