From 62f7040f14b39e67042be98f951575fbc819e84e Mon Sep 17 00:00:00 2001 From: ennewalker Date: Sat, 5 Jan 2008 01:33:53 +0000 Subject: Tiles! git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3194 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/item_use.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/item_use.h') 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 -- cgit v1.2.3-54-g00ecf