summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-11 23:21:30 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-11 23:21:30 +0000
commit8b9d48402b36f994893ab627cf9cf7b0be632d20 (patch)
treeab580bf6017087c5c5ff8b8648e4d8aed4e92d11 /crawl-ref/source/itemprop.h
parenta81a0b436a4e8664c76d9e74e462fc2690880851 (diff)
downloadcrawl-ref-8b9d48402b36f994893ab627cf9cf7b0be632d20.tar.gz
crawl-ref-8b9d48402b36f994893ab627cf9cf7b0be632d20.zip
Deck stacking implemented. Five cards (or less, if there are less) are
drawn, you get to stack them in any order, and the rest of the deck is discarded. The next card is inscribed on the deck; the remainder can be seen with 'v'. This is now Nemelex's top ability. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1467 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemprop.h')
-rw-r--r--crawl-ref/source/itemprop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h
index c4311fd5e1..98c524b345 100644
--- a/crawl-ref/source/itemprop.h
+++ b/crawl-ref/source/itemprop.h
@@ -148,6 +148,8 @@ bool is_shield(const item_def &item);
bool is_shield_incompatible(const item_def &weapon,
const item_def *shield = NULL);
+bool is_deck(const item_def &item);
+
// Only works for armour/weapons/missiles
std::string item_base_name(const item_def &item);
const char* weapon_base_name(unsigned char subtype);