diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-21 16:07:05 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-22 22:37:07 +0200 |
commit | ed4a22bce4db2328e945840901176b49d4b573e7 (patch) | |
tree | 3ad9ac52b5b24dca8dd5317e7b7468d11c09db58 /crawl-ref/source/actor.h | |
parent | 07ef1ffe1ce0431004b79ede171f3f6bfa16549f (diff) | |
download | crawl-ref-ed4a22bce4db2328e945840901176b49d4b573e7.tar.gz crawl-ref-ed4a22bce4db2328e945840901176b49d4b573e7.zip |
Introduce actor::see_cell.
Implemented using the existing LOS functions for now. In particular,
monster-monster visibility still uses num_feats_between.
Diffstat (limited to 'crawl-ref/source/actor.h')
-rw-r--r-- | crawl-ref/source/actor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h index a760742786..f8ff1ad599 100644 --- a/crawl-ref/source/actor.h +++ b/crawl-ref/source/actor.h @@ -102,6 +102,7 @@ public: virtual bool can_see_invisible() const = 0; virtual bool invisible() const = 0; virtual bool visible_to(const actor *looker) const = 0; + virtual bool see_cell(const coord_def &c) const = 0; virtual bool can_see(const actor *target) const = 0; virtual bool is_icy() const = 0; virtual bool is_fiery() const = 0; |