summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/showsymb.cc')
-rw-r--r--crawl-ref/source/showsymb.cc18
1 files changed, 2 insertions, 16 deletions
diff --git a/crawl-ref/source/showsymb.cc b/crawl-ref/source/showsymb.cc
index b35fdaeeea..5b2c4bf528 100644
--- a/crawl-ref/source/showsymb.cc
+++ b/crawl-ref/source/showsymb.cc
@@ -122,8 +122,7 @@ static unsigned short _feat_colour(const coord_def &where,
void get_symbol(const coord_def& where,
show_type object, unsigned *ch,
- unsigned short *colour,
- bool magic_mapped)
+ unsigned short *colour)
{
ASSERT(ch != NULL);
@@ -138,8 +137,7 @@ void get_symbol(const coord_def& where,
}
const feature_def &fdef = get_feature_def(object);
- *ch = magic_mapped ? fdef.magic_symbol
- : fdef.symbol;
+ *ch = fdef.symbol;
// Note anything we see that's notable
if (!where.origin() && fdef.is_notable())
@@ -158,13 +156,6 @@ void get_symbol(const coord_def& where,
*colour = real_colour(*colour);
}
-unsigned get_symbol(show_type object, bool magic_mapped)
-{
- unsigned ch;
- get_symbol(coord_def(0,0), object, &ch, NULL, magic_mapped);
- return (ch);
-}
-
void get_show_symbol(show_type object, unsigned *ch,
unsigned short *colour)
{
@@ -188,11 +179,6 @@ unsigned grid_character_at(const coord_def &c)
return glych;
}
-dungeon_char_type get_feature_dchar(dungeon_feature_type feat)
-{
- return (get_feature_def(feat).dchar);
-}
-
int get_mons_colour(const monsters *mons)
{
int col = mons->colour;