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

#include "show.h"

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

unsigned get_item_symbol(show_item_type it);
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