diff options
author | rubidium <rubidium@openttd.org> | 2014-09-27 11:17:54 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-09-27 11:17:54 +0000 |
commit | 0176ef274f3b4539f43b66a649fc0d0ee0239234 (patch) | |
tree | a97dcf3f8a401c4c6e53dc165339e87cf420b402 /src/table | |
parent | f1920457965d49bc329c0648d030600db38f227a (diff) | |
download | openttd-0176ef274f3b4539f43b66a649fc0d0ee0239234.tar.xz |
(svn r26928) -Change: scale the heightmap colours over the whole range of heights (based on patch by ic111)
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/heightmap_colours.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/table/heightmap_colours.h b/src/table/heightmap_colours.h index 2acbd066c..04336b066 100644 --- a/src/table/heightmap_colours.h +++ b/src/table/heightmap_colours.h @@ -30,7 +30,6 @@ static const uint32 _green_map_heights[] = { MKCOLOUR_XXXX(0x27), MKCOLOUR_XXXX(0x27), }; -assert_compile(lengthof(_green_map_heights) == MAX_TILE_HEIGHT + 1); /** Height map colours for the dark green colour scheme, ordered by height. */ static const uint32 _dark_green_map_heights[] = { @@ -51,7 +50,6 @@ static const uint32 _dark_green_map_heights[] = { MKCOLOUR_XXXX(0x67), MKCOLOUR_XXXX(0x67), }; -assert_compile(lengthof(_dark_green_map_heights) == MAX_TILE_HEIGHT + 1); /** Height map colours for the violet colour scheme, ordered by height. */ static const uint32 _violet_map_heights[] = { @@ -72,4 +70,3 @@ static const uint32 _violet_map_heights[] = { MKCOLOUR_XXXX(0x87), MKCOLOUR_XXXX(0x87), }; -assert_compile(lengthof(_violet_map_heights) == MAX_TILE_HEIGHT + 1); |