summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-11 14:14:10 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-11 14:14:10 +0000
commit18dac1924da21380570eb193e6a363e0c813c9de (patch)
treedd9659e0a9a5b3127d4736aa3ca6b411ce9f2d90 /crawl-ref/source/externs.h
parentf95c27c96c4fa900e334d269619503410b5d1f78 (diff)
downloadcrawl-ref-18dac1924da21380570eb193e6a363e0c813c9de.tar.gz
crawl-ref-18dac1924da21380570eb193e6a363e0c813c9de.zip
Merged trunk fixes back to 0.2:
- Moth of wrath rage attack. - Pulsating lump mutation attack. - Combat messages for out-of-view monsters fighting monsters in LOS. - Waypoint deletion. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.2@1449 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index 004cc278c4..facb80e54f 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -142,7 +142,10 @@ public:
// (statues have only indirect attacks).
virtual bool cannot_fight() const = 0;
virtual void attacking(actor *other) = 0;
+ virtual bool can_go_berserk() const = 0;
+ virtual bool is_icy() const = 0;
virtual void go_berserk(bool intentional) = 0;
+ virtual void mutate() = 0;
virtual void hurt(const actor *attacker, int amount) = 0;
virtual void heal(int amount, bool max_too = false) = 0;
virtual void banish(const std::string &who = "") = 0;
@@ -711,6 +714,7 @@ public:
bool can_swim() const;
bool is_levitating() const;
bool cannot_speak() const;
+ bool is_icy() const;
kill_category kill_alignment() const;
@@ -746,7 +750,10 @@ public:
bool cannot_fight() const;
void attacking(actor *other);
+ bool can_go_berserk() const;
+ bool can_go_berserk(bool verbose) const;
void go_berserk(bool intentional);
+ void mutate();
void banish(const std::string &who = "");
void blink();
void teleport(bool right_now = false, bool abyss_shift = false);
@@ -963,7 +970,9 @@ public:
int skill(skill_type skill, bool skill_bump = false) const;
void attacking(actor *other);
+ bool can_go_berserk() const;
void go_berserk(bool intentional);
+ void mutate();
void banish(const std::string &who = "");
void expose_to_element(beam_type element, int strength = 0);
bool visible() const;
@@ -979,6 +988,7 @@ public:
int levitates() const;
+ bool is_icy() const;
bool paralysed() const;
bool confused() const;
bool asleep() const;