From 7c5e54508666b65c7890ddc45880f64b38f887cb Mon Sep 17 00:00:00 2001 From: dshaligram Date: Thu, 31 May 2007 19:25:30 +0000 Subject: sort_menus now allows the user to choose what menus to sort, and how to sort items, at the cost of obfuscating the sort_menus option massively. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1494 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/enum.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/enum.h') diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 3f930a509b..06415f0a76 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -904,7 +904,12 @@ enum description_level_type DESC_PLAIN, // 6 DESC_NOCAP_ITS, // 7 DESC_INVENTORY_EQUIP, // 8 - DESC_INVENTORY // 9 + DESC_INVENTORY, // 9 + + // Partial item names. + DESC_BASENAME, // Base name of item subtype + DESC_QUALNAME // Name without articles, quantities, + // enchantments. }; enum dragon_class_type @@ -1722,9 +1727,12 @@ enum map_section_type // see maps.cc and dungeon.cc {dlb} enum menu_type { - MT_INVSELECT, // General - select single item + MT_ANY = -1, + MT_INVLIST, // List inventory - MT_DROP + MT_DROP, + + MT_PICKUP }; // if you mess with this list, you'll need to make changes in initfile.cc -- cgit v1.2.3-54-g00ecf