summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/losparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/losparam.h')
-rw-r--r--crawl-ref/source/losparam.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/crawl-ref/source/losparam.h b/crawl-ref/source/losparam.h
index 31a7f4bc1a..6d770428e1 100644
--- a/crawl-ref/source/losparam.h
+++ b/crawl-ref/source/losparam.h
@@ -49,8 +49,16 @@ struct opacity_fullyopaque : opacity_func
};
static opacity_fullyopaque opc_fullyopaque;
+// Make transparent walls block in addition to normal LOS.
+struct opacity_no_trans : opacity_func
+{
+ CLONE(opacity_no_trans)
+
+ opacity_type operator()(const coord_def& p) const;
+};
+static opacity_no_trans opc_no_trans;
+
// Make anything solid block in addition to normal LOS.
-// XXX: Are trees, bushes solid?
struct opacity_solid : opacity_func
{
CLONE(opacity_solid)