OpenTTD Source  20240919-master-gdf0233f4c2
landscape_sprite.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 
10 static const SpriteID END = 0xFFFF;
11 
12 static const SpriteID _landscape_spriteindexes_arctic[] = {
13  0xF67, 0xF9F,
14  0xAAD, 0xAB0,
15  0x83A, 0x845,
16  0xFA0, 0xFC9,
17  0x43F, 0x45E,
18  0x566, 0x56D,
19  0x945, 0x94C,
20  0x3ED, 0x40C,
21  0x515, 0x51C,
22  0x55A, 0x561,
23  0x534, 0x546,
24  0x93D, 0x944,
25  0x955, 0x95C,
26  0xFDD, 0xFEC,
27  0x87D, 0x883,
28  0xA2B, 0xA39,
29  0x497, 0x4B0,
30  0x572, 0x575,
31  0x94D, 0x954,
32  0x818, 0x81D,
33  0x3DE, 0x3EB,
34  0x1212, 0x1212,
35  END
36 };
37 
38 static const SpriteID _landscape_spriteindexes_tropic[] = {
39  0xF67, 0xF9F,
40  0xAAD, 0xAB0,
41  0xFA0, 0xFC9,
42  0x43F, 0x45E,
43  0x566, 0x56D,
44  0x945, 0x94C,
45  0x3ED, 0x40C,
46  0x515, 0x51C,
47  0x55A, 0x561,
48  0x547, 0x559,
49  0x93D, 0x944,
50  0x955, 0x95C,
51  0xFDD, 0xFEC,
52  0x87D, 0x883,
53  0xA2B, 0xA39,
54  0x497, 0x4B0,
55  0x572, 0x575,
56  0x94D, 0x954,
57  0x5AE, 0x5AF,
58  0x118D, 0x11D8,
59  0x534, 0x546,
60  0x40D, 0x426,
61  0x45F, 0x478,
62  0x4B1, 0x4CA,
63  0x95D, 0x97C,
64  0x3DE, 0x3EB,
65  0x562, 0x565,
66  0x56E, 0x571,
67  0x57A, 0x57D,
68  0x83A, 0x845,
69  0xFF5, 0xFF5,
70  0xFF8, 0xFF8,
71  0x1212, 0x1212,
72  END
73 };
74 
75 static const SpriteID _landscape_spriteindexes_toyland[] = {
76  0xF54, 0xF9F,
77  0xFDD, 0xFE5,
78  0xFEC, 0xFEC,
79  0xFA0, 0xFC9,
80  0x818, 0x81D,
81  0x521, 0x546,
82  0x57E, 0x57F,
83  0x3ED, 0x40C,
84  0x43F, 0x45E,
85  0x491, 0x4B0,
86  0xA48, 0xA48,
87  0x4FB, 0x50A,
88  0x55A, 0x561,
89  0x566, 0x56D,
90  0x572, 0x579,
91  0x427, 0x42C,
92  0x479, 0x47E,
93  0x4CB, 0x4D0,
94  0x4EF, 0x4FA,
95  0xE9D, 0xECC,
96  0xF3D, 0xF40,
97  0xB59, 0xB60,
98  0xE5D, 0xE6C,
99  0xA49, 0xA59,
100  0xA63, 0xA68,
101  0xA5A, 0xA62,
102  0xA78, 0xA83,
103  0xA69, 0xA77,
104  0xA84, 0xAA3,
105  0xAA7, 0xAAC,
106  0xA2B, 0xA47,
107  0x3DE, 0x3EB,
108  0x47F, 0x488,
109  0x4D1, 0x4DA,
110  0x42D, 0x436,
111  0x515, 0x51C,
112  0x580, 0x585,
113  0xC14, 0xCB3,
114  0xAAD, 0xAB0,
115  0xAB5, 0xB00,
116  0xB69, 0xB70,
117  0xB61, 0xB68,
118  0xBC9, 0xBD0,
119  0xBD9, 0xBE0,
120  0xBA9, 0xBB0,
121  0xBC1, 0xBC4,
122  0x2D0, 0x2D0,
123  0xAA5, 0xAA6,
124  0x50F, 0x50F,
125  0x2EA, 0x2EA,
126  0x2ED, 0x2EE,
127  0x512, 0x513,
128  0x4EB, 0x4EE,
129  0x4E7, 0x4EA,
130  0x985, 0xA28,
131  0x10E4, 0x1133,
132  0x93D, 0x95C,
133  0x97D, 0x984,
134  0x7DA, 0x7DA,
135  0x2E6, 0x2E6,
136  0x1, 0x1,
137  0xE54, 0xE54,
138  0x51F, 0x520,
139  0x514, 0x514,
140  0x511, 0x511,
141  0x322, 0x322,
142  END
143 };
SpriteID
uint32_t SpriteID
The number of a sprite, without mapping bits and colourtables.
Definition: gfx_type.h:18