summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-26 03:22:54 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-26 03:22:54 +0000
commit47a9f623f76c9e9186b54b42d9d7ec0f683b469f (patch)
tree4402ab03f4d85024e6a082773e2f0258d2641d8b /crawl-ref/source/externs.h
parentd16ed1201876132b39d151da6877de997da67912 (diff)
downloadcrawl-ref-47a9f623f76c9e9186b54b42d9d7ec0f683b469f.tar.gz
crawl-ref-47a9f623f76c9e9186b54b42d9d7ec0f683b469f.zip
And generalize them a bit more.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4651 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index b9aa5700c5..27ca15cc87 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -149,7 +149,7 @@ public:
virtual void go_berserk(bool intentional) = 0;
virtual bool can_mutate() const = 0;
virtual bool can_safely_mutate() const = 0;
- virtual void mutate() = 0;
+ virtual bool mutate() = 0;
virtual int 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;
@@ -843,7 +843,7 @@ public:
void go_berserk(bool intentional);
bool can_mutate() const;
bool can_safely_mutate() const;
- void mutate();
+ bool mutate();
void banish(const std::string &who = "");
void blink();
void teleport(bool right_now = false, bool abyss_shift = false);
@@ -1167,7 +1167,7 @@ public:
void go_berserk(bool intentional);
bool can_mutate() const;
bool can_safely_mutate() const;
- void mutate();
+ bool mutate();
void banish(const std::string &who = "");
void expose_to_element(beam_type element, int strength = 0);
bool visible() const;