summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.h
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-03 10:17:43 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-03 10:19:23 +0100
commite65199ef20df7201e5cb1a87e3e0fffdfd13523d (patch)
tree06cf6b7ef5f2e7b83b724c63b8f33ca6d65795d3 /crawl-ref/source/item_use.h
parent2fbd97bae9a937f03643ad0dc579f0595e42497f (diff)
downloadcrawl-ref-e65199ef20df7201e5cb1a87e3e0fffdfd13523d.tar.gz
crawl-ref-e65199ef20df7201e5cb1a87e3e0fffdfd13523d.zip
Remove "called from:" comments.
These were of questionable use and freshness. Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
Diffstat (limited to 'crawl-ref/source/item_use.h')
-rw-r--r--crawl-ref/source/item_use.h69
1 files changed, 1 insertions, 68 deletions
diff --git a/crawl-ref/source/item_use.h b/crawl-ref/source/item_use.h
index 9fbd48605f..cc8522b76a 100644
--- a/crawl-ref/source/item_use.h
+++ b/crawl-ref/source/item_use.h
@@ -41,24 +41,10 @@ enum fire_type
struct bolt;
struct dist;
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: acr - item_use
- * *********************************************************************** */
bool armour_prompt(const std::string & mesg, int *index, operation_types oper);
-
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: acr - item_use - items
- * *********************************************************************** */
bool takeoff_armour(int index);
-
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: acr
- * *********************************************************************** */
void drink(int slot = -1);
bool elemental_missile_beam(int launcher_brand, int ammo_brand);
@@ -66,95 +52,42 @@ bool elemental_missile_beam(int launcher_brand, int ammo_brand);
bool safe_to_remove_or_wear(const item_def &item, bool remove,
bool quiet = false);
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: acr
- * *********************************************************************** */
void examine_object(void);
-
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: acr
- * *********************************************************************** */
bool puton_ring(int slot = -1);
void jewellery_remove_effects(item_def &item, bool mesg = true);
-// called from: transfor
void jewellery_wear_effects(item_def &item);
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: acr
- * *********************************************************************** */
void read_scroll(int slot = -1);
-
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: acr
- * *********************************************************************** */
bool remove_ring(int slot = -1, bool announce = false);
-
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: acr
- * *********************************************************************** */
bool item_is_quivered(const item_def &item);
int get_next_fire_item(int current, int offset);
int get_ammo_to_shoot(int item, dist &target, bool teleport = false);
void fire_thing(int item = -1);
void throw_item_no_quiver(void);
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: acr
- * *********************************************************************** */
void wear_armour(int slot = -1);
bool can_wear_armour(const item_def &item, bool verbose, bool ignore_temporary);
-// last updated 10Sept2001 {bwr}
-/* ***********************************************************************
- * called from: acr
- * *********************************************************************** */
bool do_wear_armour(int item, bool quiet);
struct item_def;
-// last updated 30May2003 {ds}
-/* ***********************************************************************
- * called from: food
- * *********************************************************************** */
+
bool can_wield(item_def *weapon, bool say_why = false,
bool ignore_temporary_disability = false);
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: acr
- * *********************************************************************** */
bool wield_weapon(bool auto_wield, int slot = -1,
bool show_weff_messages = true, bool force = false,
bool show_unwield_msg = true);
-
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: acr
- * *********************************************************************** */
void zap_wand(int slot = -1);
-
-// last updated 15jan2001 {gdl}
-/* ***********************************************************************
- * called from: item_use food
- * *********************************************************************** */
void wield_effects(int item_wield_2, bool showMsgs);
-// last updated 10sept2001 {bwr}
-/* ***********************************************************************
- * called from: delay.cc item_use.cc it_use2.cc
- * *********************************************************************** */
void use_artefact( unsigned char item_wield_2, bool *show_msgs = NULL);
void use_artefact(item_def &item, bool *show_msgs = NULL, bool unmeld = false);