diff options
author | abrahamwl <abrahamwl@gmail.com> | 2009-10-31 08:39:53 -0700 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-31 17:31:05 +0100 |
commit | 09687dbfa8bc4df93dd243e4c291a1fad58f7470 (patch) | |
tree | ce71ea575914510913a171a68b295197d7b7376f /crawl-ref/source/mon-util.h | |
parent | c1d8dc0f1c7cfa48c46d7fe34c558a1d8f0ff586 (diff) | |
download | crawl-ref-09687dbfa8bc4df93dd243e4c291a1fad58f7470.tar.gz crawl-ref-09687dbfa8bc4df93dd243e4c291a1fad58f7470.zip |
Combine mons_res_foo(monsters *m) into monsters::res_foo()
...and replace all references to mons_res_foo() with res_foo(). Where "foo"
is one of the many different things monsters can resist that happened to
have a function of that format.
TGfR! (Thank God for Regex!)
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r-- | crawl-ref/source/mon-util.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index b06517207c..e5bfa0f84d 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -219,7 +219,7 @@ enum mon_resist_flags // resistances // Notes: - // - negative energy is mostly handled via mons_res_negative_energy() + // - negative energy is mostly handled via monsters::res_negative_energy() MR_RES_ELEC = (1<< 0), MR_RES_POISON = (1<< 1), MR_RES_FIRE = (1<< 2), @@ -611,18 +611,6 @@ habitat_type mons_secondary_habitat(const monsters *mon); bool intelligent_ally(const monsters *mon); -int mons_res_cold(const monsters *mon); -int mons_res_elec(const monsters *mon); -int mons_res_fire(const monsters *mon); -int mons_res_steam(const monsters *mon); -int mons_res_poison(const monsters *mon); -int mons_res_asphyx(const monsters *mon); -int mons_res_sticky_flame(const monsters *mon); -int mons_res_rotting(const monsters *mon); -int mons_res_acid(const monsters *mon); -int mons_res_negative_energy(const monsters *mon); - - // last updated 12may2000 {dlb} /* *********************************************************************** * called from: dungeon - items - spells2 - spells4 |