summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-19 10:59:26 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-19 10:59:26 +0000
commitfae235b09c5fc363f998571caad3c6944576915e (patch)
tree165449a8670a68e426154c13e9fa406857ebecba /crawl-ref/source/tilepick.cc
parentbbb205e0b5f4c9a8ed70f842770e5ed46e7985c3 (diff)
downloadcrawl-ref-fae235b09c5fc363f998571caad3c6944576915e.tar.gz
crawl-ref-fae235b09c5fc363f998571caad3c6944576915e.zip
* Open Zot for good the first time you enter (with three runes or more).
* Add tiles for Zot entrance (both closed and open). * Apply zebez' patch 2823787 to make Magic Mapping show altars/gates. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10303 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r--crawl-ref/source/tilepick.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index f47f0a44de..800fb0f650 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -2448,7 +2448,6 @@ int tileidx_feature(int object, int gx, int gy)
case DNGN_ENTER_VAULTS:
case DNGN_ENTER_CRYPT:
case DNGN_ENTER_HALL_OF_BLADES:
- case DNGN_ENTER_ZOT:
case DNGN_ENTER_TEMPLE:
case DNGN_ENTER_SNAKE_PIT:
case DNGN_ENTER_ELVEN_HALLS:
@@ -2457,6 +2456,11 @@ int tileidx_feature(int object, int gx, int gy)
case DNGN_ENTER_SHOALS:
return TILE_DNGN_ENTER;
+ case DNGN_ENTER_ZOT:
+ if (you.opened_zot)
+ return TILE_DNGN_ENTER_ZOT_OPEN;
+ return TILE_DNGN_ENTER_ZOT_CLOSED;
+
case DNGN_RETURN_FROM_ORCISH_MINES:
case DNGN_RETURN_FROM_HIVE:
case DNGN_RETURN_FROM_LAIR:
@@ -2662,6 +2666,7 @@ void tileidx_unseen(unsigned int &fg, unsigned int &bg, int ch,
case '\\': fg = TILE_STAFF_OFFSET; break;
case '^': bg = TILE_DNGN_TRAP_ZOT; break;
case '_':
+ case 220:
case 131: fg = TILE_UNSEEN_ALTAR; break;
case '~': fg = TILE_UNSEEN_ITEM; break;
case '{':
@@ -2672,6 +2677,7 @@ void tileidx_unseen(unsigned int &fg, unsigned int &bg, int ch,
case 128: //old
case 254: bg = TILE_DNGN_CLOSED_DOOR; break;
case 129: bg = TILE_DNGN_RETURN; break;
+ case 239:
case 132: fg = TILE_UNSEEN_ENTRANCE; break;
case 136: bg = TILE_DNGN_ENTER; break;
case 141: bg = TILE_DNGN_LAVA; break;