diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-28 13:38:21 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-28 13:38:21 +0000 |
commit | e4225e7cbb5c646c9683c803bdf65e664ed5ddb4 (patch) | |
tree | fa1fc49d163890c2973aa9d3d476a03086accce4 /crawl-ref/source/spells4.cc | |
parent | 5e30a58c2a52829953836c683789ea8009532c0d (diff) | |
download | crawl-ref-e4225e7cbb5c646c9683c803bdf65e664ed5ddb4.tar.gz crawl-ref-e4225e7cbb5c646c9683c803bdf65e664ed5ddb4.zip |
Remove more unused static functions.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9277 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r-- | crawl-ref/source/spells4.cc | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index c8f4db1e45..2f970a3fe7 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -65,8 +65,6 @@ enum DEBRIS // jmf: add for shatter, dig, and Giants to throw NUM_DEBRIS }; // jmf: ...and I'll actually implement the items Real Soon Now... -static int _make_a_rot_cloud(const coord_def& where, int pow, cloud_type ctype); - // Just to avoid typing this over and over. // Returns true if monster died. -- bwr static bool _player_hurt_monster(monsters& m, int damage) @@ -90,12 +88,6 @@ static bool _player_hurt_monster(monsters& m, int damage) return (false); } -static bool _player_hurt_monster(int monster, int damage) -{ - ASSERT( !invalid_monster_index(monster) ); - return _player_hurt_monster(menv[monster], damage); -} - // Here begin the actual spells: static int _shatter_monsters(coord_def where, int pow, int, actor *) { @@ -887,29 +879,6 @@ void cast_dispersal(int pow) mpr("The air shimmers briefly around you."); } -static int _make_a_rot_cloud(const coord_def& where, int pow, cloud_type ctype) -{ - for (stack_iterator si(where); si; ++si) - { - if (si->base_type == OBJ_CORPSES && si->sub_type == CORPSE_BODY) - { - // Found a corpse. Skeletonise it if possible. - if (!mons_skeleton(si->plus)) - destroy_item(si->index()); - else - turn_corpse_into_skeleton(*si); - - place_cloud(ctype, where, - (3 + random2(pow / 4) + random2(pow / 4) - + random2(pow / 4)), - KC_YOU); - return (1); - } - } - - return (0); -} - int make_a_normal_cloud(coord_def where, int pow, int spread_rate, cloud_type ctype, kill_category whose, killer_type killer) |