OpenTTD Source 20261112-master-gbcbec5e63f
genland.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 <https://www.gnu.org/licenses/old-licenses/gpl-2.0>.
6 */
7
9
10static const TileIndexDiffC _make_desert_or_rainforest_data[] = {
11 {-5, -5},
12 {-4, -5},
13 {-3, -5},
14 {-2, -5},
15 {-1, -5},
16 { 0, -5},
17 { 1, -5},
18 { 2, -5},
19 { 3, -5},
20 { 4, -5},
21 { 5, -5},
22 {-5, -4},
23 {-4, -4},
24 {-3, -4},
25 {-2, -4},
26 {-1, -4},
27 { 0, -4},
28 { 1, -4},
29 { 2, -4},
30 { 3, -4},
31 { 4, -4},
32 { 5, -4},
33 {-5, -3},
34 {-4, -3},
35 {-3, -3},
36 {-2, -3},
37 {-1, -3},
38 { 0, -3},
39 { 1, -3},
40 { 2, -3},
41 { 3, -3},
42 { 4, -3},
43 { 5, -3},
44 {-5, -2},
45 {-4, -2},
46 {-3, -2},
47 {-2, -2},
48 {-1, -2},
49 { 0, -2},
50 { 1, -2},
51 { 2, -2},
52 { 3, -2},
53 { 4, -2},
54 { 5, -2},
55 {-5, -1},
56 {-4, -1},
57 {-3, -1},
58 {-2, -1},
59 {-1, -1},
60 { 0, -1},
61 { 1, -1},
62 { 2, -1},
63 { 3, -1},
64 { 4, -1},
65 { 5, -1},
66 {-5, 0},
67 {-4, 0},
68 {-3, 0},
69 {-2, 0},
70 {-1, 0},
71 { 0, 0},
72 { 1, 0},
73 { 2, 0},
74 { 3, 0},
75 { 4, 0},
76 { 5, 0},
77 {-5, 1},
78 {-4, 1},
79 {-3, 1},
80 {-2, 1},
81 {-1, 1},
82 { 0, 1},
83 { 1, 1},
84 { 2, 1},
85 { 3, 1},
86 { 4, 1},
87 { 5, 1},
88 {-5, 2},
89 {-4, 2},
90 {-3, 2},
91 {-2, 2},
92 {-1, 2},
93 { 0, 2},
94 { 1, 2},
95 { 2, 2},
96 { 3, 2},
97 { 4, 2},
98 { 5, 2},
99 {-5, 3},
100 {-4, 3},
101 {-3, 3},
102 {-2, 3},
103 {-1, 3},
104 { 0, 3},
105 { 1, 3},
106 { 2, 3},
107 { 3, 3},
108 { 4, 3},
109 { 5, 3},
110 {-5, 4},
111 {-4, 4},
112 {-3, 4},
113 {-2, 4},
114 {-1, 4},
115 { 0, 4},
116 { 1, 4},
117 { 2, 4},
118 { 3, 4},
119 { 4, 4},
120 { 5, 4},
121 {-5, 5},
122 {-4, 5},
123 {-3, 5},
124 {-2, 5},
125 {-1, 5},
126 { 0, 5},
127 { 1, 5},
128 { 2, 5},
129 { 3, 5},
130 { 4, 5},
131 { 5, 5},
132 { 6, -3},
133 {-6, -3},
134 {-3, 6},
135 {-3, -6},
136 { 6, -2},
137 {-6, -2},
138 {-2, 6},
139 {-2, -6},
140 { 6, -1},
141 {-6, -1},
142 {-1, 6},
143 {-1, -6},
144 { 6, 0},
145 {-6, 0},
146 { 0, 6},
147 { 0, -6},
148 { 6, 1},
149 {-6, 1},
150 { 1, 6},
151 { 1, -6},
152 { 6, 2},
153 {-6, 2},
154 { 2, 6},
155 { 2, -6},
156 { 6, 3},
157 {-6, 3},
158 { 3, 6},
159 { 3, -6}
160};
A pair-construct of a TileIndexDiff.
Definition map_type.h:31