summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiledgnbuf.cc
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2012-04-02 01:21:29 +0200
committerRaphael Langella <raphael.langella@gmail.com>2012-04-02 01:27:03 +0200
commitafbd131893d734b9347fdc3bbf2243d9221ab899 (patch)
tree136682642b28268cadcf9a09fee406b1571da22e /crawl-ref/source/tiledgnbuf.cc
parenta2490edb855b33f6603850abc3eea61fbc69732a (diff)
downloadcrawl-ref-afbd131893d734b9347fdc3bbf2243d9221ab899.tar.gz
crawl-ref-afbd131893d734b9347fdc3bbf2243d9221ab899.zip
New blood splat tiles (omndra #4612).
Improved colouring and transparency. Consistency with corpse blood colour. More variety of shapes. Some wall bloods have inscriptions. Those ones will only be used on level generation and only on south facing walls, because rotated inscriptions are not so hot. And they are rare.
Diffstat (limited to 'crawl-ref/source/tiledgnbuf.cc')
-rw-r--r--crawl-ref/source/tiledgnbuf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tiledgnbuf.cc b/crawl-ref/source/tiledgnbuf.cc
index 4b34a71810..5ac12e0152 100644
--- a/crawl-ref/source/tiledgnbuf.cc
+++ b/crawl-ref/source/tiledgnbuf.cc
@@ -190,8 +190,8 @@ void DungeonCellBuffer::add_blood_overlay(int x, int y, const packed_cell &cell,
tileidx_t basetile;
if (is_wall)
{
- basetile = TILE_WALL_BLOOD_S + tile_dngn_count(TILE_WALL_BLOOD_S)
- * cell.blood_rotation;
+ basetile = cell.old_blood ? TILE_WALL_OLD_BLOOD : TILE_WALL_BLOOD_S;
+ basetile += tile_dngn_count(basetile) * cell.blood_rotation;
}
else
basetile = TILE_BLOOD;