forked from keendreams/keen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
graphkdr.h
465 lines (457 loc) · 13.4 KB
/
graphkdr.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
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
/* Keen Dreams Source Code
* Copyright (C) 2014 Javier M. Chavez
*
* This program 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; either version 2 of the License, or
* (at your option) any later version.
*
* This program 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. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
//////////////////////////////////////
//
// Graphics .H file for .KDR
// IGRAB-ed on Fri Sep 10 11:18:07 1993
//
//////////////////////////////////////
#define CTL_STARTUPPIC 4
#define CTL_HELPUPPIC 5
#define CTL_DISKUPPIC 6
#define CTL_CONTROLSUPPIC 7
#define CTL_SOUNDUPPIC 8
#define CTL_MUSICUPPIC 9
#define CTL_STARTDNPIC 10
#define CTL_HELPDNPIC 11
#define CTL_DISKDNPIC 12
#define CTL_CONTROLSDNPIC 13
#define CTL_SOUNDDNPIC 14
#define CTL_MUSICDNPIC 15
#define CTL_C_KBDUPPIC 16
#define CTL_C_JOY1UPPIC 17
#define CTL_C_JOY2UPPIC 18
#define CTL_S_NOSNDUPPIC 19
#define CTL_S_PCSNDUPPIC 20
#define CTL_S_ADLIBUPPIC 21
#define CTL_S_SNDBLUPPIC 22
#define CTL_S_SNDSRCUPPIC 23
#define CTL_M_NOMUSUPPIC 24
#define CTL_C_KBDDNPIC 25
#define CTL_C_JOY1DNPIC 26
#define CTL_C_JOY2DNPIC 27
#define CTL_S_NOSNDDNPIC 28
#define CTL_S_PCSNDDNPIC 29
#define CTL_S_ADLIBDNPIC 30
#define CTL_S_SNDBLDNPIC 31
#define CTL_S_SNDSRCDNPIC 32
#define CTL_M_NOMUSDNPIC 33
#define CTL_CHECKUPPIC 34
#define CTL_CHECKDNPIC 35
#define CTL_KEYCAPPIC 36
#define CTL_KEYCAPCURPIC 37
#define CTL_DIRSPIC 38
#define CTL_D_SAVEUPPIC 39
#define CTL_D_SAVEDNPIC 40
#define CTL_D_LOADUPPIC 41
#define CTL_D_LOADDNPIC 42
#define CTL_P_EASYUPPIC 43
#define CTL_P_EASYDNPIC 44
#define CTL_P_MEDUPPIC 45
#define CTL_P_MEDDNPIC 46
#define CTL_P_HARDUPPIC 47
#define CTL_P_HARDDNPIC 48
#define CTL_P_RESUMEUPPIC 49
#define CTL_P_RESUMEDNPIC 50
#define CTL_P_GORESUMEUPPIC 51
#define CTL_P_GORESUMEDNPIC 52
#define CTL_P_NEWGAMEUPPIC 53
#define CTL_P_NEWGAMEDNPIC 54
#define CTL_C_CALIBRATEUPPIC 55
#define CTL_C_CALIBRATEDNPIC 56
#define CTL_H_STORYUPPIC 57
#define CTL_H_STORYDNPIC 58
#define CTL_H_CTRLUPPIC 59
#define CTL_H_CTRLDNPIC 60
#define CTL_H_LOSTUPPIC 61
#define CTL_H_LOSTDNPIC 62
#define CTL_D_LSGAMEUPPIC 63
#define CTL_D_LSGAMEDNPIC 64
#define CTL_D_DOSUPPIC 65
#define CTL_D_DOSDNPIC 66
#define CTL_D_EXITUPPIC 67
#define CTL_D_EXITDNPIC 68
#define CTL_LITTLEMASKPICM 69
#define CTL_LSMASKPICM 70
#define CURSORARROWSPR 71
#define KEENSTANDRSPR 72
#define KEENRUNR1SPR 73
#define KEENRUNR2SPR 74
#define KEENRUNR3SPR 75
#define KEENRUNR4SPR 76
#define KEENJUMPR1SPR 77
#define KEENJUMPR2SPR 78
#define KEENJUMPR3SPR 79
#define KEENSTANDLSPR 80
#define KEENRUNL1SPR 81
#define KEENRUNL2SPR 82
#define KEENRUNL3SPR 83
#define KEENRUNL4SPR 84
#define KEENJUMPL1SPR 85
#define KEENJUMPL2SPR 86
#define KEENJUMPL3SPR 87
#define KEENLOOKURSPR 88
#define KEENWAITR1SPR 89
#define KEENWAITR2SPR 90
#define KEENWAITR3SPR 91
#define KEENTURNRSPR 92
#define KEENJUMPUR1SPR 93
#define KEENJUMPUR2SPR 94
#define KEENLOOKULSPR 95
#define KEENWAITL1SPR 96
#define KEENWAITL2SPR 97
#define KEENWAITL3SPR 98
#define KEENTURNLSPR 99
#define KEENJUMPUL1SPR 100
#define KEENJUMPUL2SPR 101
#define KEENYAWN1SPR 102
#define KEENYAWN2SPR 103
#define KEENYAWN3SPR 104
#define KEENYAWN4SPR 105
#define KEENDUCKRSPR 106
#define KEENDUCKLSPR 107
#define KEENTHROWL1SPR 108
#define KEENTHROWL2SPR 109
#define KEENTHROWL3SPR 110
#define KEENTHROWU1SPR 111
#define KEENTHROWU2SPR 112
#define KEENSLEEP1SPR 113
#define KEENSLEEP2SPR 114
#define KEENSLEEP3SPR 115
#define KEENSLEEP4SPR 116
#define KEENTHROWR1SPR 117
#define KEENTHROWR2SPR 118
#define KEENTHROWR3SPR 119
#define KEENZEES1SPR 120
#define KEENZEES2SPR 121
#define KEENZEES3SPR 122
#define KEENJLTHROWL1SPR 123
#define KEENJLTHROWL2SPR 124
#define KEENJLTHROWU1SPR 125
#define KEENJLTHROWU2SPR 126
#define KEENJLTHROWD1SPR 127
#define KEENJLTHROWD2SPR 128
#define KEENJRTHROWR1SPR 129
#define KEENJRTHROWR2SPR 130
#define KEENJRTHROWU1SPR 131
#define KEENJRTHROWU2SPR 132
#define KEENJRTHROWD1SPR 133
#define KEENJRTHROWD2SPR 134
#define KEENDREAM1SPR 135
#define KEENDREAM2SPR 136
#define KEENDREAM3SPR 137
#define KEENSHINNYR1SPR 138
#define KEENSHINNYR2SPR 139
#define KEENSHINNYR3SPR 140
#define KEENSLIDED1SPR 141
#define KEENSLIDED2SPR 142
#define KEENSLIDED3SPR 143
#define KEENSLIDED4SPR 144
#define KEENSHINNYL1SPR 145
#define KEENSHINNYL2SPR 146
#define KEENSHINNYL3SPR 147
#define KEENPTHROWL1SPR 148
#define KEENPTHROWL2SPR 149
#define KEENPTHROWR1SPR 150
#define KEENPTHROWR2SPR 151
#define KEENPLTHROWU1SPR 152
#define KEENPLTHROWU2SPR 153
#define KEENPRTHROWD1SPR 154
#define KEENPRTHROWD2SPR 155
#define KEENGETUPRSPR 156
#define KEENPRTHROWU1SPR 157
#define KEENPRTHROWU2SPR 158
#define KEENPLTHROWD1SPR 159
#define KEENPLTHROWD2SPR 160
#define KEENGETUPLSPR 161
#define FLOWERPOWER1SPR 162
#define FLOWERPOWER2SPR 163
#define FLOWER1SPR 164
#define FLOWER2SPR 165
#define FLOWER3SPR 166
#define FLOWER4SPR 167
#define POOF1SPR 168
#define POOF2SPR 169
#define POOF3SPR 170
#define POOF4SPR 171
#define PEPPERMINT1SPR 172
#define PEPPERMINT2SPR 173
#define COOKIE1SPR 174
#define COOKIE2SPR 175
#define CANDYCANE1SPR 176
#define CANDYCANE2SPR 177
#define CANDYBAR1SPR 178
#define CANDYBAR2SPR 179
#define LOLLIPOP1SPR 180
#define LOLLIPOP2SPR 181
#define COTTONCANDY1SPR 182
#define COTTONCANDY2SPR 183
#define EXTRAKEEN1SPR 184
#define EXTRAKEEN2SPR 185
#define SUPERBONUS1SPR 186
#define SUPERBONUS2SPR 187
#define SUPERBONUS3SPR 188
#define SUPERBONUS4SPR 189
#define FLOWERPOWERUP1SPR 190
#define FLOWERPOWERUP2SPR 191
#define BOOBUSBOMB1SPR 192
#define BOOBUSBOMB2SPR 193
#define BOOBUSBOMB3SPR 194
#define BOOBUSBOOM1SPR 195
#define BOOBUSBOOM2SPR 196
#define MAGICKEY1SPR 197
#define MAGICKEY2SPR 198
#define BONUS100SPR 199
#define BONUS200SPR 200
#define BONUS500SPR 201
#define BONUS1000SPR 202
#define BONUS2000SPR 203
#define BONUS5000SPR 204
#define BONUS1UPSPR 205
#define BONUSSUPERSPR 206
#define BONUSFLOWERSPR 207
#define BONUSFLOWERUPSPR 208
#define BONUSBOMBSPR 209
#define BONUSKEYSPR 210
#define DOORSPR 211
#define SCOREBOXSPR 212
#define WORLDKEENL1SPR 213
#define WORLDKEENL2SPR 214
#define WORLDKEENL3SPR 215
#define WORLDKEENR1SPR 216
#define WORLDKEENR2SPR 217
#define WORLDKEENR3SPR 218
#define WORLDKEENU1SPR 219
#define WORLDKEENU2SPR 220
#define WORLDKEENU3SPR 221
#define WORLDKEEND1SPR 222
#define WORLDKEEND2SPR 223
#define WORLDKEEND3SPR 224
#define WORLDKEENDR1SPR 225
#define WORLDKEENDR2SPR 226
#define WORLDKEENDR3SPR 227
#define WORLDKEENDL1SPR 228
#define WORLDKEENDL2SPR 229
#define WORLDKEENDL3SPR 230
#define WORLDKEENUL1SPR 231
#define WORLDKEENUL2SPR 232
#define WORLDKEENUL3SPR 233
#define WORLDKEENUR1SPR 234
#define WORLDKEENUR2SPR 235
#define WORLDKEENUR3SPR 236
#define WORLDKEENSLEEP1SPR 237
#define WORLDKEENSLEEP2SPR 238
#define WORLDKEENWAVE1SPR 239
#define WORLDKEENWAVE2SPR 240
#define BROCCOLASHRUNL1SPR 241
#define BROCCOLASHRUNL2SPR 242
#define BROCCOLASHRUNL3SPR 243
#define BROCCOLASHRUNL4SPR 244
#define BROCCOLASHSMASHL1SPR 245
#define BROCCOLASHSMASHL2SPR 246
#define BROCCOLASHSMASHL3SPR 247
#define BROCCOLASHSMASHL4SPR 248
#define BROCCOLASHRUNR1SPR 249
#define BROCCOLASHRUNR2SPR 250
#define BROCCOLASHRUNR3SPR 251
#define BROCCOLASHRUNR4SPR 252
#define BROCCOLASHSMASHR1SPR 253
#define BROCCOLASHSMASHR2SPR 254
#define BROCCOLASHSMASHR3SPR 255
#define BROCCOLASHSMASHR4SPR 256
#define TOMATOOTHL1SPR 257
#define TOMATOOTHL2SPR 258
#define TOMATOOTHR1SPR 259
#define TOMATOOTHR2SPR 260
#define CARROTRUNL1SPR 261
#define CARROTRUNL2SPR 262
#define CARROTRUNL3SPR 263
#define CARROTRUNL4SPR 264
#define CARROTLEAPL1SPR 265
#define CARROTRUNR1SPR 266
#define CARROTRUNR2SPR 267
#define CARROTRUNR3SPR 268
#define CARROTRUNR4SPR 269
#define CARROTLEAPR1SPR 270
#define ASPARAGUSRUNL1SPR 271
#define ASPARAGUSRUNL2SPR 272
#define ASPARAGUSRUNL3SPR 273
#define ASPARAGUSRUNL4SPR 274
#define ASPARAGUSRUNR1SPR 275
#define ASPARAGUSRUNR2SPR 276
#define ASPARAGUSRUNR3SPR 277
#define ASPARAGUSRUNR4SPR 278
#define GRAPEONVINESPR 279
#define GRAPEFALLINGSPR 280
#define TATERTROOPWALKR1SPR 281
#define TATERTROOPWALKR2SPR 282
#define TATERTROOPWALKR3SPR 283
#define TATERTROOPWALKR4SPR 284
#define TATERTROOPLUNGER1SPR 285
#define TATERTROOPLUNGER2SPR 286
#define TATERTROOPWALKL1SPR 287
#define TATERTROOPWALKL2SPR 288
#define TATERTROOPWALKL3SPR 289
#define TATERTROOPWALKL4SPR 290
#define TATERTROOPLUNGEL1SPR 291
#define TATERTROOPLUNGEL2SPR 292
#define CANTCARTL1SPR 293
#define CANTCARTL2SPR 294
#define FRENCHYRUNR1SPR 295
#define FRENCHYRUNR2SPR 296
#define FRENCHYRUNR3SPR 297
#define FRENCHYRUNR4SPR 298
#define FRENCHYTHROWR1SPR 299
#define FRENCHYTHROWR2SPR 300
#define FRENCHYRUNL1SPR 301
#define FRENCHYRUNL2SPR 302
#define FRENCHYRUNL3SPR 303
#define FRENCHYRUNL4SPR 304
#define FRENCHYTHROWL1SPR 305
#define FRENCHYTHROWL2SPR 306
#define FRENCHFRY1SPR 307
#define FRENCHFRY2SPR 308
#define MELONLIPSR1SPR 309
#define MELONLIPSR2SPR 310
#define MELONLIPSL1SPR 311
#define MELONLIPSL2SPR 312
#define MELONLIPSD1SPR 313
#define MELONLIPSD2SPR 314
#define MELONSEEDR1SPR 315
#define MELONSEEDR2SPR 316
#define MELONSEEDL1SPR 317
#define MELONSEEDL2SPR 318
#define MELONSEEDD1SPR 319
#define MELONSEEDD2SPR 320
#define SQUASHERWALKR1SPR 321
#define SQUASHERWALKR2SPR 322
#define SQUASHERJUMPR1SPR 323
#define SQUASHERJUMPR2SPR 324
#define SQUASHERWALKL1SPR 325
#define SQUASHERWALKL2SPR 326
#define SQUASHERJUMPL1SPR 327
#define SQUASHERJUMPL2SPR 328
#define APELWALKR1SPR 329
#define APELWALKR2SPR 330
#define APELWALKR3SPR 331
#define APELWALKL1SPR 332
#define APELWALKL2SPR 333
#define APELWALKL3SPR 334
#define APELSHINNY1SPR 335
#define APELSHINNY2SPR 336
#define APELSLIDE1SPR 337
#define APELSLIDE2SPR 338
#define APELSLIDE3SPR 339
#define APELSLIDE4SPR 340
#define PEAPODRUNR1SPR 341
#define PEAPODRUNR2SPR 342
#define PEAPODRUNR3SPR 343
#define PEAPODRUNR4SPR 344
#define PEAPODSPITRSPR 345
#define PEAPODRUNL1SPR 346
#define PEAPODRUNL2SPR 347
#define PEAPODRUNL3SPR 348
#define PEAPODRUNL4SPR 349
#define PEAPODSPITLSPR 350
#define PEABRAINWALKR1SPR 351
#define PEABRAINWALKR2SPR 352
#define PEABRAINWALKR3SPR 353
#define PEABRAINWALKR4SPR 354
#define PEABRAINWALKL1SPR 355
#define PEABRAINWALKL2SPR 356
#define PEABRAINWALKL3SPR 357
#define PEABRAINWALKL4SPR 358
#define BOOBUSWALKL1SPR 359
#define BOOBUSWALKL2SPR 360
#define BOOBUSWALKL3SPR 361
#define BOOBUSWALKL4SPR 362
#define BOOBUSWALKR1SPR 363
#define BOOBUSWALKR2SPR 364
#define BOOBUSWALKR3SPR 365
#define BOOBUSWALKR4SPR 366
#define BOOBUSJUMPSPR 367
//
// Data LUMPs
//
#define CONTROLS_LUMP_START 4
#define CONTROLS_LUMP_END 68
#define KEEN_LUMP_START 72
#define KEEN_LUMP_END 212
#define WORLDKEEN_LUMP_START 213
#define WORLDKEEN_LUMP_END 240
#define BROCCOLASH_LUMP_START 241
#define BROCCOLASH_LUMP_END 256
#define TOMATO_LUMP_START 257
#define TOMATO_LUMP_END 260
#define CARROT_LUMP_START 261
#define CARROT_LUMP_END 270
#define ASPAR_LUMP_START 271
#define ASPAR_LUMP_END 278
#define GRAPE_LUMP_START 279
#define GRAPE_LUMP_END 280
#define TATER_LUMP_START 281
#define TATER_LUMP_END 292
#define CANTA_LUMP_START 293
#define CANTA_LUMP_END 294
#define FRENCHY_LUMP_START 295
#define FRENCHY_LUMP_END 308
#define MELONLIPS_LUMP_START 309
#define MELONLIPS_LUMP_END 320
#define SQUASHER_LUMP_START 321
#define SQUASHER_LUMP_END 328
#define APEL_LUMP_START 329
#define APEL_LUMP_END 340
#define PEAS_LUMP_START 341
#define PEAS_LUMP_END 358
#define BOOBUS_LUMP_START 359
#define BOOBUS_LUMP_END 367
//
// Amount of each data item
//
#define NUMCHUNKS 3016
#define NUMFONT 1
#define NUMFONTM 0
#define NUMPICS 65
#define NUMPICM 2
#define NUMSPRITES 297
#define NUMTILE8 72
#define NUMTILE8M 36
#define NUMTILE16 1440
#define NUMTILE16M 1206
#define NUMTILE32 0
#define NUMTILE32M 0
//
// File offsets for data items
//
#define STRUCTPIC 0
#define STRUCTPICM 1
#define STRUCTSPRITE 2
#define STARTFONT 3
#define STARTFONTM 4
#define STARTPICS 4
#define STARTPICM 69
#define STARTSPRITES 71
#define STARTTILE8 368
#define STARTTILE8M 369
#define STARTTILE16 370
#define STARTTILE16M 1810
#define STARTTILE32 3016
#define STARTTILE32M 3016
//
// Thank you for using IGRAB!
//