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

#include "show.h"

struct map_cell;

string glyph_to_tagstr(const cglyph_t& g);

ucs_t get_feat_symbol(dungeon_feature_type feat);
ucs_t get_item_symbol(show_item_type it);
cglyph_t get_item_glyph(const item_def *item);
cglyph_t get_mons_glyph(const monster_info& mi);

show_class get_cell_show_class(const map_cell& cell, bool only_stationary_monsters = false);
cglyph_t get_cell_glyph(const coord_def& loc, bool only_stationary_monsters = false, int colour_mode = 0);
cglyph_t get_cell_glyph(const map_cell& cell, const coord_def& loc, bool only_stationary_monsters = false, int colour_mode = 0);

#endif