summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fprop.cc
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-04-01 01:01:27 +0200
committerRaphael Langella <raphael.langella@gmail.com>2011-04-01 01:17:34 +0200
commit7465a6be7ab76ff69d3ffe90dde10bb0bfc29f06 (patch)
tree381a31b0ded406e10e9445cd18f096c44e0ef5fc /crawl-ref/source/fprop.cc
parent39458c9a80d3264cc601d30ac9916c62fd65b1da (diff)
downloadcrawl-ref-7465a6be7ab76ff69d3ffe90dde10bb0bfc29f06.tar.gz
crawl-ref-7465a6be7ab76ff69d3ffe90dde10bb0bfc29f06.zip
Rotate the wall blood splat tiles so they are facing the source.
The effect looks much better this way.
Diffstat (limited to 'crawl-ref/source/fprop.cc')
-rw-r--r--crawl-ref/source/fprop.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/fprop.cc b/crawl-ref/source/fprop.cc
index 5141e29cbd..db76bab710 100644
--- a/crawl-ref/source/fprop.cc
+++ b/crawl-ref/source/fprop.cc
@@ -74,3 +74,10 @@ feature_property_type str_to_fprop(const std::string &str)
return (FPROP_NONE);
}
+
+#ifdef USE_TILE
+char blood_rotation(const coord_def & p)
+{
+ return (env.pgrid(p) & FPROP_BLOOD_EAST) >> 16;
+}
+#endif