#ifndef READPICT_H #define READPICT_H /** ReadPict.h **************************************************************/ /* */ /* Read an ILBM raster image file into RAM. 1/23/86. */ /* */ /* By Jerry Morrison, Steve Shaw, and Steve Hayes, Electronic Arts. */ /* This software is in the public domain. */ /* */ /* USE THIS AS AN EXAMPLE PROGRAM FOR AN IFF READER. */ /* */ /* The IFF reader portion is essentially a recursive-descent parser. */ /****************************************************************************/ /* ILBMFrame is our "client frame" for reading FORMs ILBM in an IFF file. * We allocate one of these on the stack for every LIST or FORM encountered * in the file and use it to hold BMHD & CMAP properties. We also allocate * an initial one for the whole file. */ typedef struct { ClientFrame clientFrame; UBYTE foundBMHD; UBYTE nColorRegs; BitMapHeader bmHdr; Color4 colorMap[32 /*1<