summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.h
blob: f11d1cac891fca4498e51b4dd32c9eff512c0e25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef SHOWSYMB_H
#define SHOWSYMB_H

#include "show.h"

struct glyph
{
    unsigned ch;
    unsigned short col;
};

unsigned get_feat_symbol(dungeon_feature_type feat);
unsigned get_item_symbol(show_item_type it);
glyph get_item_glyph(const item_def *item);
glyph get_mons_glyph(const monsters *mons);
glyph get_show_glyph(show_type object);

unsigned get_screen_glyph( const coord_def &p );

void get_symbol(const coord_def& where,
                show_type object, unsigned *ch,
                unsigned short *colour);

#endif