Showing changes from revision #2 to #3:
Added | Removed | Changed
Sprite areas have a fixed size-header followed by an optional extension area, and then a number of sprites.
Sprite area headers are 16 bytes long, with the following format.
Offset | Content |
---|---|
+0 | Size of sprite area |
+4 | Number of sprites in area |
+8 | Offset to first sprite (16+) |
+12 | Offset to first free word in area (i.e. after last sprite) |
+16 | Optional Sprite Extension Area (if offset to first > 16) |
The sprite area size is measured in bytes, bytes and including includes the size 16 of byte the header, and must be a multiple of four.
All offsets are in bytes, relative to the start of the sprite area, and are always word aligned.
To create a valid empty sprite area, the header should be filled in as follows:
Content | |
---|---|
Size of sprite area buffer | |
0 | |
16 | |
16 |