summaryrefslogtreecommitdiff
path: root/src/corrupt.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:59 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:59 +0100
commit3577729037709acd5d2105665134ec27a64bc4c3 (patch)
tree29a8c3beef42e302174d44895e0dfff1e066ae5e /src/corrupt.hpp
parent9670b948b8d1974ae3ec8212eec1773908c345c5 (diff)
Move corrupt.cc function declarations to separate header
Diffstat (limited to 'src/corrupt.hpp')
-rw-r--r--src/corrupt.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/corrupt.hpp b/src/corrupt.hpp
new file mode 100644
index 00000000..d5568f2f
--- /dev/null
+++ b/src/corrupt.hpp
@@ -0,0 +1,8 @@
+#include "angband.h"
+
+extern void gain_random_corruption();
+extern void dump_corruptions(FILE *OutFile, bool_ color, bool_ header);
+extern void lose_corruption();
+extern bool_ player_has_corruption(int corruption_idx);
+extern void player_gain_corruption(int corruption_idx);
+extern s16b get_corruption_power(int corruption_idx);