summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-item.h
diff options
context:
space:
mode:
authorgammafunk <gammafunk@gmail.com>2014-01-26 23:30:52 -0600
committerPekka Lampila <pekka.lampila@iki.fi>2014-01-30 09:55:18 +0200
commit4067f67b76575fa46cda5a7ae5f99f3278323d2d (patch)
treee8f360289241036a515acdfb8c71aab29dee1ebe /crawl-ref/source/wiz-item.h
parentfb55b4fec7f7adc511500c76907caa05b21f387c (diff)
downloadcrawl-ref-4067f67b76575fa46cda5a7ae5f99f3278323d2d.tar.gz
crawl-ref-4067f67b76575fa46cda5a7ae5f99f3278323d2d.zip
Add Wizard mode commands to identify/unidentify item types and level items.
This binds the commands to & y/Y. We have & i/I, but that only affects inventory items. For various testing purposes, it's nice to be able to mass-identify/unidentify all item types. This command also identifies/unidentifies all inventory items on the level, since items can refuse to unidentify if they exist on the floor, and because level-item identification is also a convenient thing to have. We don't change the identification status of off-level items.
Diffstat (limited to 'crawl-ref/source/wiz-item.h')
-rw-r--r--crawl-ref/source/wiz-item.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-item.h b/crawl-ref/source/wiz-item.h
index 34bc8d4b3c..9479a03eb7 100644
--- a/crawl-ref/source/wiz-item.h
+++ b/crawl-ref/source/wiz-item.h
@@ -17,7 +17,8 @@ void wizard_identify_pack();
void wizard_unidentify_pack();
void wizard_draw_card();
void wizard_list_items();
-
+void wizard_identify_all_items();
+void wizard_unidentify_all_items();
void debug_item_statistics(void);
#endif