summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/showsymb.h')
-rw-r--r--crawl-ref/source/showsymb.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/crawl-ref/source/showsymb.h b/crawl-ref/source/showsymb.h
new file mode 100644
index 0000000000..c5f47be763
--- /dev/null
+++ b/crawl-ref/source/showsymb.h
@@ -0,0 +1,24 @@
+#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);
+
+#endif
+