8 typedef struct SpriteFile
{
10 unsigned short num_sprites
;
15 unsigned char *palette
;
25 int SpriteFile_read(AF
* f
, SpriteFile
*sf
);
26 /* returns uncompressed sprite in data */
27 int SpriteFile_extract(AF
* f
, SpriteFile
*sf
, int spriteno
, ImageData
*data
);
31 int SpriteFile_write_header(FILE *f
, SpriteFile
*sf
);
32 int SpriteFile_add(FILE *f
, SpriteFile
*sf
, ImageData
*data
);
33 int SpriteFile_finalize(FILE* f
, SpriteFile
*sf
);
36 int SpriteFile_write_sprindex(AF
* f
, SpriteFile
*sf
, FILE *outf
);
38 #pragma RcB2 DEP "SpriteFile.c"