diff options
Diffstat (limited to 'crawl-ref/source/losparam.h')
-rw-r--r-- | crawl-ref/source/losparam.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/losparam.h b/crawl-ref/source/losparam.h index 15f1cc860a..db88db38d3 100644 --- a/crawl-ref/source/losparam.h +++ b/crawl-ref/source/losparam.h @@ -66,6 +66,15 @@ struct los_param_base : los_param_trans opacity_type opacity(const coord_def& p) const; }; +// Like los_param_base, but any solid object blocks. +// This includes clear walls and statues. +struct los_param_solid : los_param_base +{ + los_param_solid(const coord_def& c); + + opacity_type opacity(const coord_def& p) const; +}; + // Provides a compatible set of parameters for use with the // legacy losight() function. struct los_param_compat : los_param_base |