From 673bdae75485d14f759af597c3c62b99601f9a43 Mon Sep 17 00:00:00 2001 From: peterb12 Date: Thu, 21 Jul 2005 02:34:44 +0000 Subject: Initial revision git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3 c06c8d41-db1a-0410-9941-cceddc491573 --- trunk/source/it_use2.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 trunk/source/it_use2.h (limited to 'trunk/source/it_use2.h') diff --git a/trunk/source/it_use2.h b/trunk/source/it_use2.h new file mode 100644 index 0000000000..2177b4083b --- /dev/null +++ b/trunk/source/it_use2.h @@ -0,0 +1,43 @@ +/* + * File: it_use2.cc + * Summary: Functions for using wands, potions, and weapon/armour removal. + * Written by: Linley Henzell + * + * Change History (most recent first): + * + * <1> -/--/-- LRH Created + */ + + +#ifndef IT_USE2_H +#define IT_USE2_H + + +#include "externs.h" + + +/* *********************************************************************** + * called from: ability - beam - decks - item_use - misc - religion - + * spell - spells - spells1 + * *********************************************************************** */ +bool potion_effect(char pot_eff, int pow); + + +/* *********************************************************************** + * called from: item_use + * *********************************************************************** */ +void unuse_randart(unsigned char unw); + + +/* *********************************************************************** + * called from: item_use - transfor + * *********************************************************************** */ +void unwear_armour(char unw); + + +/* *********************************************************************** + * called from: decks - it_use3 - item_use - items - spells3 - transfor + * *********************************************************************** */ +void unwield_item(char unw); + +#endif -- cgit v1.2.3-54-g00ecf