From fae235b09c5fc363f998571caad3c6944576915e Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 19 Jul 2009 10:59:26 +0000 Subject: * 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 --- crawl-ref/source/tilepick.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/tilepick.cc') 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; -- cgit v1.2.3-54-g00ecf