diff options
Diffstat (limited to 'crawl-ref/source/item_use.h')
-rw-r--r-- | crawl-ref/source/item_use.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/crawl-ref/source/item_use.h b/crawl-ref/source/item_use.h index cc514d17d1..b3c5063cfe 100644 --- a/crawl-ref/source/item_use.h +++ b/crawl-ref/source/item_use.h @@ -20,12 +20,6 @@ #include "externs.h" #include "enum.h" -enum enchant_stat_type -{ - ENCHANT_TO_HIT, - ENCHANT_TO_DAM -}; - enum fire_type { FIRE_NONE = 0x0000, @@ -68,8 +62,6 @@ void drink(void); bool elemental_missile_beam(int launcher_brand, int ammo_brand); -bool safe_to_remove_or_wear(const item_def &item, bool remove); - // last updated 12may2000 {dlb} /* *********************************************************************** * called from: acr @@ -161,11 +153,11 @@ void wield_effects(int item_wield_2, bool showMsgs); * called from: delay.cc item_use.cc it_use2.cc * *********************************************************************** */ void use_randart( unsigned char item_wield_2 ); -void use_randart(item_def &item); +void use_randart(const item_def &item); bool puton_item(int slot, bool prompt_finger = true); -bool enchant_weapon( enchant_stat_type which_stat, bool quiet = false ); +bool enchant_weapon( int which_stat, bool quiet = false ); bool throw_it(bolt &pbolt, int throw_2, bool teleport=false, int acc_bonus=0, dist *target = NULL); |