diff options
Diffstat (limited to 'crawl-ref/source/itemname.h')
-rw-r--r-- | crawl-ref/source/itemname.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/itemname.h b/crawl-ref/source/itemname.h index a885693cf5..713189df24 100644 --- a/crawl-ref/source/itemname.h +++ b/crawl-ref/source/itemname.h @@ -16,6 +16,12 @@ #include "externs.h" +struct item_types_pair +{ + object_class_type base_type; + unsigned char sub_type; +}; + enum item_type_id_type { IDTYPE_WANDS = 0, @@ -119,4 +125,9 @@ void set_ident_type( object_class_type basetype, int subtype, * *********************************************************************** */ const std::string menu_colour_item_prefix(const item_def &item); +void init_item_name_cache(); +item_types_pair item_types_by_name(std::string name); + +std::vector<std::string> item_name_list_for_glyph(unsigned glyph); + #endif |