diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-02-29 05:43:42 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-02-29 05:43:42 +0000 |
commit | 715a7c2424c17e701f6e2a612e6cae6361556adf (patch) | |
tree | 66d0f50fe59bb93549aa0872bbd01bd992feef68 /crawl-ref/source/tile2.cc | |
parent | 172527be65069465e9d7b75938178a9cdee60c7d (diff) | |
download | crawl-ref-715a7c2424c17e701f6e2a612e6cae6361556adf.tar.gz crawl-ref-715a7c2424c17e701f6e2a612e6cae6361556adf.zip |
Adding different art for staves and rods so that they no longer look identical.
Rearranging staff and rod art assets.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3478 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tile2.cc')
-rw-r--r-- | crawl-ref/source/tile2.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/crawl-ref/source/tile2.cc b/crawl-ref/source/tile2.cc index 52eca0f79a..109d2485b7 100644 --- a/crawl-ref/source/tile2.cc +++ b/crawl-ref/source/tile2.cc @@ -2272,7 +2272,7 @@ void TileInitItems() ImgCopyToTileImg(tile1, DollCacheImg, 0, 0, 1); } - for (int i = 0; i < NUM_STAVES; i++) + for (int i = 0; i < STAFF_SMITING; i++) { int special = you.item_description[IDESC_STAVES][i]; int tile0 = TILE_STAFF_OFFSET + (special / 4) % 10; @@ -2282,6 +2282,16 @@ void TileInitItems() ImgCopyFromTileImg(tile1, DollCacheImg, 0, 0, 0); ImgCopyToTileImg(tile1, DollCacheImg, 0, 0, 1); } + for (int i = STAFF_SMITING; i < NUM_STAVES; i++) + { + int special = you.item_description[IDESC_STAVES][i]; + int tile0 = TILE_ROD_OFFSET + (special / 4) % 10; + int tile1 = TILE_ROD_SMITING + i - STAFF_SMITING; + + ImgCopyFromTileImg(tile0, DollCacheImg, 0, 0, 1); + ImgCopyFromTileImg(tile1, DollCacheImg, 0, 0, 0); + ImgCopyToTileImg(tile1, DollCacheImg, 0, 0, 1); + } } // Monster weapon tile |