]> git.draconx.ca Git - liblbx.git/blobdiff - src/image.h
liblbx: Expose image lead-in in public struct.
[liblbx.git] / src / image.h
index 2679babcc34ff40cbebf515252daa7f02dec5aa5..0a8dc99c6d1de95d631a9f5d6c22ae57863f363d 100644 (file)
@@ -7,19 +7,15 @@ struct lbx_file_ops;
 
 struct lbx_image {
        unsigned short width, height;
-       unsigned char frames, chunk;
+       unsigned char frames, chunk, leadin;
 };
 
 struct lbx_colour {
-       unsigned char red;
-       unsigned char green;
-       unsigned char blue;
-       unsigned char active;
+       unsigned red:6, green:6, blue:6, active:1;
 };
 
 struct lbx_imginfo {
-       unsigned short width, height;
-       unsigned char  nframes, loopstart, chunk;
+       unsigned char loopstart;
        int palettesz, looping;
 };