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