summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-02-26 14:37:22 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-02-26 14:41:00 +0100
commit0fac1db9f7c3beb282d8455de7cce3641adee03b (patch)
tree8558ceb1adb930525e2d0eeb0acef7338ec9a743 /crawl-ref/source/showsymb.h
parent453b14152a4eed3518222c48de5a3f2d780f8363 (diff)
downloadcrawl-ref-0fac1db9f7c3beb282d8455de7cce3641adee03b.tar.gz
crawl-ref-0fac1db9f7c3beb282d8455de7cce3641adee03b.zip
Fix Ctrl-X display of unicode items.
Fixes issue #378. Extracted tutorial.cc:_colourize_glyph as glyph_to_tagstr for this.
Diffstat (limited to 'crawl-ref/source/showsymb.h')
-rw-r--r--crawl-ref/source/showsymb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/showsymb.h b/crawl-ref/source/showsymb.h
index f1f2ab0210..397ddb5834 100644
--- a/crawl-ref/source/showsymb.h
+++ b/crawl-ref/source/showsymb.h
@@ -9,6 +9,8 @@ struct glyph
unsigned short col;
};
+std::string glyph_to_tagstr(const glyph& g);
+
unsigned get_feat_symbol(dungeon_feature_type feat);
unsigned get_item_symbol(show_item_type it);
glyph get_item_glyph(const item_def *item);