diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-08 23:34:58 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-08 23:34:58 +0000 |
commit | f25770a09d5b82dedaf3cd21f93d797e4debf7cc (patch) | |
tree | 18d750e9b01be1fab2751d40ad2794157200fe24 /crawl-ref/source/externs.h | |
parent | 65fe4389269de4c14c9b9adbc6ef0308f2059dbd (diff) | |
download | crawl-ref-f25770a09d5b82dedaf3cd21f93d797e4debf7cc.tar.gz crawl-ref-f25770a09d5b82dedaf3cd21f93d797e4debf7cc.zip |
Clean up rotting routines again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8341 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index ea5e82a2e2..1956e6bd76 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -334,7 +334,7 @@ public: virtual bool can_mutate() const = 0; virtual bool can_safely_mutate() const = 0; virtual bool mutate() = 0; - virtual void rot(actor *attacker, int rotlevel, int immed_rot) = 0; + virtual void rot(actor *agent, int amount, int immediate = 0) = 0; virtual int hurt(const actor *attacker, int amount, beam_type flavour = BEAM_MISSILE, bool cleanup_dead = true) = 0; @@ -1071,7 +1071,7 @@ public: void slow_down(actor *, int str); void confuse(actor *, int strength); void heal(int amount, bool max_too = false); - void rot(actor *attacker, int rotlevel, int immed_rot); + void rot(actor *, int amount, int immediate = 0); int hurt(const actor *attacker, int amount, beam_type flavour = BEAM_MISSILE, bool cleanup_dead = true); @@ -1499,7 +1499,7 @@ public: void petrify(actor *, int str); void slow_down(actor *, int str); void confuse(actor *, int strength); - void rot(actor *, int rotlevel, int immed_rot); + void rot(actor *, int amount, int immediate = 0); int hurt(const actor *attacker, int amount, beam_type flavour = BEAM_MISSILE, bool cleanup_dead = true); |