summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-27 14:51:34 +0000
committerrubidium <rubidium@openttd.org>2014-09-27 14:51:34 +0000
commitb08b3bd8e338d06e66015ecb52564d48058e45d3 (patch)
treea0a8c8203648db4ec50a09e69567e7e26aa8ffcc /src/table
parent9627eb6e17d81bb16f775ae479ae7aa38fe4bbab (diff)
downloadopenttd-b08b3bd8e338d06e66015ecb52564d48058e45d3.tar.xz
(svn r26930) -Add: extra shadings to he heightmap colour tables (Chillcore)
Diffstat (limited to 'src/table')
-rw-r--r--src/table/heightmap_colours.h368
1 files changed, 320 insertions, 48 deletions
diff --git a/src/table/heightmap_colours.h b/src/table/heightmap_colours.h
index 04336b066..42b99eeca 100644
--- a/src/table/heightmap_colours.h
+++ b/src/table/heightmap_colours.h
@@ -13,60 +13,332 @@
/** Height map colours for the green colour scheme, ordered by height. */
static const uint32 _green_map_heights[] = {
- MKCOLOUR_XXXX(0x5A),
- MKCOLOUR_XYXY(0x5A, 0x5B),
- MKCOLOUR_XXXX(0x5B),
- MKCOLOUR_XYXY(0x5B, 0x5C),
- MKCOLOUR_XXXX(0x5C),
- MKCOLOUR_XYXY(0x5C, 0x5D),
- MKCOLOUR_XXXX(0x5D),
- MKCOLOUR_XYXY(0x5D, 0x5E),
- MKCOLOUR_XXXX(0x5E),
- MKCOLOUR_XYXY(0x5E, 0x5F),
- MKCOLOUR_XXXX(0x5F),
- MKCOLOUR_XYXY(0x5F, 0x1F),
- MKCOLOUR_XXXX(0x1F),
- MKCOLOUR_XYXY(0x1F, 0x27),
- MKCOLOUR_XXXX(0x27),
- MKCOLOUR_XXXX(0x27),
+ MKCOLOUR(0x59595958),
+ MKCOLOUR(0x59595958),
+ MKCOLOUR(0x59595959),
+ MKCOLOUR(0x5959595A),
+ MKCOLOUR(0x59595A59),
+ MKCOLOUR(0x59595A5A),
+ MKCOLOUR(0x595A5959),
+ MKCOLOUR(0x595A595A),
+ MKC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OLOUR(0x1F1F5F1F),
+ MKCOLOUR(0x1F1F1F5F),
+ MKCOLOUR(0x1F1F1F1F),
+ MKCOLOUR(0x1F1F1F27),
+ MKCOLOUR(0x1F1F271F),
+ MKCOLOUR(0x1F1F2727),
+ MKCOLOUR(0x1F271F1F),
+ MKCOLOUR(0x1F271F27),
+ MKCOLOUR(0x1F272727),
+ MKCOLOUR(0x271F1F1F),
+ MKCOLOUR(0x271F1F27),
+ MKCOLOUR(0x271F271F),
+ MKCOLOUR(0x271F2727),
+ MKCOLOUR(0x27271F1F),
+ MKCOLOUR(0x27271F27),
+ MKCOLOUR(0x2727271F),
+ MKCOLOUR(0x27272727),
};
/** Height map colours for the dark green colour scheme, ordered by height. */
static const uint32 _dark_green_map_heights[] = {
- MKCOLOUR_XXXX(0x60),
- MKCOLOUR_XYXY(0x60, 0x61),
- MKCOLOUR_XXXX(0x61),
- MKCOLOUR_XYXY(0x61, 0x62),
- MKCOLOUR_XXXX(0x62),
- MKCOLOUR_XYXY(0x62, 0x63),
- MKCOLOUR_XXXX(0x63),
- MKCOLOUR_XYXY(0x63, 0x64),
- MKCOLOUR_XXXX(0x64),
- MKCOLOUR_XYXY(0x64, 0x65),
- MKCOLOUR_XXXX(0x65),
- MKCOLOUR_XYXY(0x65, 0x66),
- MKCOLOUR_XXXX(0x66),
- MKCOLOUR_XYXY(0x66, 0x67),
- MKCOLOUR_XXXX(0x67),
- MKCOLOUR_XXXX(0x67),
+ MKCOLOUR(0x60606060),
+ MKCOLOUR(0x60606061),
+ MKCOLOUR(0x60606160),
+ MKCOLOUR(0x60606161),
+ MKCOLOUR(0x60616060),
+ MKCOLOUR(0x60616061),
+ MKCOLOUR(0x60616160),
+ MKCOLOUR(0x60616161),
+ MKCOLOUR(0x61606060),
+ MKCOLOUR(0x61606061),
+ MKCOLOUR(0x61606160),
+ MKCOLOUR(0x61606161),
+ MKCOLOUR(0x61616060),
+ MKCOLOUR(0x61616061),
+ MKCOLOUR(0x61616160),
+ MKCOLOUR(0x61616161),
+ MKCOLOUR(0x61616162),
+ MKCOLOUR(0x61616261),
+ MKCOLOUR(0x61616262),
+ MKCOLOUR(0x61626161),
+ MKCOLOUR(0x61626162),
+ MKCOLOUR(0x61626261),
+ MKCOLOUR(0x61626262),
+ MKCOLOUR(0x62616161),
+ MKCOLOUR(0x62616162),
+ MKCOLOUR(0x62616261),
+ MKCOLOUR(0x62616262),
+ MKCOLOUR(0x62626161),
+ MKCOLOUR(0x62626162),
+ MKCOLOUR(0x62626261),
+ MKCOLOUR(0x62626262),
+ MKCOLOUR(0x62626263),
+ MKCOLOUR(0x62626362),
+ MKCOLOUR(0x62626363),
+ MKCOLOUR(0x62636262),
+ MKCOLOUR(0x62636263),
+ MKCOLOUR(0x62636362),
+ MKCOLOUR(0x62636363),
+ MKCOLOUR(0x63626262),
+ MKCOLOUR(0x63626263),
+ MKCOLOUR(0x63626362),
+ MKCOLOUR(0x63626363),
+ MKCOLOUR(0x63636262),
+ MKCOLOUR(0x63636263),
+ MKCOLOUR(0x63636362),
+ MKCOLOUR(0x63636363),
+ MKCOLOUR(0x63636364),
+ MKCOLOUR(0x63636463),
+ MKCOLOUR(0x63636464),
+ MKCOLOUR(0x63646363),
+ MKCOLOUR(0x63646364),
+ MKCOLOUR(0x63646463),
+ MKCOLOUR(0x63646464),
+ MKCOLOUR(0x64636363),
+ MKCOLOUR(0x64636364),
+ MKCOLOUR(0x64636463),
+ MKCOLOUR(0x64636464),
+ MKCOLOUR(0x64646363),
+ MKCOLOUR(0x64646364),
+ MKCOLOUR(0x64646463),
+ MKCOLOUR(0x64646464),
+ MKCOLOUR(0x64646465),
+ MKCOLOUR(0x64646564),
+ MKCOLOUR(0x64646565),
+ MKCOLOUR(0x64656464),
+ MKCOLOUR(0x64656465),
+ MKCOLOUR(0x64656564),
+ MKCOLOUR(0x64656565),
+ MKCOLOUR(0x65646464),
+ MKCOLOUR(0x65646465),
+ MKCOLOUR(0x65646564),
+ MKCOLOUR(0x65646565),
+ MKCOLOUR(0x65656464),
+ MKCOLOUR(0x65656465),
+ MKCOLOUR(0x65656564),
+ MKCOLOUR(0x65656565),
+ MKCOLOUR(0x65656566),
+ MKCOLOUR(0x65656665),
+ MKCOLOUR(0x65656666),
+ MKCOLOUR(0x65666565),
+ MKCOLOUR(0x65666566),
+ MKCOLOUR(0x65666665),
+ MKCOLOUR(0x65666666),
+ MKCOLOUR(0x66656565),
+ MKCOLOUR(0x66656566),
+ MKCOLOUR(0x66656665),
+ MKCOLOUR(0x66656666),
+ MKCOLOUR(0x66666565),
+ MKCOLOUR(0x66666566),
+ MKCOLOUR(0x66666665),
+ MKCOLOUR(0x66666666),
+ MKCOLOUR(0x66666667),
+ MKCOLOUR(0x66666766),
+ MKCOLOUR(0x66666767),
+ MKCOLOUR(0x66676666),
+ MKCOLOUR(0x66676667),
+ MKCOLOUR(0x66676766),
+ MKCOLOUR(0x66676767),
+ MKCOLOUR(0x67676767),
};
/** Height map colours for the violet colour scheme, ordered by height. */
static const uint32 _violet_map_heights[] = {
- MKCOLOUR_XXXX(0x80),
- MKCOLOUR_XYXY(0x80, 0x81),
- MKCOLOUR_XXXX(0x81),
- MKCOLOUR_XYXY(0x81, 0x82),
- MKCOLOUR_XXXX(0x82),
- MKCOLOUR_XYXY(0x82, 0x83),
- MKCOLOUR_XXXX(0x83),
- MKCOLOUR_XYXY(0x83, 0x84),
- MKCOLOUR_XXXX(0x84),
- MKCOLOUR_XYXY(0x84, 0x85),
- MKCOLOUR_XXXX(0x85),
- MKCOLOUR_XYXY(0x85, 0x86),
- MKCOLOUR_XXXX(0x86),
- MKCOLOUR_XYXY(0x86, 0x87),
- MKCOLOUR_XXXX(0x87),
- MKCOLOUR_XXXX(0x87),
+ MKCOLOUR(0x80808080),
+ MKCOLOUR(0x80808081),
+ MKCOLOUR(0x80808180),
+ MKCOLOUR(0x80808181),
+ MKCOLOUR(0x80818080),
+ MKCOLOUR(0x80818081),
+ MKCOLOUR(0x80818180),
+ MKCOLOUR(0x80818181),
+ MKCOLOUR(0x81808080),
+ MKCOLOUR(0x81808081),
+ MKCOLOUR(0x81808180),
+ MKCOLOUR(0x81808181),
+ MKCOLOUR(0x81818080),
+ MKCOLOUR(0x81818081),
+ MKCOLOUR(0x81818180),
+ MKCOLOUR(0x81818181),
+ MKCOLOUR(0x81818182),
+ MKCOLOUR(0x81818281),
+ MKCOLOUR(0x81818282),
+ MKCOLOUR(0x81828181),
+ MKCOLOUR(0x81828182),
+ MKCOLOUR(0x81828281),
+ MKCOLOUR(0x81828282),
+ MKCOLOUR(0x82818181),
+ MKCOLOUR(0x82818182),
+ MKCOLOUR(0x82818281),
+ MKCOLOUR(0x82818282),
+ MKCOLOUR(0x82828181),
+ MKCOLOUR(0x82828182),
+ MKCOLOUR(0x82828281),
+ MKCOLOUR(0x82828282),
+ MKCOLOUR(0x82828283),
+ MKCOLOUR(0x82828382),
+ MKCOLOUR(0x82828383),
+ MKCOLOUR(0x82838282),
+ MKCOLOUR(0x82838283),
+ MKCOLOUR(0x82838382),
+ MKCOLOUR(0x82838383),
+ MKCOLOUR(0x83828282),
+ MKCOLOUR(0x83828283),
+ MKCOLOUR(0x83828382),
+ MKCOLOUR(0x83828383),
+ MKCOLOUR(0x83838282),
+ MKCOLOUR(0x83838283),
+ MKCOLOUR(0x83838382),
+ MKCOLOUR(0x83838383),
+ MKCOLOUR(0x83838384),
+ MKCOLOUR(0x83838483),
+ MKCOLOUR(0x83838484),
+ MKCOLOUR(0x83848383),
+ MKCOLOUR(0x83848384),
+ MKCOLOUR(0x83848483),
+ MKCOLOUR(0x83848484),
+ MKCOLOUR(0x84838383),
+ MKCOLOUR(0x84838384),
+ MKCOLOUR(0x84838483),
+ MKCOLOUR(0x84838484),
+ MKCOLOUR(0x84848383),
+ MKCOLOUR(0x84848384),
+ MKCOLOUR(0x84848483),
+ MKCOLOUR(0x84848484),
+ MKCOLOUR(0x84848485),
+ MKCOLOUR(0x84848584),
+ MKCOLOUR(0x84848585),
+ MKCOLOUR(0x84858484),
+ MKCOLOUR(0x84858485),
+ MKCOLOUR(0x84858584),
+ MKCOLOUR(0x84858585),
+ MKCOLOUR(0x85848484),
+ MKCOLOUR(0x85848485),
+ MKCOLOUR(0x85848584),
+ MKCOLOUR(0x85848585),
+ MKCOLOUR(0x85858484),
+ MKCOLOUR(0x85858485),
+ MKCOLOUR(0x85858584),
+ MKCOLOUR(0x85858585),
+ MKCOLOUR(0x85858586),
+ MKCOLOUR(0x85858685),
+ MKCOLOUR(0x85858686),
+ MKCOLOUR(0x85868585),
+ MKCOLOUR(0x85868586),
+ MKCOLOUR(0x85868685),
+ MKCOLOUR(0x85868686),
+ MKCOLOUR(0x85868585),
+ MKCOLOUR(0x85868586),
+ MKCOLOUR(0x85868685),
+ MKCOLOUR(0x85868686),
+ MKCOLOUR(0x86868585),
+ MKCOLOUR(0x86868586),
+ MKCOLOUR(0x86868685),
+ MKCOLOUR(0x86868686),
+ MKCOLOUR(0x86868687),
+ MKCOLOUR(0x86868786),
+ MKCOLOUR(0x86868787),
+ MKCOLOUR(0x86878686),
+ MKCOLOUR(0x86878687),
+ MKCOLOUR(0x86878786),
+ MKCOLOUR(0x86878787),
+ MKCOLOUR(0x87868686),
+ MKCOLOUR(0x87868687),
+ MKCOLOUR(0x87868786),
+ MKCOLOUR(0x87868787),
+ MKCOLOUR(0x87878686),
+ MKCOLOUR(0x87878687),
+ MKCOLOUR(0x87878786),
+ MKCOLOUR(0x87878787),
};