summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.h')
-rw-r--r--crawl-ref/source/spells3.h142
1 files changed, 142 insertions, 0 deletions
diff --git a/crawl-ref/source/spells3.h b/crawl-ref/source/spells3.h
new file mode 100644
index 0000000000..5b10dd3026
--- /dev/null
+++ b/crawl-ref/source/spells3.h
@@ -0,0 +1,142 @@
+/*
+ * File: spells3.cc
+ * Summary: Implementations of some additional spells.
+ * Written by: Linley Henzell
+ *
+ * Change History (most recent first):
+ *
+ * <1> -/--/-- LRH Created
+ */
+
+
+#ifndef SPELLS3_H
+#define SPELLS3_H
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: spells1 - spells3
+ * *********************************************************************** */
+bool allow_control_teleport( bool silent = false );
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: spell
+ * *********************************************************************** */
+bool airstrike(int power);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: spell
+ * *********************************************************************** */
+bool cast_bone_shards(int power);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: spell - spells1
+ * *********************************************************************** */
+bool cast_death_channel(int power);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: spell
+ * *********************************************************************** */
+void cast_poison_ammo(void);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: ability - spell
+ * *********************************************************************** */
+void cast_selective_amnesia(bool force);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: ability - spell
+ * *********************************************************************** */
+bool cast_smiting(int power);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: spell
+ * *********************************************************************** */
+bool project_noise(void);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: religion - spell
+ * *********************************************************************** */
+void dancing_weapon(int pow, bool force_hostile);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: item_use - spell
+ * *********************************************************************** */
+bool detect_curse(bool suppress_msg);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: decks - spell
+ * *********************************************************************** */
+bool entomb(void);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: spell
+ * *********************************************************************** */
+void portal(void);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: ability - spell
+ * *********************************************************************** */
+bool recall(char type_recalled);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: item_use - spell
+ * *********************************************************************** */
+bool remove_curse(bool suppress_msg);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: spell
+ * *********************************************************************** */
+void sublimation(int power);
+
+
+// updated Oct 2 -- bwr
+/* ***********************************************************************
+ * called from: spell
+ * *********************************************************************** */
+void simulacrum(int power);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: ability - beam - decks - fight - item_use - spell
+ * *********************************************************************** */
+void you_teleport(void);
+
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: ability - acr - decks - effects - fight - misc - spells
+ * *********************************************************************** */
+void you_teleport2( bool allow_control, bool new_abyss_area = false );
+
+
+#endif