-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathigrab.txt
47 lines (41 loc) · 1.33 KB
/
igrab.txt
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
-------------------------------------------------------------------------
IGRAB Header format v1.00
-------------------------------------------------------------------------
Value type Label What it is
-------------------------------------------------------------------------
int headersize size of entire header, huffman dictionary,
PIC & SPRITE structure lists
long dictionary file offset of Huffman Dictionary
long dataoffsets offset list of all elements in file. Offset
is from start of file
#define's created:
-------------------------------------------------------------------------
#define NUMFONTS // how many fonts in file, etc.
#define NUMFONTM
#define NUMTILE8 // this is really good to use for array allocation!
#define NUMTILE8M
#define NUMTILE16
#define NUMTILE16M
#define NUMTILE32
#define NUMTILE32M
#define NUMPICS
#define NUMPICM
#define NUMSPRITES
#define STARTFONT // index into offset list which holds file
#define STARTFONTM
#define STARTTILE8 // offset of data
#define STARTTILE8M
#define STARTTILE16
#define STARTTILE16M
#define STARTTILE32
#define STARTTILE32M
#define STARTPICS
#define STARTPICM
#define STARTSPRITES
Grabbing values:
Horizontal Vertical
Type GRIDx ALTx GRIDx ALTx
-------------------------------------------------------------------------
TILE8/m 19 36 12 21
TILE16/m 12 18 8 12
TILE32/m 7 9 4 6