summaryrefslogtreecommitdiff
path: root/src/variable.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-05 23:42:13 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-07 15:28:26 +0200
commit62e385cb769000cfefa052b1ab3e155314e7ac37 (patch)
treea3f9acc5147789393128df51dadd0599c4aacb5e /src/variable.c
parenta9b597979d99a53c56d2fa5b8498834364fef7a9 (diff)
Lua: Move HOOK_CALC_BONUS corruption code to C
Diffstat (limited to 'src/variable.c')
-rw-r--r--src/variable.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/variable.c b/src/variable.c
index 5b1afc3b..3c2295b1 100644
--- a/src/variable.c
+++ b/src/variable.c
@@ -1598,6 +1598,24 @@ timer_type *gl_timers = NULL;
s16b tim_precognition = 0;
/**
+ * Corruptions
+ */
+s16b CORRUPT_BALROG_AURA = -1;
+s16b CORRUPT_BALROG_WINGS = -1;
+s16b CORRUPT_BALROG_STRENGTH = -1;
+s16b CORRUPT_BALROG_FORM = -1;
+s16b CORRUPT_DEMON_SPIRIT = -1;
+s16b CORRUPT_DEMON_HIDE = -1;
+s16b CORRUPT_DEMON_BREATH = -1;
+s16b CORRUPT_DEMON_REALM = -1;
+s16b CORRUPT_RANDOM_TELEPORT = -1;
+s16b CORRUPT_ANTI_TELEPORT = -1;
+s16b CORRUPT_TROLL_BLOOD = -1;
+s16b CORRUPT_VAMPIRE_TEETH = -1;
+s16b CORRUPT_VAMPIRE_STRENGTH = -1;
+s16b CORRUPT_VAMPIRE_VAMPIRE = -1;
+
+/**
* Get the version string.
*/
const char *get_version_string()