summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-03-28 21:47:43 -0400
committerNeil Moore <neil@s-z.org>2014-03-28 21:47:54 -0400
commit2e1771576757703a0bab0e64331b3b3e123600d3 (patch)
tree6e93b7069f17d5274fff2d344d1a8d59d6416d29 /crawl-ref/source/ouch.h
parenta03f7522751c76a274e0cfc0500b93b5da278372 (diff)
downloadcrawl-ref-2e1771576757703a0bab0e64331b3b3e123600d3.tar.gz
crawl-ref-2e1771576757703a0bab0e64331b3b3e123600d3.zip
Use a symbolic rather than string properties key.
To catch typos at compile time.
Diffstat (limited to 'crawl-ref/source/ouch.h')
-rw-r--r--crawl-ref/source/ouch.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/ouch.h b/crawl-ref/source/ouch.h
index 8462dfaa54..8aeb4941be 100644
--- a/crawl-ref/source/ouch.h
+++ b/crawl-ref/source/ouch.h
@@ -11,6 +11,13 @@
#include "enum.h"
#include "beam.h"
+/**
+ * Key for <tt>you.props</tt> indicating that the player already received a
+ * message about melting Ozocubu's Armour this turn. The value does not
+ * matter, only the key's existance in the hash.
+ */
+#define MELT_ARMOUR_KEY "melt_armour"
+
// Keep in sync with names in hiscores.cc.
// Note that you can't ever remove entries from here -- not even when a major
// save tag is bumped, or listing scores will break. The order doesn't matter.