]> git.draconx.ca Git - liblbx.git/blobdiff - src/image.h
liblbx: Update lbximg_fopen to work like lbx_fopen.
[liblbx.git] / src / image.h
index 2f427d10c9111cadbcd641e1dcc22546f0ee7cc1..c1ca3ba25b54738596b82418b0c0331337501cbd 100644 (file)
@@ -14,15 +14,14 @@ struct lbx_colour {
 };
 
 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);