summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/colour.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-04 22:45:50 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-04 22:45:50 +0100
commit64c38d95bfd6b24e34bc86f7d4ce7ba345c5a963 (patch)
tree9aaba99b80cd44b032cdd30e40f8b6625508ee89 /crawl-ref/source/colour.h
parentce5c888daccae3cf40be8e28176f415e54b26650 (diff)
downloadcrawl-ref-64c38d95bfd6b24e34bc86f7d4ce7ba345c5a963.tar.gz
crawl-ref-64c38d95bfd6b24e34bc86f7d4ce7ba345c5a963.zip
Split up view.cc.
Diffstat (limited to 'crawl-ref/source/colour.h')
-rw-r--r--crawl-ref/source/colour.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/colour.h b/crawl-ref/source/colour.h
index 8c896d9148..c13aa973df 100644
--- a/crawl-ref/source/colour.h
+++ b/crawl-ref/source/colour.h
@@ -62,4 +62,12 @@ unsigned char make_high_colour(unsigned char colour);
bool is_element_colour(int col);
int element_colour(int element, bool no_random = false);
+#if defined(TARGET_OS_WINDOWS) || defined(TARGET_OS_DOS) || defined(USE_TILE)
+unsigned short dos_brand( unsigned short colour,
+ unsigned brand = CHATTR_REVERSE);
+#endif
+
+// Applies ETC_ colour substitutions and brands.
+unsigned real_colour(unsigned raw_colour);
+
#endif