(svn r27707) -Fix: Make the result of NewGRF's CARGO_NAME string code reliably print...
[openttd.git] / src / table / heightmap_colours.h
blob42b99eeca179b049843a893965a9e12ecaf1b5c0
1 /* $Id$ */
3 /*
4 * This file is part of OpenTTD.
5 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8 */
10 /**
11 * @file heightmap_colours.h The colour tables for heightmaps.
14 /** Height map colours for the green colour scheme, ordered by height. */
15 static const uint32 _green_map_heights[] = {
16 MKCOLOUR(0x59595958),
17 MKCOLOUR(0x59595958),
18 MKCOLOUR(0x59595959),
19 MKCOLOUR(0x5959595A),
20 MKCOLOUR(0x59595A59),
21 MKCOLOUR(0x59595A5A),
22 MKCOLOUR(0x595A5959),
23 MKCOLOUR(0x595A595A),
24 MKCOLOUR(0x595A5A59),
25 MKCOLOUR(0x595A5A5A),
26 MKCOLOUR(0x5A595959),
27 MKCOLOUR(0x5A59595A),
28 MKCOLOUR(0x5A595A59),
29 MKCOLOUR(0x5A595A5A),
30 MKCOLOUR(0x5A5A5959),
31 MKCOLOUR(0x5A5A595A),
32 MKCOLOUR(0x5A5A5A59),
33 MKCOLOUR(0x5A5A5A5A),
34 MKCOLOUR(0x5A5A5A5B),
35 MKCOLOUR(0x5A5A5B5A),
36 MKCOLOUR(0x5A5A5B5B),
37 MKCOLOUR(0x5A5B5A5A),
38 MKCOLOUR(0x5A5B5A5B),
39 MKCOLOUR(0x5A5B5B5A),
40 MKCOLOUR(0x5A5B5B5B),
41 MKCOLOUR(0x5B5A5A5A),
42 MKCOLOUR(0x5B5A5A5B),
43 MKCOLOUR(0x5B5A5B5A),
44 MKCOLOUR(0x5B5A5B5B),
45 MK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E5E5E),
90 MKCOLOUR(0x5E5E5E5F),
91 MKCOLOUR(0x5E5E5F5E),
92 MKCOLOUR(0x5E5E5F5F),
93 MKCOLOUR(0x5E5F5E5E),
94 MKCOLOUR(0x5E5F5E5F),
95 MKCOLOUR(0x5E5F5F5E),
96 MKCOLOUR(0x5E5F5F5F),
97 MKCOLOUR(0x5F5E5E5E),
98 MKCOLOUR(0x5F5E5E5F),
99 MKCOLOUR(0x5F5E5F5E),
100 MKCOLOUR(0x5F5E5F5F),
101 MKCOLOUR(0x5F5F5E5E),
102 MKCOLOUR(0x5F5F5E5F),
103 MKCOLOUR(0x5F5F5F5F),
104 MKCOLOUR(0x5F5F5F1F),
105 MKCOLOUR(0x5F5F1F5F),
106 MKCOLOUR(0x5F5F1F1F),
107 MKCOLOUR(0x5F1F5F1F),
108 MKCOLOUR(0x5F1F1F1F),
109 MKCOLOUR(0x1F5F5F5F),
110 MKCOLOUR(0x1F5F5F1F),
111 MKCOLOUR(0x1F5F1F5F),
112 MKCOLOUR(0x1F5F1F1F),
113 MKCOLOUR(0x1F1F5F5F),
114 MKCOLOUR(0x1F1F5F1F),
115 MKCOLOUR(0x1F1F1F5F),
116 MKCOLOUR(0x1F1F1F1F),
117 MKCOLOUR(0x1F1F1F27),
118 MKCOLOUR(0x1F1F271F),
119 MKCOLOUR(0x1F1F2727),
120 MKCOLOUR(0x1F271F1F),
121 MKCOLOUR(0x1F271F27),
122 MKCOLOUR(0x1F272727),
123 MKCOLOUR(0x271F1F1F),
124 MKCOLOUR(0x271F1F27),
125 MKCOLOUR(0x271F271F),
126 MKCOLOUR(0x271F2727),
127 MKCOLOUR(0x27271F1F),
128 MKCOLOUR(0x27271F27),
129 MKCOLOUR(0x2727271F),
130 MKCOLOUR(0x27272727),
133 /** Height map colours for the dark green colour scheme, ordered by height. */
134 static const uint32 _dark_green_map_heights[] = {
135 MKCOLOUR(0x60606060),
136 MKCOLOUR(0x60606061),
137 MKCOLOUR(0x60606160),
138 MKCOLOUR(0x60606161),
139 MKCOLOUR(0x60616060),
140 MKCOLOUR(0x60616061),
141 MKCOLOUR(0x60616160),
142 MKCOLOUR(0x60616161),
143 MKCOLOUR(0x61606060),
144 MKCOLOUR(0x61606061),
145 MKCOLOUR(0x61606160),
146 MKCOLOUR(0x61606161),
147 MKCOLOUR(0x61616060),
148 MKCOLOUR(0x61616061),
149 MKCOLOUR(0x61616160),
150 MKCOLOUR(0x61616161),
151 MKCOLOUR(0x61616162),
152 MKCOLOUR(0x61616261),
153 MKCOLOUR(0x61616262),
154 MKCOLOUR(0x61626161),
155 MKCOLOUR(0x61626162),
156 MKCOLOUR(0x61626261),
157 MKCOLOUR(0x61626262),
158 MKCOLOUR(0x62616161),
159 MKCOLOUR(0x62616162),
160 MKCOLOUR(0x62616261),
161 MKCOLOUR(0x62616262),
162 MKCOLOUR(0x62626161),
163 MKCOLOUR(0x62626162),
164 MKCOLOUR(0x62626261),
165 MKCOLOUR(0x62626262),
166 MKCOLOUR(0x62626263),
167 MKCOLOUR(0x62626362),
168 MKCOLOUR(0x62626363),
169 MKCOLOUR(0x62636262),
170 MKCOLOUR(0x62636263),
171 MKCOLOUR(0x62636362),
172 MKCOLOUR(0x62636363),
173 MKCOLOUR(0x63626262),
174 MKCOLOUR(0x63626263),
175 MKCOLOUR(0x63626362),
176 MKCOLOUR(0x63626363),
177 MKCOLOUR(0x63636262),
178 MKCOLOUR(0x63636263),
179 MKCOLOUR(0x63636362),
180 MKCOLOUR(0x63636363),
181 MKCOLOUR(0x63636364),
182 MKCOLOUR(0x63636463),
183 MKCOLOUR(0x63636464),
184 MKCOLOUR(0x63646363),
185 MKCOLOUR(0x63646364),
186 MKCOLOUR(0x63646463),
187 MKCOLOUR(0x63646464),
188 MKCOLOUR(0x64636363),
189 MKCOLOUR(0x64636364),
190 MKCOLOUR(0x64636463),
191 MKCOLOUR(0x64636464),
192 MKCOLOUR(0x64646363),
193 MKCOLOUR(0x64646364),
194 MKCOLOUR(0x64646463),
195 MKCOLOUR(0x64646464),
196 MKCOLOUR(0x64646465),
197 MKCOLOUR(0x64646564),
198 MKCOLOUR(0x64646565),
199 MKCOLOUR(0x64656464),
200 MKCOLOUR(0x64656465),
201 MKCOLOUR(0x64656564),
202 MKCOLOUR(0x64656565),
203 MKCOLOUR(0x65646464),
204 MKCOLOUR(0x65646465),
205 MKCOLOUR(0x65646564),
206 MKCOLOUR(0x65646565),
207 MKCOLOUR(0x65656464),
208 MKCOLOUR(0x65656465),
209 MKCOLOUR(0x65656564),
210 MKCOLOUR(0x65656565),
211 MKCOLOUR(0x65656566),
212 MKCOLOUR(0x65656665),
213 MKCOLOUR(0x65656666),
214 MKCOLOUR(0x65666565),
215 MKCOLOUR(0x65666566),
216 MKCOLOUR(0x65666665),
217 MKCOLOUR(0x65666666),
218 MKCOLOUR(0x66656565),
219 MKCOLOUR(0x66656566),
220 MKCOLOUR(0x66656665),
221 MKCOLOUR(0x66656666),
222 MKCOLOUR(0x66666565),
223 MKCOLOUR(0x66666566),
224 MKCOLOUR(0x66666665),
225 MKCOLOUR(0x66666666),
226 MKCOLOUR(0x66666667),
227 MKCOLOUR(0x66666766),
228 MKCOLOUR(0x66666767),
229 MKCOLOUR(0x66676666),
230 MKCOLOUR(0x66676667),
231 MKCOLOUR(0x66676766),
232 MKCOLOUR(0x66676767),
233 MKCOLOUR(0x67676767),
236 /** Height map colours for the violet colour scheme, ordered by height. */
237 static const uint32 _violet_map_heights[] = {
238 MKCOLOUR(0x80808080),
239 MKCOLOUR(0x80808081),
240 MKCOLOUR(0x80808180),
241 MKCOLOUR(0x80808181),
242 MKCOLOUR(0x80818080),
243 MKCOLOUR(0x80818081),
244 MKCOLOUR(0x80818180),
245 MKCOLOUR(0x80818181),
246 MKCOLOUR(0x81808080),
247 MKCOLOUR(0x81808081),
248 MKCOLOUR(0x81808180),
249 MKCOLOUR(0x81808181),
250 MKCOLOUR(0x81818080),
251 MKCOLOUR(0x81818081),
252 MKCOLOUR(0x81818180),
253 MKCOLOUR(0x81818181),
254 MKCOLOUR(0x81818182),
255 MKCOLOUR(0x81818281),
256 MKCOLOUR(0x81818282),
257 MKCOLOUR(0x81828181),
258 MKCOLOUR(0x81828182),
259 MKCOLOUR(0x81828281),
260 MKCOLOUR(0x81828282),
261 MKCOLOUR(0x82818181),
262 MKCOLOUR(0x82818182),
263 MKCOLOUR(0x82818281),
264 MKCOLOUR(0x82818282),
265 MKCOLOUR(0x82828181),
266 MKCOLOUR(0x82828182),
267 MKCOLOUR(0x82828281),
268 MKCOLOUR(0x82828282),
269 MKCOLOUR(0x82828283),
270 MKCOLOUR(0x82828382),
271 MKCOLOUR(0x82828383),
272 MKCOLOUR(0x82838282),
273 MKCOLOUR(0x82838283),
274 MKCOLOUR(0x82838382),
275 MKCOLOUR(0x82838383),
276 MKCOLOUR(0x83828282),
277 MKCOLOUR(0x83828283),
278 MKCOLOUR(0x83828382),
279 MKCOLOUR(0x83828383),
280 MKCOLOUR(0x83838282),
281 MKCOLOUR(0x83838283),
282 MKCOLOUR(0x83838382),
283 MKCOLOUR(0x83838383),
284 MKCOLOUR(0x83838384),
285 MKCOLOUR(0x83838483),
286 MKCOLOUR(0x83838484),
287 MKCOLOUR(0x83848383),
288 MKCOLOUR(0x83848384),
289 MKCOLOUR(0x83848483),
290 MKCOLOUR(0x83848484),
291 MKCOLOUR(0x84838383),
292 MKCOLOUR(0x84838384),
293 MKCOLOUR(0x84838483),
294 MKCOLOUR(0x84838484),
295 MKCOLOUR(0x84848383),
296 MKCOLOUR(0x84848384),
297 MKCOLOUR(0x84848483),
298 MKCOLOUR(0x84848484),
299 MKCOLOUR(0x84848485),
300 MKCOLOUR(0x84848584),
301 MKCOLOUR(0x84848585),
302 MKCOLOUR(0x84858484),
303 MKCOLOUR(0x84858485),
304 MKCOLOUR(0x84858584),
305 MKCOLOUR(0x84858585),
306 MKCOLOUR(0x85848484),
307 MKCOLOUR(0x85848485),
308 MKCOLOUR(0x85848584),
309 MKCOLOUR(0x85848585),
310 MKCOLOUR(0x85858484),
311 MKCOLOUR(0x85858485),
312 MKCOLOUR(0x85858584),
313 MKCOLOUR(0x85858585),
314 MKCOLOUR(0x85858586),
315 MKCOLOUR(0x85858685),
316 MKCOLOUR(0x85858686),
317 MKCOLOUR(0x85868585),
318 MKCOLOUR(0x85868586),
319 MKCOLOUR(0x85868685),
320 MKCOLOUR(0x85868686),
321 MKCOLOUR(0x85868585),
322 MKCOLOUR(0x85868586),
323 MKCOLOUR(0x85868685),
324 MKCOLOUR(0x85868686),
325 MKCOLOUR(0x86868585),
326 MKCOLOUR(0x86868586),
327 MKCOLOUR(0x86868685),
328 MKCOLOUR(0x86868686),
329 MKCOLOUR(0x86868687),
330 MKCOLOUR(0x86868786),
331 MKCOLOUR(0x86868787),
332 MKCOLOUR(0x86878686),
333 MKCOLOUR(0x86878687),
334 MKCOLOUR(0x86878786),
335 MKCOLOUR(0x86878787),
336 MKCOLOUR(0x87868686),
337 MKCOLOUR(0x87868687),
338 MKCOLOUR(0x87868786),
339 MKCOLOUR(0x87868787),
340 MKCOLOUR(0x87878686),
341 MKCOLOUR(0x87878687),
342 MKCOLOUR(0x87878786),
343 MKCOLOUR(0x87878787),