]> git.draconx.ca Git - liblbx.git/commit
liblbx: Add support for "chunked" images.
authorNick Bowler <nbowler@draconx.ca>
Tue, 9 Feb 2010 05:27:30 +0000 (00:27 -0500)
committerNick Bowler <nbowler@draconx.ca>
Tue, 9 Feb 2010 05:53:03 +0000 (00:53 -0500)
commit91689c5ef8174cc65e1f3ce31f9869778b2af671
tree0c85c9d132d2d39e778c4824c569b850d18540c5
parentbdad20799885211ac4c76bdaef5b027552d6241d
liblbx: Add support for "chunked" images.

It appears that the frame count fields aren't actually two 16-bit
fields, but rather four 8-bit fields.  The images in monster.lbx
appear to have "chunks" of animation and what was previously thought to
be the most significant byte of the lead-in now seems to be the length
of a "chunk".

These images are much like any other, except that the first frame of
every chunk is drawn on a clean slate.  Examples are found in
monster.lbx.
src/image.c
src/image.h
src/lbximg.c
tests/regress.zsh