-
Notifications
You must be signed in to change notification settings - Fork 54
/
GFXE_C3D.H
353 lines (313 loc) · 10.6 KB
/
GFXE_C3D.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
/* Catacomb 3-D Source Code
* Copyright (C) 1993-2014 Flat Rock Software
*
* 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 .C3D
// IGRAB-ed on Tue Dec 21 15:06:10 1993
//
//////////////////////////////////////
typedef enum {
// Lump Start
CP_MAINMENUPIC=5,
CP_NEWGAMEMENUPIC, // 6
CP_LOADMENUPIC, // 7
CP_SAVEMENUPIC, // 8
CP_CONFIGMENUPIC, // 9
CP_SOUNDMENUPIC, // 10
CP_MUSICMENUPIC, // 11
CP_KEYBOARDMENUPIC, // 12
CP_KEYMOVEMENTPIC, // 13
CP_KEYBUTTONPIC, // 14
CP_JOYSTICKMENUPIC, // 15
CP_OPTIONSMENUPIC, // 16
CP_PADDLEWARPIC, // 17
CP_QUITPIC, // 18
CP_JOYSTICKPIC, // 19
CP_MENUSCREENPIC, // 20
TITLEPIC, // 21
CREDITSPIC, // 22
HIGHSCORESPIC, // 23
FINALEPIC, // 24
STATUSPIC, // 25
SIDEBARSPIC, // 26
SCROLLTOPPIC, // 27
SCROLL1PIC, // 28
SCROLL2PIC, // 29
SCROLL3PIC, // 30
SCROLL4PIC, // 31
SCROLL5PIC, // 32
SCROLL6PIC, // 33
SCROLL7PIC, // 34
SCROLL8PIC, // 35
FIRSTLATCHPIC, // 36
NOSHOTPOWERPIC, // 37
SHOTPOWERPIC, // 38
NOBODYPIC, // 39
BODYPIC, // 40
COMPAS1PIC, // 41
COMPAS2PIC, // 42
COMPAS3PIC, // 43
COMPAS4PIC, // 44
COMPAS5PIC, // 45
COMPAS6PIC, // 46
COMPAS7PIC, // 47
COMPAS8PIC, // 48
COMPAS9PIC, // 49
COMPAS10PIC, // 50
COMPAS11PIC, // 51
COMPAS12PIC, // 52
COMPAS13PIC, // 53
COMPAS14PIC, // 54
COMPAS15PIC, // 55
COMPAS16PIC, // 56
DEADPIC, // 57
FIRSTSCALEPIC, // 58
ORC1PIC, // 59
ORC2PIC, // 60
ORC3PIC, // 61
ORC4PIC, // 62
ORCATTACK1PIC, // 63
ORCATTACK2PIC, // 64
ORCOUCHPIC, // 65
ORCDIE1PIC, // 66
ORCDIE2PIC, // 67
ORCDIE3PIC, // 68
TROLL1PIC, // 69
TROLL2PIC, // 70
TROLL3PIC, // 71
TROLL4PIC, // 72
TROLLOUCHPIC, // 73
TROLLATTACK1PIC, // 74
TROLLATTACK2PIC, // 75
TROLLATTACK3PIC, // 76
TROLLDIE1PIC, // 77
TROLLDIE2PIC, // 78
TROLLDIE3PIC, // 79
WARP1PIC, // 80
WARP2PIC, // 81
WARP3PIC, // 82
WARP4PIC, // 83
BOLTOBJPIC, // 84
BOLTOBJ2PIC, // 85
NUKEOBJPIC, // 86
NUKEOBJ2PIC, // 87
POTIONOBJPIC, // 88
RKEYOBJPIC, // 89
YKEYOBJPIC, // 90
GKEYOBJPIC, // 91
BKEYOBJPIC, // 92
SCROLLOBJPIC, // 93
CHESTOBJPIC, // 94
PSHOT1PIC, // 95
PSHOT2PIC, // 96
BIGPSHOT1PIC, // 97
BIGPSHOT2PIC, // 98
DEMON1PIC, // 99
DEMON2PIC, // 100
DEMON3PIC, // 101
DEMON4PIC, // 102
DEMONATTACK1PIC, // 103
DEMONATTACK2PIC, // 104
DEMONATTACK3PIC, // 105
DEMONOUCHPIC, // 106
DEMONDIE1PIC, // 107
DEMONDIE2PIC, // 108
DEMONDIE3PIC, // 109
MAGE1PIC, // 110
MAGE2PIC, // 111
MAGEOUCHPIC, // 112
MAGEATTACKPIC, // 113
MAGEDIE1PIC, // 114
MAGEDIE2PIC, // 115
BAT1PIC, // 116
BAT2PIC, // 117
BAT3PIC, // 118
BAT4PIC, // 119
BATDIE1PIC, // 120
BATDIE2PIC, // 121
GREL1PIC, // 122
GREL2PIC, // 123
GRELATTACKPIC, // 124
GRELHITPIC, // 125
GRELDIE1PIC, // 126
GRELDIE2PIC, // 127
GRELDIE3PIC, // 128
GRELDIE4PIC, // 129
GRELDIE5PIC, // 130
GRELDIE6PIC, // 131
NEMESISPIC, // 132
FIRSTWALLPIC, // 133
EXPWALL1PIC, // 134
EXPWALL2PIC, // 135
EXPWALL3PIC, // 136
WALL1LPIC, // 137
WALL1DPIC, // 138
WALL2DPIC, // 139
WALL2LPIC, // 140
WALL3DPIC, // 141
WALL3LPIC, // 142
WALL4DPIC, // 143
WALL4LPIC, // 144
WALL5DPIC, // 145
WALL5LPIC, // 146
WALL6DPIC, // 147
WALL6LPIC, // 148
WALL7DPIC, // 149
WALL7LPIC, // 150
RDOOR1PIC, // 151
RDOOR2PIC, // 152
YDOOR1PIC, // 153
YDOOR2PIC, // 154
GDOOR1PIC, // 155
GDOOR2PIC, // 156
BDOOR1PIC, // 157
BDOOR2PIC, // 158
ENTERPLAQUEPIC, // 159
CP_MENUMASKPICM=160,
HAND1PICM, // 161
HAND2PICM, // 162
// Lump Start
PADDLESPR=163,
BALLSPR, // 164
BALL1PIXELTOTHERIGHTSPR, // 165
LEVEL1TEXT=456,
LEVEL2TEXT, // 457
LEVEL3TEXT, // 458
LEVEL4TEXT, // 459
LEVEL5TEXT, // 460
LEVEL6TEXT, // 461
LEVEL7TEXT, // 462
LEVEL8TEXT, // 463
LEVEL9TEXT, // 464
LEVEL10TEXT, // 465
LEVEL11TEXT, // 466
LEVEL12TEXT, // 467
LEVEL13TEXT, // 468
LEVEL14TEXT, // 469
LEVEL15TEXT, // 470
LEVEL16TEXT, // 471
LEVEL17TEXT, // 472
LEVEL18TEXT, // 473
LEVEL19TEXT, // 474
LEVEL20TEXT, // 475
OUTOFMEM, // 476
PIRACY, // 477
ENUMEND
} graphicnums;
//
// Data LUMPs
//
#define CONTROLS_LUMP_START 5
#define CONTROLS_LUMP_END 20
#define PADDLE_LUMP_START 163
#define PADDLE_LUMP_END 165
#define ORC_LUMP_START 59
#define ORC_LUMP_END 68
#define TROLL_LUMP_START 69
#define TROLL_LUMP_END 79
#define WARP_LUMP_START 80
#define WARP_LUMP_END 83
#define BOLT_LUMP_START 84
#define BOLT_LUMP_END 85
#define NUKE_LUMP_START 86
#define NUKE_LUMP_END 87
#define POTION_LUMP_START 88
#define POTION_LUMP_END 88
#define RKEY_LUMP_START 89
#define RKEY_LUMP_END 89
#define YKEY_LUMP_START 90
#define YKEY_LUMP_END 90
#define GKEY_LUMP_START 91
#define GKEY_LUMP_END 91
#define BKEY_LUMP_START 92
#define BKEY_LUMP_END 92
#define SCROLL_LUMP_START 93
#define SCROLL_LUMP_END 93
#define CHEST_LUMP_START 94
#define CHEST_LUMP_END 94
#define PLAYER_LUMP_START 95
#define PLAYER_LUMP_END 98
#define DEMON_LUMP_START 99
#define DEMON_LUMP_END 109
#define MAGE_LUMP_START 110
#define MAGE_LUMP_END 115
#define BAT_LUMP_START 116
#define BAT_LUMP_END 121
#define GREL_LUMP_START 122
#define GREL_LUMP_END 132
#define EXPWALL_LUMP_START 134
#define EXPWALL_LUMP_END 136
#define WALL1_LUMP_START 137
#define WALL1_LUMP_END 138
#define WALL2_LUMP_START 139
#define WALL2_LUMP_END 140
#define WALL3_LUMP_START 141
#define WALL3_LUMP_END 142
#define WALL4_LUMP_START 143
#define WALL4_LUMP_END 144
#define WALL5_LUMP_START 145
#define WALL5_LUMP_END 146
#define WALL6_LUMP_START 147
#define WALL6_LUMP_END 148
#define WALL7_LUMP_START 149
#define WALL7_LUMP_END 150
#define RDOOR_LUMP_START 151
#define RDOOR_LUMP_END 152
#define YDOOR_LUMP_START 153
#define YDOOR_LUMP_END 154
#define GDOOR_LUMP_START 155
#define GDOOR_LUMP_END 156
#define BDOOR_LUMP_START 157
#define BDOOR_LUMP_END 158
//
// Amount of each data item
//
#define NUMCHUNKS 478
#define NUMFONT 2
#define NUMFONTM 0
#define NUMPICS 155
#define NUMPICM 3
#define NUMSPRITES 3
#define NUMTILE8 108
#define NUMTILE8M 36
#define NUMTILE16 216
#define NUMTILE16M 72
#define NUMTILE32 0
#define NUMTILE32M 0
#define NUMEXTERNS 22
//
// File offsets for data items
//
#define STRUCTPIC 0
#define STRUCTPICM 1
#define STRUCTSPRITE 2
#define STARTFONT 3
#define STARTFONTM 5
#define STARTPICS 5
#define STARTPICM 160
#define STARTSPRITES 163
#define STARTTILE8 166
#define STARTTILE8M 167
#define STARTTILE16 168
#define STARTTILE16M 384
#define STARTTILE32 456
#define STARTTILE32M 456
#define STARTEXTERNS 456
//
// Thank you for using IGRAB!
//