diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-08-09 03:35:33 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-08-09 03:35:33 +0200 |
commit | 938afc2ac0c76619027d7e043f9f87636d443879 (patch) | |
tree | 9c2738deda92db29778efd4a703f4ae8a1712404 /crawl-ref/source/colour.h | |
parent | c4bde160c8151f85aa2f7b4adafcc80af03113f9 (diff) | |
download | crawl-ref-938afc2ac0c76619027d7e043f9f87636d443879.tar.gz crawl-ref-938afc2ac0c76619027d7e043f9f87636d443879.zip |
Require explicit enums for Lua colours.
In theory, we could allow defining them with a floating name, marshalling
that by string and so on, but that'd be a large pile of useless work.
Diffstat (limited to 'crawl-ref/source/colour.h')
-rw-r--r-- | crawl-ref/source/colour.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/colour.h b/crawl-ref/source/colour.h index c99f5ad650..a131fd660c 100644 --- a/crawl-ref/source/colour.h +++ b/crawl-ref/source/colour.h @@ -59,7 +59,8 @@ enum element_type ETC_TORNADO, // twisting swirls of gray ETC_LIQUEFIED, // ripples of yellow and brown. ETC_SWAMP_TREE, // colour of trees on water - ETC_FIRST_LUA = 96, // colour indices have to be <128 + ETC_DISCO = 96, + ETC_FIRST_LUA = ETC_DISCO, // colour indices have to be <128 }; typedef int (*element_colour_calculator)(int, const coord_def&); |