|
Specification of LBA sprites (*.lsp) Sprite format specification, based on LBA1.open question: where's the number of frames in a sprite defined? Abstract: the sprite format works similar to the brick format, but there are multiple entries of run-length encoded data in one file. For the run-length algorithm see BRK-file specification. Detail: *)***File Structure*** May the sprite file contain n frames: 0. dword: offset to the 0. frame (from file start) 1. dword: offset to the 1. frame (from file start) ... n. dword: offset to the n. frame (from file start) the frames are structured in the following way: 0. byte : offset X 1. byte : offset Y 2. byte : width 3. byte : height following bytes : run-length encoded data (Specification provided by Omni) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||