#ifndef _APF_H #define _APF_H typedef struct { unsigned int unpackLen; Word modeWord; } DirEntry; typedef struct { unsigned long blockLen; unsigned char length; char kind[255]; /* We only look for "MAIN" */ } BlockHeader; /* Different kinds of APF blocks */ enum kinds { MAIN = 1, /* Pixel Data */ PATS, /* Patterns */ SCIB, /* Foreground/Background/Frame Patterns */ PALETTES, /* Color Tables */ MASK, /* Mask Data */ MULTIPAL, /* 3,200 Color Image Palettes */ UNKNOWN_KIND }; Handle LoadAPF( char *filename, LocInfo *locInfo, Word *colorTable ); #endif