summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/potion.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-03-04 12:56:08 +0100
committerAdam Borowski <kilobyte@angband.pl>2011-03-04 12:56:08 +0100
commitde1f5ff29381188bef1187ab35b9ec743c1ae19a (patch)
tree5bf2b0fe8a4278ebac40327a5d12cf1f3cba9e12 /crawl-ref/source/potion.h
parent1a0e9acfc080559796fcfb73985ea688cb535d37 (diff)
downloadcrawl-ref-de1f5ff29381188bef1187ab35b9ec743c1ae19a.tar.gz
crawl-ref-de1f5ff29381188bef1187ab35b9ec743c1ae19a.zip
Rename it_use2.cc to potion.cc, since this is what it is.
Diffstat (limited to 'crawl-ref/source/potion.h')
-rw-r--r--crawl-ref/source/potion.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/crawl-ref/source/potion.h b/crawl-ref/source/potion.h
new file mode 100644
index 0000000000..94ea798fa4
--- /dev/null
+++ b/crawl-ref/source/potion.h
@@ -0,0 +1,18 @@
+/*
+ * File: potion.h
+ * Summary: Potion and potion-like effects.
+ * Written by: Linley Henzell
+ */
+
+#ifndef IT_USE2_H
+#define IT_USE2_H
+
+
+#include "externs.h"
+
+// drank_it should be true for real potion effects (as opposed
+// to abilities which duplicate such effects.)
+bool potion_effect(potion_type pot_eff, int pow,
+ bool drank_it = false, bool was_known = true);
+
+#endif