diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-15 21:53:24 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-15 23:11:42 +0100 |
commit | fe2ab0f017464ff07a3d62e994861ea17260b260 (patch) | |
tree | d6beb03f68e66873fac1cf7d35be3685b6d6a67d /crawl-ref/source/showsymb.cc | |
parent | a189aa47ebeeee22eefcf0702568bf11b6c42339 (diff) | |
download | crawl-ref-fe2ab0f017464ff07a3d62e994861ea17260b260.tar.gz crawl-ref-fe2ab0f017464ff07a3d62e994861ea17260b260.zip |
Add get_feat_symbol.
Diffstat (limited to 'crawl-ref/source/showsymb.cc')
-rw-r--r-- | crawl-ref/source/showsymb.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/showsymb.cc b/crawl-ref/source/showsymb.cc index 788f78660c..eb815c41e8 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_feat_symbol(dungeon_feature_type feat) +{ + return (get_feature_def(feat).symbol); +} + unsigned get_item_symbol(show_item_type it) { return (get_feature_def(show_type(it)).symbol); |