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