summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.h
blob: 85939a5b610015fd537932c02e921a1f58bf3011 (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
#ifndef SHOWSYMB_H
#define SHOWSYMB_H

struct show_type;

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

glyph get_item_glyph(const item_def *item);
glyph get_mons_glyph(const monsters *mons);

unsigned get_screen_glyph( const coord_def &p );

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

#endif