};
struct lbx_imginfo {
- unsigned int width, height;
- unsigned int nframes, loopstart;
- int palettesz;
- int looping;
+ unsigned short width, height;
+ unsigned char nframes, loopstart, chunk;
+ int palettesz, looping;
};
LBX_IMG *lbximg_open(void *f, const struct lbx_file_ops *fops,
int (*destructor)(void *));
-LBX_IMG *lbximg_fopen(FILE *f);
+LBX_IMG *lbximg_fopen(const char *file);
int lbximg_close(LBX_IMG *img);
unsigned char **lbximg_getframe(LBX_IMG *img, int frame);