diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-05-31 19:25:30 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-05-31 19:25:30 +0000 |
commit | 7c5e54508666b65c7890ddc45880f64b38f887cb (patch) | |
tree | 452f6a59973c7f7236a2f9fb1f3b39c76eb088c9 /crawl-ref/source/enum.h | |
parent | 8df9960b2b34f903658b041751ef4a8c47338c10 (diff) | |
download | crawl-ref-7c5e54508666b65c7890ddc45880f64b38f887cb.tar.gz crawl-ref-7c5e54508666b65c7890ddc45880f64b38f887cb.zip |
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
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 14 |
1 files changed, 11 insertions, 3 deletions
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 |