From e65199ef20df7201e5cb1a87e3e0fffdfd13523d Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Tue, 3 Nov 2009 10:17:43 +0100 Subject: Remove "called from:" comments. These were of questionable use and freshness. Signed-off-by: Robert Vollmert --- crawl-ref/source/effects.h | 53 ---------------------------------------------- 1 file changed, 53 deletions(-) (limited to 'crawl-ref/source/effects.h') diff --git a/crawl-ref/source/effects.h b/crawl-ref/source/effects.h index c28ec1eb7f..fe13baee0f 100644 --- a/crawl-ref/source/effects.h +++ b/crawl-ref/source/effects.h @@ -16,26 +16,10 @@ struct bolt; class monsters; struct item_def; - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: ability - acr - beam - decks - fight - religion - spells - * *********************************************************************** */ void banished(dungeon_feature_type gate_type, const std::string &who = ""); - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: spells - * *********************************************************************** */ bool forget_spell(void); - -// last updated 24may2000 {dlb} -/* *********************************************************************** - * called from: fight - it_use2 - it_use3 - items - religion - spells - - * spells2 - spells4 - * *********************************************************************** */ bool lose_stat(unsigned char which_stat, unsigned char stat_loss, bool force = false, const std::string cause = "", bool see_source = true); @@ -47,7 +31,6 @@ bool lose_stat(unsigned char which_stat, unsigned char stat_loss, bool lose_stat(unsigned char which_stat, unsigned char stat_loss, const item_def &cause, bool removed, bool force = false); -// called from spells2 -cao int mushroom_prob(item_def & corpse); bool mushroom_spawn_message(int seen_targets, int seen_corpses); @@ -71,18 +54,8 @@ int place_ring(std::vector & ring_points, void collect_radius_points(std::vector > &radius_points, coord_def & origin, env_show_grid & losgrid); - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: item_use - spell - spells - * *********************************************************************** */ void random_uselessness(int scroll_slot = -1); - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: acr - decks - item_use - religion - * *********************************************************************** */ bool acquirement(object_class_type force_class, int agent, bool quiet = false, int *item_index = NULL); @@ -91,31 +64,12 @@ int acquirement_create_item(object_class_type class_wanted, bool quiet, const coord_def &pos); -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: item_use - * *********************************************************************** */ bool recharge_wand(const int item_slot = -1); - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: mon-cast - * *********************************************************************** */ void direct_effect(monsters *src, spell_type spl, bolt &pbolt, actor *defender); - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: acr - * *********************************************************************** */ void yell(bool force = false); - -// last updated 24may2000 {dlb} -/* *********************************************************************** - * called from: item_use - spell - * *********************************************************************** */ int holy_word(int pow, int caster, const coord_def& where, bool silent = false, actor *attacker = NULL); @@ -123,12 +77,6 @@ int holy_word_player(int pow, int caster, actor *attacker = NULL); int holy_word_monsters(coord_def where, int pow, int caster, actor *attacker = NULL); - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: ability - decks - fight - it_use3 - item_use - mon-abil - - * mon-cast - mon-util - spell - * *********************************************************************** */ int torment(int caster, const coord_def& where); int torment_player(int pow, int caster); @@ -143,7 +91,6 @@ void conduct_electricity(coord_def where, actor *attacker); void cleansing_flame(int pow, int caster, coord_def where, actor *attacker = NULL); -// called from: debug void change_labyrinth(bool msg = false); bool forget_inventory(bool quiet = false); -- cgit v1.2.3-54-g00ecf