summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/show.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-06 13:11:08 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-06 14:43:40 +0100
commit01b40e683ee4886b7ed76b4c90ff97ac394dc30e (patch)
tree23cf9a688484fb76846be22157723a3ac1e3271a /crawl-ref/source/show.cc
parent87489927a945cf50e830a685934a2a35d6199a3e (diff)
downloadcrawl-ref-01b40e683ee4886b7ed76b4c90ff97ac394dc30e.tar.gz
crawl-ref-01b40e683ee4886b7ed76b4c90ff97ac394dc30e.zip
Move get_show_symbol to showsymb.cc.
Diffstat (limited to 'crawl-ref/source/show.cc')
-rw-r--r--crawl-ref/source/show.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/crawl-ref/source/show.cc b/crawl-ref/source/show.cc
index 0545cf1b6f..6a7ab95dbc 100644
--- a/crawl-ref/source/show.cc
+++ b/crawl-ref/source/show.cc
@@ -16,20 +16,6 @@
#include "terrain.h"
#include "viewgeom.h"
-void get_show_symbol(show_type object, unsigned *ch,
- unsigned short *colour)
-{
- if (object.cls < SH_MONSTER)
- {
- *ch = get_feature_def(object).symbol;
-
- // Don't clobber with BLACK, because the colour should be already set.
- if (get_feature_def(object).colour != BLACK)
- *colour = get_feature_def(object).colour;
- }
- *colour = real_colour(*colour);
-}
-
show_type::show_type()
: cls(SH_NOTHING), colour(0)
{