diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-08 20:08:53 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-08 20:08:53 +0000 |
commit | 95d587c3feda35ad847d676165aa9e9a6c67bfb4 (patch) | |
tree | f62bf3770b9958bcd590466184a7386361a27b33 /crawl-ref/source/externs.h | |
parent | 9da9f88dfcd5bbbc28cd41b33bdee86f05183398 (diff) | |
download | crawl-ref-95d587c3feda35ad847d676165aa9e9a6c67bfb4.tar.gz crawl-ref-95d587c3feda35ad847d676165aa9e9a6c67bfb4.zip |
Orc knights and warlords can yell battle-cries to make lesser orcs fight better.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2387 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index 194e9dba55..f94cdd07f6 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -113,8 +113,8 @@ public: virtual bool can_go_berserk() const = 0; virtual bool can_see_invisible() const = 0; virtual bool invisible() const = 0; - virtual bool visible_to(actor *looker) = 0; - virtual bool can_see(actor *target) = 0; + virtual bool visible_to(const actor *looker) const = 0; + virtual bool can_see(const actor *target) const = 0; virtual bool is_icy() const = 0; virtual void go_berserk(bool intentional) = 0; virtual void mutate() = 0; @@ -714,8 +714,8 @@ public: bool cannot_speak() const; bool invisible() const; bool can_see_invisible() const; - bool visible_to(actor *looker); - bool can_see(actor *target); + bool visible_to(const actor *looker) const; + bool can_see(const actor *target) const; bool is_icy() const; bool light_flight() const; @@ -1072,8 +1072,8 @@ public: bool is_levitating() const; bool invisible() const; bool can_see_invisible() const; - bool visible_to(actor *looker); - bool can_see(actor *target); + bool visible_to(const actor *looker) const ; + bool can_see(const actor *target) const; bool is_icy() const; bool paralysed() const; bool confused() const; |