summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-10-16 17:31:22 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-10-16 23:59:14 +0200
commit90005585c7206655fe91daba91805d9bad2cb0c1 (patch)
tree83f14315cbf89c6f8071a43ff549b7fa6b6e7ddb /crawl-ref/source/showsymb.h
parent6ca8c092ae24814196a8f76e526637f731fb8160 (diff)
downloadcrawl-ref-90005585c7206655fe91daba91805d9bad2cb0c1.tar.gz
crawl-ref-90005585c7206655fe91daba91805d9bad2cb0c1.zip
Rename struct glyph to cglyph_t.
Hard to come up with something less greppable...
Diffstat (limited to 'crawl-ref/source/showsymb.h')
-rw-r--r--crawl-ref/source/showsymb.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/showsymb.h b/crawl-ref/source/showsymb.h
index 1ab8ea785f..851c2cf2c5 100644
--- a/crawl-ref/source/showsymb.h
+++ b/crawl-ref/source/showsymb.h
@@ -5,26 +5,26 @@
#include "mon-info.h"
struct map_cell;
-struct glyph
+struct cglyph_t
{
ucs_t ch;
unsigned short col; // XXX: real or unreal depending on context...
- glyph(ucs_t _ch = ' ', unsigned short _col = LIGHTGREY)
+ cglyph_t(ucs_t _ch = ' ', unsigned short _col = LIGHTGREY)
: ch(_ch), col(_col)
{
}
};
-string glyph_to_tagstr(const glyph& g);
+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);
-glyph get_item_glyph(const item_def *item);
-glyph get_mons_glyph(const monster_info& mi);
+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);
-glyph get_cell_glyph(const coord_def& loc, bool only_stationary_monsters = false, int colour_mode = 0);
-glyph get_cell_glyph(const map_cell& cell, const coord_def& loc, bool only_stationary_monsters = false, int colour_mode = 0);
+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