summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop-enum.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-09-30 15:19:19 -0400
committerNeil Moore <neil@s-z.org>2013-09-30 15:19:19 -0400
commit3a9d587560d7244ae556378ae272c64c9b586406 (patch)
treee4091607ad781d6fc421bbd0f54cd7d10edf607d /crawl-ref/source/itemprop-enum.h
parent560282b6d41e0319427228cb1b2c16fe234102e0 (diff)
downloadcrawl-ref-3a9d587560d7244ae556378ae272c64c9b586406.tar.gz
crawl-ref-3a9d587560d7244ae556378ae272c64c9b586406.zip
Add reminder comments about some arrays that parallel enums.
Diffstat (limited to 'crawl-ref/source/itemprop-enum.h')
-rw-r--r--crawl-ref/source/itemprop-enum.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop-enum.h b/crawl-ref/source/itemprop-enum.h
index 1493987ce8..88f339a2e8 100644
--- a/crawl-ref/source/itemprop-enum.h
+++ b/crawl-ref/source/itemprop-enum.h
@@ -75,6 +75,7 @@ const int SP_FORBID_EGO = -1;
const int SP_FORBID_BRAND = -1;
const int SP_UNKNOWN_BRAND = 31; // seen_weapon/armour is a 32-bit bitfield
+// Be sure to update _debug_acquirement_stats and _str_to_ego to match.
enum brand_type // item_def.special
{
SPWPN_FORBID_BRAND = -1,
@@ -335,6 +336,7 @@ enum scroll_type
NUM_SCROLLS
};
+// Be sure to update _debug_acquirement_stats and _str_to_ego to match.
enum special_armour_type
{
SPARM_FORBID_EGO = -1,
@@ -364,6 +366,7 @@ enum special_armour_type
NUM_SPECIAL_ARMOURS,
};
+// Be sure to update _str_to_ego to match.
enum special_missile_type // to separate from weapons in general {dlb}
{
SPMSL_FORBID_BRAND = -1,