summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-22 08:41:20 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-22 08:41:20 +0000
commit1d0f57cbceb778139ca215cc4fcfd1584951f6dd (patch)
treecafd60c944c51fcce778aa5d6912bc548c518339 /crawl-ref/source/item_use.h
parent6f5e187a9e5cd348296dba2fd89d2e206e775a01 (diff)
downloadcrawl-ref-1d0f57cbceb778139ca215cc4fcfd1584951f6dd.tar.gz
crawl-ref-1d0f57cbceb778139ca215cc4fcfd1584951f6dd.zip
Merged stone_soup r15:451 into trunk.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@452 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.h')
-rw-r--r--crawl-ref/source/item_use.h27
1 files changed, 22 insertions, 5 deletions
diff --git a/crawl-ref/source/item_use.h b/crawl-ref/source/item_use.h
index 87c8e31455..5f79db1476 100644
--- a/crawl-ref/source/item_use.h
+++ b/crawl-ref/source/item_use.h
@@ -3,6 +3,8 @@
* Summary: Functions for making use of inventory items.
* Written by: Linley Henzell
*
+ * Modified for Crawl Reference by $Author$ on $Date$
+ *
* Change History (most recent first):
*
* <2> 5/26/99 JDJ Exposed armour_prompt. takeoff_armour takes an index argument.
@@ -15,13 +17,16 @@
#include <string>
+#include "externs.h"
+#include "enum.h"
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: acr - item_use
* *********************************************************************** */
-bool armour_prompt(const std::string & mesg, int *index);
+bool armour_prompt(const std::string & mesg, int *index,
+ operation_types oper);
// last updated 12may2000 {dlb}
@@ -37,12 +42,13 @@ bool takeoff_armour(int index);
* *********************************************************************** */
void drink(void);
+bool elemental_missile_beam(int launcher_brand, int ammo_brand);
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: acr
* *********************************************************************** */
-void original_name(void);
+void examine_object(void);
// last updated 12may2000 {dlb}
@@ -63,7 +69,7 @@ void read_scroll(void);
/* ***********************************************************************
* called from: acr
* *********************************************************************** */
-bool remove_ring(int slot = -1);
+bool remove_ring(int slot = -1, bool announce = false);
// last updated 12may2000 {dlb}
@@ -98,7 +104,7 @@ struct item_def;
/* ***********************************************************************
* called from: food
* *********************************************************************** */
-bool can_wield(const item_def& weapon);
+bool can_wield(const item_def *weapon, bool say_why = false);
// last updated 12may2000 {dlb}
/* ***********************************************************************
@@ -125,9 +131,20 @@ 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(const item_def &item);
bool puton_item(int slot, bool prompt_finger = true);
-int armour_equip_slot(const item_def &item);
+bool enchant_weapon( int which_stat, bool quiet = false );
+
+bool throw_it(struct bolt &pbolt, int throw_2, monsters *dummy_target = NULL);
+
+void inscribe_item();
+int launcher_shield_slowdown(const item_def &launcher,
+ const item_def *shield);
+int launcher_final_speed(const item_def &launcher,
+ const item_def *shield);
+
+void warn_shield_penalties();
#endif