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

struct show_type;

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

glyph get_item_glyph(const item_def *item);

void get_mons_glyph(const monsters *mons, unsigned *glych,
                    unsigned short *glycol);
unsigned get_screen_glyph( int x, int y );
unsigned get_screen_glyph( const coord_def &p );

int get_mons_colour(const monsters *mons);

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