summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-15 21:49:09 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-15 23:11:42 +0100
commit4973016b5011454ea3648710b604b3c4d0ecec57 (patch)
treed8d64c28e866c9c3f8058605f70616596929ff0e /crawl-ref/source/showsymb.cc
parentc99489055fb52cd6079218675a8b5688b4eb99ee (diff)
downloadcrawl-ref-4973016b5011454ea3648710b604b3c4d0ecec57.tar.gz
crawl-ref-4973016b5011454ea3648710b604b3c4d0ecec57.zip
Add get_item_symbol to showsymb.
Diffstat (limited to 'crawl-ref/source/showsymb.cc')
-rw-r--r--crawl-ref/source/showsymb.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/showsymb.cc b/crawl-ref/source/showsymb.cc
index 676673be22..788f78660c 100644
--- a/crawl-ref/source/showsymb.cc
+++ b/crawl-ref/source/showsymb.cc
@@ -116,6 +116,11 @@ static int _get_mons_colour(const monsters *mons)
return (col);
}
+unsigned get_item_symbol(show_item_type it)
+{
+ return (get_feature_def(show_type(it)).symbol);
+}
+
glyph get_item_glyph(const item_def *item)
{
glyph g;