summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-other.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-08-21 22:34:02 +0200
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-08-21 22:34:02 +0200
commit62e9a08c1b25bf457cdb994671ecf12738ed0079 (patch)
tree609233387eeaa10012d59387bf49d5fa2a4541d7 /crawl-ref/source/spl-other.h
parent4d7739272daa59b755b5070e7bd58d800aa7d110 (diff)
downloadcrawl-ref-62e9a08c1b25bf457cdb994671ecf12738ed0079.tar.gz
crawl-ref-62e9a08c1b25bf457cdb994671ecf12738ed0079.zip
Move divine and item triggered "pseudo spells" into a new file.
Diffstat (limited to 'crawl-ref/source/spl-other.h')
-rw-r--r--crawl-ref/source/spl-other.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-other.h b/crawl-ref/source/spl-other.h
new file mode 100644
index 0000000000..b820738613
--- /dev/null
+++ b/crawl-ref/source/spl-other.h
@@ -0,0 +1,23 @@
+#ifndef SPL_OTHER_H
+#define SPL_OTHER_H
+
+void identify(int power, int item_slot = -1);
+int cast_healing(int pow, bool divine_ability = false,
+ const coord_def& where = coord_def(0, 0),
+ bool not_self = false, targ_mode_type mode = TARG_NUM_MODES);
+
+void antimagic();
+
+void cast_detect_secret_doors(int pow);
+int detect_traps(int pow);
+int detect_items(int pow);
+int detect_creatures(int pow, bool telepathic = false);
+bool remove_curse(bool suppress_msg);
+bool detect_curse(int scroll, bool suppress_msg);
+
+bool entomb(int pow);
+bool cast_imprison(int pow, monsters *monster, int source);
+
+bool cast_smiting(int power, const coord_def& where);
+
+#endif