summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.h
blob: 2976ceccfec1bed26fb1f40446960de1435229ec (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

struct show_type;

void get_item_glyph(const item_def *item, unsigned *glych,
                    unsigned short *glycol);
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);

unsigned grid_character_at(const coord_def &c);
unsigned get_symbol(show_type object, unsigned short *colour = NULL,
                     bool magic_mapped = false);
void get_symbol(const coord_def& where,
                show_type object, unsigned *ch,  
                unsigned short *colour,
                bool magic_mapped = false);
void get_show_symbol(show_type object, unsigned *ch, unsigned short *colour);

#endif