summaryrefslogtreecommitdiffstats
path: root/stone_soup/crawl-ref/source/it_use2.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-09-18 15:08:25 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-09-18 15:08:25 +0000
commita4d4f3ecccb29c3f5fc1ce55579119106c399911 (patch)
tree5677ea04b4dfdadd961c01ba3baf7502f8d6e0d0 /stone_soup/crawl-ref/source/it_use2.h
parent571501e1135989d3b9dc44e3d332562a7cf78b35 (diff)
downloadcrawl-ref-a4d4f3ecccb29c3f5fc1ce55579119106c399911.tar.gz
crawl-ref-a4d4f3ecccb29c3f5fc1ce55579119106c399911.zip
Updated stone_soup-0.1b1 tag to include fix for Poison Arrow of Doom.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/tags/stone_soup-0.1b1@49 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'stone_soup/crawl-ref/source/it_use2.h')
-rw-r--r--stone_soup/crawl-ref/source/it_use2.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/stone_soup/crawl-ref/source/it_use2.h b/stone_soup/crawl-ref/source/it_use2.h
new file mode 100644
index 0000000000..2177b4083b
--- /dev/null
+++ b/stone_soup/crawl-ref/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