-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathimages.h
316 lines (310 loc) · 8.11 KB
/
images.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
/*
* images.h
* XBolo
*
* Created by Robert Chrzanowski on 10/11/09.
* Copyright 2009 Robert Chrzanowski. All rights reserved.
*
*/
#ifndef __IMAGES__
#define __IMAGES__
#define WALL46IMAGE (0x00)
#define WALL17IMAGE (0x01)
#define WALL01IMAGE (0x02)
#define WALL20IMAGE (0x03)
#define WALL04IMAGE (0x04)
#define WALL05IMAGE (0x05)
#define WALL27IMAGE (0x06)
#define WALL28IMAGE (0x07)
#define WALL38IMAGE (0x08)
#define WALL32IMAGE (0x09)
#define WALL25IMAGE (0x0a)
#define WALL23IMAGE (0x0b)
#define RIVE15IMAGE (0x0c)
#define RIVE09IMAGE (0x0d)
#define RIVE10IMAGE (0x0e)
#define RIVE11IMAGE (0x0f)
#define WALL22IMAGE (0x10)
#define WALL12IMAGE (0x11)
#define WALL13IMAGE (0x12)
#define WALL14IMAGE (0x13)
#define WALL00IMAGE (0x14)
#define WALL02IMAGE (0x15)
#define WALL29IMAGE (0x16)
#define WALL30IMAGE (0x17)
#define WALL33IMAGE (0x18)
#define WALL35IMAGE (0x19)
#define WALL26IMAGE (0x1a)
#define WALL24IMAGE (0x1b)
#define RIVE14IMAGE (0x1c)
#define RIVE06IMAGE (0x1d)
#define RIVE07IMAGE (0x1e)
#define RIVE08IMAGE (0x1f)
#define WALL03IMAGE (0x20)
#define WALL09IMAGE (0x21)
#define WALL10IMAGE (0x22)
#define WALL11IMAGE (0x23)
#define WALL40IMAGE (0x24)
#define WALL39IMAGE (0x25)
#define WALL19IMAGE (0x26)
#define WALL16IMAGE (0x27)
#define WALL31IMAGE (0x28)
#define WALL37IMAGE (0x29)
#define WALL44IMAGE (0x2a)
#define WALL43IMAGE (0x2b)
#define RIVE13IMAGE (0x2c)
#define RIVE03IMAGE (0x2d)
#define RIVE04IMAGE (0x2e)
#define RIVE05IMAGE (0x2f)
#define WALL15IMAGE (0x30)
#define WALL06IMAGE (0x31)
#define WALL07IMAGE (0x32)
#define WALL08IMAGE (0x33)
#define WALL42IMAGE (0x34)
#define WALL41IMAGE (0x35)
#define WALL21IMAGE (0x36)
#define WALL18IMAGE (0x37)
#define WALL36IMAGE (0x38)
#define WALL34IMAGE (0x39)
#define WALL45IMAGE (0x3a)
#define FORE09IMAGE (0x3b)
#define RIVE12IMAGE (0x3c)
#define RIVE00IMAGE (0x3d)
#define RIVE01IMAGE (0x3e)
#define RIVE02IMAGE (0x3f)
#define ROAD12IMAGE (0x40)
#define ROAD13IMAGE (0x41)
#define ROAD14IMAGE (0x42)
#define ROAD24IMAGE (0x43)
#define ROAD29IMAGE (0x44)
#define ROAD25IMAGE (0x45)
#define SEAA00IMAGE (0x46)
#define SEAA02IMAGE (0x47)
#define SEAA01IMAGE (0x48)
#define FORE02IMAGE (0x49)
#define FORE05IMAGE (0x4a)
#define FORE06IMAGE (0x4b)
#define CRAT15IMAGE (0x4c)
#define CRAT09IMAGE (0x4d)
#define CRAT10IMAGE (0x4e)
#define CRAT11IMAGE (0x4f)
#define ROAD09IMAGE (0x50)
#define ROAD10IMAGE (0x51)
#define ROAD11IMAGE (0x52)
#define ROAD27IMAGE (0x53)
#define ROAD30IMAGE (0x54)
#define ROAD28IMAGE (0x55)
#define SEAA04IMAGE (0x56)
#define SEAA08IMAGE (0x57)
#define SEAA06IMAGE (0x58)
#define FORE08IMAGE (0x59)
#define FORE03IMAGE (0x5a)
#define FORE04IMAGE (0x5b)
#define CRAT14IMAGE (0x5c)
#define CRAT06IMAGE (0x5d)
#define CRAT07IMAGE (0x5e)
#define CRAT08IMAGE (0x5f)
#define ROAD06IMAGE (0x60)
#define ROAD07IMAGE (0x61)
#define ROAD08IMAGE (0x62)
#define ROAD20IMAGE (0x63)
#define ROAD26IMAGE (0x64)
#define ROAD22IMAGE (0x65)
#define SEAA03IMAGE (0x66)
#define SEAA07IMAGE (0x67)
#define SEAA05IMAGE (0x68)
#define FORE07IMAGE (0x69)
#define FORE00IMAGE (0x6a)
#define FORE01IMAGE (0x6b)
#define CRAT13IMAGE (0x6c)
#define CRAT03IMAGE (0x6d)
#define CRAT04IMAGE (0x6e)
#define CRAT05IMAGE (0x6f)
#define ROAD00IMAGE (0x70)
#define ROAD02IMAGE (0x71)
#define ROAD04IMAGE (0x72)
#define ROAD05IMAGE (0x73)
#define ROAD03IMAGE (0x74)
#define ROAD01IMAGE (0x75)
#define ROAD15IMAGE (0x76)
#define ROAD18IMAGE (0x77)
#define ROAD17IMAGE (0x78)
#define ROAD16IMAGE (0x79)
#define ROAD23IMAGE (0x7a)
#define ROAD21IMAGE (0x7b)
#define CRAT12IMAGE (0x7c)
#define CRAT00IMAGE (0x7d)
#define CRAT01IMAGE (0x7e)
#define CRAT02IMAGE (0x7f)
#define BOAT00IMAGE (0x80)
#define BOAT01IMAGE (0x81)
#define BOAT02IMAGE (0x82)
#define BOAT03IMAGE (0x83)
#define BOAT04IMAGE (0x84)
#define BOAT05IMAGE (0x85)
#define BOAT06IMAGE (0x86)
#define BOAT07IMAGE (0x87)
#define GRAS00IMAGE (0x88)
#define SWAM00IMAGE (0x89)
#define RUBB00IMAGE (0x8a)
#define DAMG00IMAGE (0x8b)
#define NBAS00IMAGE (0x8c)
#define FBAS00IMAGE (0x8d)
#define HBAS00IMAGE (0x8e)
#define ROAD19IMAGE (0x8f)
#define FPIL00IMAGE (0x90)
#define FPIL01IMAGE (0x91)
#define FPIL02IMAGE (0x92)
#define FPIL03IMAGE (0x93)
#define FPIL04IMAGE (0x94)
#define FPIL05IMAGE (0x95)
#define FPIL06IMAGE (0x96)
#define FPIL07IMAGE (0x97)
#define FPIL08IMAGE (0x98)
#define FPIL09IMAGE (0x99)
#define FPIL10IMAGE (0x9a)
#define FPIL11IMAGE (0x9b)
#define FPIL12IMAGE (0x9c)
#define FPIL13IMAGE (0x9d)
#define FPIL14IMAGE (0x9e)
#define FPIL15IMAGE (0x9f)
#define HPIL00IMAGE (0xa0)
#define HPIL01IMAGE (0xa1)
#define HPIL02IMAGE (0xa2)
#define HPIL03IMAGE (0xa3)
#define HPIL04IMAGE (0xa4)
#define HPIL05IMAGE (0xa5)
#define HPIL06IMAGE (0xa6)
#define HPIL07IMAGE (0xa7)
#define HPIL08IMAGE (0xa8)
#define HPIL09IMAGE (0xa9)
#define HPIL10IMAGE (0xaa)
#define HPIL11IMAGE (0xab)
#define HPIL12IMAGE (0xac)
#define HPIL13IMAGE (0xad)
#define HPIL14IMAGE (0xae)
#define HPIL15IMAGE (0xaf)
#define MINE00IMAGE (0xb0)
/* sprites */
#define PTKB00IMAGE (0x00)
#define PTKB01IMAGE (0x01)
#define PTKB02IMAGE (0x02)
#define PTKB03IMAGE (0x03)
#define PTKB04IMAGE (0x04)
#define PTKB05IMAGE (0x05)
#define PTKB06IMAGE (0x06)
#define PTKB07IMAGE (0x07)
#define PTKB08IMAGE (0x08)
#define PTKB08IMAGE (0x08)
#define PTKB09IMAGE (0x09)
#define PTKB10IMAGE (0x0a)
#define PTKB11IMAGE (0x0b)
#define PTKB12IMAGE (0x0c)
#define PTKB13IMAGE (0x0d)
#define PTKB14IMAGE (0x0e)
#define PTKB15IMAGE (0x0f)
#define PTNK00IMAGE (0x10)
#define PTNK01IMAGE (0x11)
#define PTNK02IMAGE (0x12)
#define PTNK03IMAGE (0x13)
#define PTNK04IMAGE (0x14)
#define PTNK05IMAGE (0x15)
#define PTNK06IMAGE (0x16)
#define PTNK07IMAGE (0x17)
#define PTNK08IMAGE (0x18)
#define PTNK08IMAGE (0x18)
#define PTNK09IMAGE (0x19)
#define PTNK10IMAGE (0x1a)
#define PTNK11IMAGE (0x1b)
#define PTNK12IMAGE (0x1c)
#define PTNK13IMAGE (0x1d)
#define PTNK14IMAGE (0x1e)
#define PTNK15IMAGE (0x1f)
#define FTKB00IMAGE (0x20)
#define FTKB01IMAGE (0x21)
#define FTKB02IMAGE (0x22)
#define FTKB03IMAGE (0x23)
#define FTKB04IMAGE (0x24)
#define FTKB05IMAGE (0x25)
#define FTKB06IMAGE (0x26)
#define FTKB07IMAGE (0x27)
#define FTKB08IMAGE (0x28)
#define FTKB08IMAGE (0x28)
#define FTKB09IMAGE (0x29)
#define FTKB10IMAGE (0x2a)
#define FTKB11IMAGE (0x2b)
#define FTKB12IMAGE (0x2c)
#define FTKB13IMAGE (0x2d)
#define FTKB14IMAGE (0x2e)
#define FTKB15IMAGE (0x2f)
#define FTNK00IMAGE (0x30)
#define FTNK01IMAGE (0x31)
#define FTNK02IMAGE (0x32)
#define FTNK03IMAGE (0x33)
#define FTNK04IMAGE (0x34)
#define FTNK05IMAGE (0x35)
#define FTNK06IMAGE (0x36)
#define FTNK07IMAGE (0x37)
#define FTNK08IMAGE (0x38)
#define FTNK08IMAGE (0x38)
#define FTNK09IMAGE (0x39)
#define FTNK10IMAGE (0x3a)
#define FTNK11IMAGE (0x3b)
#define FTNK12IMAGE (0x3c)
#define FTNK13IMAGE (0x3d)
#define FTNK14IMAGE (0x3e)
#define FTNK15IMAGE (0x3f)
#define ETKB00IMAGE (0x40)
#define ETKB01IMAGE (0x41)
#define ETKB02IMAGE (0x42)
#define ETKB03IMAGE (0x43)
#define ETKB04IMAGE (0x44)
#define ETKB05IMAGE (0x45)
#define ETKB06IMAGE (0x46)
#define ETKB07IMAGE (0x47)
#define ETKB08IMAGE (0x48)
#define ETKB08IMAGE (0x48)
#define ETKB09IMAGE (0x49)
#define ETKB10IMAGE (0x4a)
#define ETKB11IMAGE (0x4b)
#define ETKB12IMAGE (0x4c)
#define ETKB13IMAGE (0x4d)
#define ETKB14IMAGE (0x4e)
#define ETKB15IMAGE (0x4f)
#define ETNK00IMAGE (0x50)
#define ETNK01IMAGE (0x51)
#define ETNK02IMAGE (0x52)
#define ETNK03IMAGE (0x53)
#define ETNK04IMAGE (0x54)
#define ETNK05IMAGE (0x55)
#define ETNK06IMAGE (0x56)
#define ETNK07IMAGE (0x57)
#define ETNK08IMAGE (0x58)
#define ETNK08IMAGE (0x58)
#define ETNK09IMAGE (0x59)
#define ETNK10IMAGE (0x5a)
#define ETNK11IMAGE (0x5b)
#define ETNK12IMAGE (0x5c)
#define ETNK13IMAGE (0x5d)
#define ETNK14IMAGE (0x5e)
#define ETNK15IMAGE (0x5f)
#define SHELL0IMAGE (0x60)
#define SHELL1IMAGE (0x61)
#define SHELL2IMAGE (0x62)
#define SHELL3IMAGE (0x63)
#define SHELL4IMAGE (0x64)
#define SHELL5IMAGE (0x65)
#define EXPLO0IMAGE (0x70)
#define EXPLO1IMAGE (0x71)
#define EXPLO2IMAGE (0x72)
#define EXPLO3IMAGE (0x73)
#define EXPLO4IMAGE (0x74)
#define EXPLO5IMAGE (0x75)
#define BUILD0IMAGE (0x80)
#define BUILD1IMAGE (0x81)
#define BUILD2IMAGE (0x82)
#define CROSSHIMAGE (0x90)
#define SELETRIMAGE (0x91)
/* returns the image tile for x, y */
int mapimage(int tiles[][256], int x, int y);
#endif /* __IMAGES__ */