2 /* Bitmap header chunk (BMHD) structure */
4 UWORD w
, h
; /* Width, height in pixels */
5 WORD x
, y
; /* x, y position for this bitmap */
6 UBYTE nplanes
; /* # of planes */
8 UBYTE Compression
; /* Compression flag */
10 UWORD TransparentColor
;
11 UBYTE XAspect
, YAspect
; /* Aspect ratios */
12 WORD PageWidth
, PageHeight
;
21 #define ID_ILBM MAKE_ID('I', 'L', 'B', 'M')
22 #define ID_BMHD MAKE_ID('B', 'M', 'H', 'D')
23 #define ID_CMAP MAKE_ID('C', 'M', 'A', 'P')
24 #define ID_BODY MAKE_ID('B', 'O', 'D', 'Y')
25 #define ID_CAMG MAKE_ID('C', 'A', 'M', 'G')
26 #define ID_CRNG MAKE_ID('C', 'R', 'N', 'G')
27 #define ID_DRNG MAKE_ID('D', 'R', 'N', 'G')
28 #define ID_SHAM MAKE_ID('S', 'H', 'A', 'M')
29 #define ID_CTBL MAKE_ID('C', 'T', 'B', 'L')