summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/colour.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2013-06-09 22:51:10 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2013-06-09 22:53:09 -0600
commit9b01d5cde6fa2c23e548116169512c789dacbcf4 (patch)
tree81dd4d4330f5c12f7b10328bcc9ec56450ba574e /crawl-ref/source/colour.h
parent170f4674545cc3570d30bb61e757c1bdb9ee6e4b (diff)
downloadcrawl-ref-9b01d5cde6fa2c23e548116169512c789dacbcf4.tar.gz
crawl-ref-9b01d5cde6fa2c23e548116169512c789dacbcf4.zip
Allow ETC_* feature colours to affect some displayed tiles.
Right now, this operates for floors, rock walls, and stone walls; if some other colour really needs to be impacted, this code can probably be extended to suit. Yes, this means that pan_disco_hall now works in tiles!!!
Diffstat (limited to 'crawl-ref/source/colour.h')
-rw-r--r--crawl-ref/source/colour.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/colour.h b/crawl-ref/source/colour.h
index 74d6493678..be427936c1 100644
--- a/crawl-ref/source/colour.h
+++ b/crawl-ref/source/colour.h
@@ -9,6 +9,7 @@ struct monster_info;
enum element_type
{
ETC_FIRE = 32, // fiery colours (must be first and > highest colour)
+ ETC_FIRST = ETC_FIRE,
ETC_ICE, // icy colours
ETC_EARTH, // earthy colours
ETC_ELECTRICITY, // electrical side of air