diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2011-09-05 15:47:34 +0000 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2011-09-05 23:20:17 +0200 |
commit | 9e666ba7fcee19e20652fa88576ac7c1e1a3e67d (patch) | |
tree | 4fe93961fa2d5d2400b0e2e3e010226b9786b695 /crawl-ref/source/showsymb.h | |
parent | 15260ea622839fad86cb77931cc83b3d30f507a8 (diff) | |
download | crawl-ref-9e666ba7fcee19e20652fa88576ac7c1e1a3e67d.tar.gz crawl-ref-9e666ba7fcee19e20652fa88576ac7c1e1a3e67d.zip |
Merge all the item mimics into a single monster type.
Now feature and item mimics have both the same name internally (and use
MF_NAME_ADJECTIVE). I hacked Mon_Name_Cache to allow creating them with &M, but
partial match doesn't work. You have to fully type "item mimic" or
"feature mimic".
Naming is changed a bit and use the item name (DESC_BASENAME). Examples:
a - ([) A storm dragon armour mimic
b - (!) A potion mimic
c - ($) A pile of gold mimic
Adding new item types is trivial now.
Diffstat (limited to 'crawl-ref/source/showsymb.h')
-rw-r--r-- | crawl-ref/source/showsymb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/showsymb.h b/crawl-ref/source/showsymb.h index bb5a35317d..d0fb24ff2e 100644 --- a/crawl-ref/source/showsymb.h +++ b/crawl-ref/source/showsymb.h @@ -18,8 +18,8 @@ struct glyph std::string glyph_to_tagstr(const glyph& g); -wchar_t get_feat_symbol(dungeon_feature_type feat); -wchar_t get_item_symbol(show_item_type it); +ucs_t get_feat_symbol(dungeon_feature_type feat); +ucs_t get_item_symbol(show_item_type it); glyph get_item_glyph(const item_def *item); glyph get_mons_glyph(const monster_info& mi, bool realcol=true); |