summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop-enum.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-01-04 13:31:34 +0100
committerAdam Borowski <kilobyte@angband.pl>2010-01-04 13:34:04 +0100
commit351147f56190d73b347c906e6ab30ddf30387a68 (patch)
treeffbf967d96fdb76ca17e5c8ee728f7400d888105 /crawl-ref/source/itemprop-enum.h
parent21e755bcfd70b2683ada62dfdb6cd67695db0f7a (diff)
downloadcrawl-ref-351147f56190d73b347c906e6ab30ddf30387a68.tar.gz
crawl-ref-351147f56190d73b347c906e6ab30ddf30387a68.zip
Track all seen weapon/armour base types and their brands, for acq purposes.
Diffstat (limited to 'crawl-ref/source/itemprop-enum.h')
-rw-r--r--crawl-ref/source/itemprop-enum.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop-enum.h b/crawl-ref/source/itemprop-enum.h
index b1401d3e9c..cc807371a4 100644
--- a/crawl-ref/source/itemprop-enum.h
+++ b/crawl-ref/source/itemprop-enum.h
@@ -71,6 +71,7 @@ enum boot_type // used in pluses2
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
enum brand_type // equivalent to (you.inv[].special or mitm[].special) % 30
{