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-03-23 21:08:10 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-23 21:08:10 +0000
commit2bcedfdf3c59078e54d15d03b3a9473ed4bdd44b (patch)
treeba54660d8b3ecaa06b113aa13c9f4c104a9d0fd1 /crawl-ref/source/invent.h
parentc38a52f9377b9f87e66cdccfeab2abbaa72faad8 (diff)
downloadcrawl-ref-2bcedfdf3c59078e54d15d03b3a9473ed4bdd44b.tar.gz
crawl-ref-2bcedfdf3c59078e54d15d03b3a9473ed4bdd44b.zip
* Allow viewing of card descriptions from Triple Draw and Stack Deck.
* Sort items in 'V' screen according to pickup menu sort order. * Name Xom's randart book gifts more randomly. * Colour items seen by 'x' with message colour tags and same for pickup messages. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9541 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/invent.h')
-rw-r--r--crawl-ref/source/invent.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/invent.h b/crawl-ref/source/invent.h
index 315cdb0f7c..366b747ea6 100644
--- a/crawl-ref/source/invent.h
+++ b/crawl-ref/source/invent.h
@@ -156,12 +156,12 @@ public:
// of the use of the item pointers, or mayhem results!
static std::vector<const item_def*> xlat_itemvect(
const std::vector<item_def> &);
+ const menu_sort_condition *find_menu_sort_condition() const;
+ void sort_menu(std::vector<InvEntry*> &items,
+ const menu_sort_condition *cond);
protected:
bool process_key(int key);
void do_preselect(InvEntry *ie);
- void sort_menu(std::vector<InvEntry*> &items,
- const menu_sort_condition *cond);
- const menu_sort_condition *find_menu_sort_condition() const;
virtual bool is_selectable(int index) const;
protected: