summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-08-16 21:25:48 +0200
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-08-16 22:16:58 +0200
commit5fdc2b4f8e4865aed44c840baff1bd3583fd3693 (patch)
treedd5c2cc38c8a96c1811373c550af1da802b85070 /crawl-ref/source/makeitem.h
parentf8c06ea9aa6bd2adbf54cc85d725b0318cd08582 (diff)
downloadcrawl-ref-5fdc2b4f8e4865aed44c840baff1bd3583fd3693.tar.gz
crawl-ref-5fdc2b4f8e4865aed44c840baff1bd3583fd3693.zip
Add a toggle to the discoveries screen to display _un_known items.
You can already get a list of all these items by searching the db. This is simply more convenient. Also, wands on this screen now display their maximum number of charges rather than 0.
Diffstat (limited to 'crawl-ref/source/makeitem.h')
-rw-r--r--crawl-ref/source/makeitem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/makeitem.h b/crawl-ref/source/makeitem.h
index 512304ed05..d8ad4e373e 100644
--- a/crawl-ref/source/makeitem.h
+++ b/crawl-ref/source/makeitem.h
@@ -35,6 +35,7 @@ int item_corpse(monster_type monster, const item_spec &ispec);
void item_colour(item_def &item);
void init_rod_mp(item_def &item, int ncharges = -1, int item_level = -1);
+int wand_max_charges(int subtype);
jewellery_type get_random_ring_type();
jewellery_type get_random_amulet_type();
armour_type get_random_body_armour_type(int level);