summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-28 23:04:06 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-28 23:04:06 +0000
commit2599a2f0d80b3ee78d4891eceae5532f99a997a5 (patch)
treed73d401ff95b250f0d18e81b1443df262cbc0fac /crawl-ref/source/itemname.h
parentce35ea47d39807820b17bcf7abcf517e63c2719e (diff)
downloadcrawl-ref-2599a2f0d80b3ee78d4891eceae5532f99a997a5.tar.gz
crawl-ref-2599a2f0d80b3ee78d4891eceae5532f99a997a5.zip
Fix [2644366]: place a space between prefixes and the item name.
Also, fix the documentation which used to say that the prefixes are comma-separated (they're not.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9294 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemname.h')
-rw-r--r--crawl-ref/source/itemname.h22
1 files changed, 7 insertions, 15 deletions
diff --git a/crawl-ref/source/itemname.h b/crawl-ref/source/itemname.h
index a7b7bcd268..1e46bb866f 100644
--- a/crawl-ref/source/itemname.h
+++ b/crawl-ref/source/itemname.h
@@ -114,27 +114,19 @@ void set_ident_type( item_def &item, item_type_id_state_type setting,
void set_ident_type( object_class_type basetype, int subtype,
item_type_id_state_type setting, bool force = false);
-/* ***********************************************************************
- * called from: command - itemname - invent.h
- * *********************************************************************** */
-const std::string menu_colour_item_prefix(const item_def &item,
- bool temp = true);
-const std::string filtering_item_prefix(const item_def &item,
- bool temp = true);
-const std::string get_menu_colour_prefix_tags(item_def &item,
- description_level_type desc);
-const std::string get_message_colour_tags(item_def &item,
- description_level_type desc,
- msg_channel_type channel = MSGCH_PLAIN);
+std::string menu_colour_item_prefix(const item_def &item, bool temp = true);
+std::string filtering_item_prefix(const item_def &item, bool temp = true);
+std::string get_menu_colour_prefix_tags(const item_def &item,
+ description_level_type desc);
+std::string get_message_colour_tags(const item_def &item,
+ description_level_type desc,
+ msg_channel_type channel = MSGCH_PLAIN);
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);
-/* ***********************************************************************
- * called from: newgame
- * *********************************************************************** */
const char* wand_type_name(int wandtype);
bool is_named_corpse(const item_def &corpse);