summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-02 17:50:19 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-02 17:50:19 +0000
commit1b49ddb74f8d39dd07b712602333fc28810a4f40 (patch)
tree8dd67f254ab14357aa312aeb47fe591df6d6367e /crawl-ref/source/invent.h
parentfb58bd0b0b1ebc50a270c3fcd251631737d3c53c (diff)
downloadcrawl-ref-1b49ddb74f8d39dd07b712602333fc28810a4f40.tar.gz
crawl-ref-1b49ddb74f8d39dd07b712602333fc28810a4f40.zip
Add new command for evoking non-wielded items, placed on 'V'.
* Also applies to wand, and will soon replace 'Z'. * Decks, rods, and weapons of reaching still need to be wielded ('v'). * The tiles tooltips will need to be adjusted. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9718 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/invent.h')
-rw-r--r--crawl-ref/source/invent.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/invent.h b/crawl-ref/source/invent.h
index c8fac012cf..f82196ca06 100644
--- a/crawl-ref/source/invent.h
+++ b/crawl-ref/source/invent.h
@@ -28,7 +28,8 @@ enum object_selector
OSEL_VAMP_EAT = -8,
OSEL_DRAW_DECK = -9,
OSEL_THROWABLE = -10,
- OSEL_BUTCHERY = -11
+ OSEL_BUTCHERY = -11,
+ OSEL_EVOKABLE = -12
};
#define PROMPT_ABORT -1
@@ -233,4 +234,7 @@ void init_item_sort_comparators(item_sort_comparators &list,
bool prompt_failed(int retval, std::string msg = "");
+bool item_is_evokable(const item_def &item, bool known = false,
+ bool msg = false);
+
#endif