summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.h
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-05 01:33:53 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-05 01:33:53 +0000
commit62f7040f14b39e67042be98f951575fbc819e84e (patch)
treed4fa0598a1bee1d34fff81e2c150de08c2256753 /crawl-ref/source/item_use.h
parent19155f1f85058ef9d65d11e60c63cc69c36d4e8a (diff)
downloadcrawl-ref-62f7040f14b39e67042be98f951575fbc819e84e.tar.gz
crawl-ref-62f7040f14b39e67042be98f951575fbc819e84e.zip
Tiles!
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3194 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.h')
-rw-r--r--crawl-ref/source/item_use.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/crawl-ref/source/item_use.h b/crawl-ref/source/item_use.h
index e191c6833d..e4d09c72a3 100644
--- a/crawl-ref/source/item_use.h
+++ b/crawl-ref/source/item_use.h
@@ -64,7 +64,7 @@ bool takeoff_armour(int index);
/* ***********************************************************************
* called from: acr
* *********************************************************************** */
-void drink(void);
+void drink(int slot = -1);
bool elemental_missile_beam(int launcher_brand, int ammo_brand);
@@ -88,7 +88,7 @@ bool puton_ring(int slot = -1, bool prompt_finger = true);
/* ***********************************************************************
* called from: acr
* *********************************************************************** */
-void read_scroll(void);
+void read_scroll(int slot = -1);
// last updated 12may2000 {dlb}
@@ -111,14 +111,14 @@ void shoot_thing(void);
/* ***********************************************************************
* called from: acr
* *********************************************************************** */
-void throw_anything(void);
+void throw_anything(int slot = -1);
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: acr
* *********************************************************************** */
-void wear_armour( void );
+void wear_armour( int slot = -1 );
bool can_wear_armour(const item_def &item, bool verbose, bool ignore_temporary);
@@ -147,7 +147,7 @@ bool wield_weapon(bool auto_wield, int slot = -1, bool show_we_messages = true);
/* ***********************************************************************
* called from: acr
* *********************************************************************** */
-void zap_wand(void);
+void zap_wand(int slot = -1);
// last updated 15jan2001 {gdl}
@@ -184,4 +184,11 @@ int item_special_wield_effect(const item_def &item);
bool wearing_slot(int inv_slot);
+#ifdef USE_TILE
+/* ***********************************************************************
+ * * called from: acr
+ * * *********************************************************************** */
+void use_item(int idx, InvAction act);
+#endif
+
#endif