diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-24 15:26:17 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-24 15:26:17 +0000 |
commit | 8ae4d86eb6d28728923f687cdc9d57e305250fa2 (patch) | |
tree | 899e0e7b011535d27da555570d201493952625ea /crawl-ref/source/tilereg.cc | |
parent | 236b9abaaefcbff9904a84eb95646ff3a9a85ca5 (diff) | |
download | crawl-ref-8ae4d86eb6d28728923f687cdc9d57e305250fa2.tar.gz crawl-ref-8ae4d86eb6d28728923f687cdc9d57e305250fa2.zip |
Add a description to sewers (David) and replace the "melded" tile with
a grayish overlay, as suggested by Enne. The yellow background is now
free to be used by something else (main weapon, maybe, if that can be
derived somehow).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7587 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r-- | crawl-ref/source/tilereg.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc index 1b8dff3240..8e61aa842d 100644 --- a/crawl-ref/source/tilereg.cc +++ b/crawl-ref/source/tilereg.cc @@ -1274,14 +1274,12 @@ void InventoryRegion::pack_verts() add_quad(TEX_DEFAULT, TILE_ITEM_SLOT_EQUIP_CURSED, x, y); else add_quad(TEX_DEFAULT, TILE_ITEM_SLOT_EQUIP, x, y); - } - else - { + if (item.flag & TILEI_FLAG_MELDED) - add_quad(TEX_DEFAULT, TILE_ITEM_SLOT_MELDED, x, y); - if (item.flag & TILEI_FLAG_CURSE) - add_quad(TEX_DEFAULT, TILE_ITEM_SLOT_CURSED, x, y); + add_quad(TEX_DEFAULT, TILE_MESH, x, y); } + else if (item.flag & TILEI_FLAG_CURSE) + add_quad(TEX_DEFAULT, TILE_ITEM_SLOT_CURSED, x, y); // TODO enne - need better graphic here if (item.flag & TILEI_FLAG_SELECT) |