summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-09 18:49:14 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-09 18:49:14 +0000
commit31ecf11f2b7ff57426fb26fce5e3e63444e743c3 (patch)
treeb1b833eea1ac7f74044df506716ef65468127945 /crawl-ref/source/tilereg.cc
parent8387025f9dbca1c317d332b8e17661d55d5928bb (diff)
downloadcrawl-ref-31ecf11f2b7ff57426fb26fce5e3e63444e743c3.tar.gz
crawl-ref-31ecf11f2b7ff57426fb26fce5e3e63444e743c3.zip
* Add tile for Nergalle, who's actually not all that ugly but apparently
has a really bad fashion sense. * Add a sticky flame marker for monsters. * Replace the trapdoor spider tile with a less original, but nicer one. * Improve shopping interface: replace "examine item" command with a toggle between browsing and shopping. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9397 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r--crawl-ref/source/tilereg.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc
index d818875395..b099a360db 100644
--- a/crawl-ref/source/tilereg.cc
+++ b/crawl-ref/source/tilereg.cc
@@ -471,9 +471,7 @@ void DungeonRegion::pack_mcache(mcache_entry *entry, int x, int y)
ASSERT(draw_info_count <= sizeof(dinfo) / (sizeof(dinfo[0])));
for (unsigned int i = 0; i < draw_info_count; i++)
- {
m_buf_doll.add(dinfo[i].idx, x, y, dinfo[i].ofs_x, dinfo[i].ofs_y);
- }
}
void DungeonRegion::pack_foreground(unsigned int bg, unsigned int fg, int x, int y)
@@ -534,6 +532,11 @@ void DungeonRegion::pack_foreground(unsigned int bg, unsigned int fg, int x, int
m_buf_main.add(TILE_POISON, x, y, -status_shift, 0);
status_shift += 5;
}
+ if (fg & TILE_FLAG_FLAME)
+ {
+ m_buf_main.add(TILE_FLAME, x, y, -status_shift, 0);
+ status_shift += 5;
+ }
if (fg & TILE_FLAG_ANIM_WEP)
{