diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-12-11 17:06:46 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-12-11 17:06:46 +0100 |
commit | d09b4f16275a05d49ed29aef992ecb85212f287c (patch) | |
tree | ce744de21bb6e49405ba2b44d62bb28517071bf8 /crawl-ref/source/losglobal.h | |
parent | 00c8f8cc5f9aa9d7904908fa6590781b75220898 (diff) | |
download | crawl-ref-d09b4f16275a05d49ed29aef992ecb85212f287c.tar.gz crawl-ref-d09b4f16275a05d49ed29aef992ecb85212f287c.zip |
Disambiguate the LOS_SOLID confusion.
Its name suggests it's about line of effect, while in fact it's both effect
and sight. Thus, I've split its uses into LOS_SOLID and LOS_SOLID_SEE -- the
former is what LOS_SOLID was usually understood to mean, the latter is what it
actually was (being targettable with an arrow/beam).
The difference is: LOS_SOLID_SEE obeys clouds.
The name of the latter is abysmal -- if you have a better idea, please sed.
Diffstat (limited to 'crawl-ref/source/losglobal.h')
-rw-r--r-- | crawl-ref/source/losglobal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/losglobal.h b/crawl-ref/source/losglobal.h index 18636da218..69b0ccdb47 100644 --- a/crawl-ref/source/losglobal.h +++ b/crawl-ref/source/losglobal.h @@ -7,6 +7,7 @@ enum los_type LOS_DEFAULT = (1 << 0), LOS_NO_TRANS = (1 << 1), LOS_SOLID = (1 << 2), + LOS_SOLID_SEE = (1 << 3), }; void invalidate_los_around(const coord_def& p); |