summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fineff.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-09-24 15:22:19 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-09-24 16:36:05 +0200
commitd2cc57c974fd2c9e6312ef388409a8be17628723 (patch)
treed618b99d640a5be2d3f825b6255419f60096c734 /crawl-ref/source/fineff.h
parentbf5801d2466472d670365a667d431ba472a9ec3a (diff)
downloadcrawl-ref-d2cc57c974fd2c9e6312ef388409a8be17628723.tar.gz
crawl-ref-d2cc57c974fd2c9e6312ef388409a8be17628723.zip
Turn "final effects" into a generic system. Fix water elec not working for monsters.
Diffstat (limited to 'crawl-ref/source/fineff.h')
-rw-r--r--crawl-ref/source/fineff.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/crawl-ref/source/fineff.h b/crawl-ref/source/fineff.h
new file mode 100644
index 0000000000..a50c28331d
--- /dev/null
+++ b/crawl-ref/source/fineff.h
@@ -0,0 +1,17 @@
+/*
+ * File: fineff.h
+ * Summary: Brand/ench/etc effects that might alter something in an
+ * unexpected way.
+ * Written by: Adam Borowski
+ */
+
+#ifndef FINEFF_H
+#define FINEFF_H
+
+void add_final_effect(final_effect_flavour flavour,
+ actor *attacker,
+ actor *defender,
+ coord_def pos);
+void fire_final_effects();
+
+#endif