Struct chariot_slp::SlpShapeHeader
[−]
[src]
pub struct SlpShapeHeader { pub shape_data_offsets: u32, pub shape_outline_offset: u32, pub palette_offset: u32, pub properties: u32, pub width: u32, pub height: u32, pub center_x: i32, pub center_y: i32, }
A 32-byte struct containing frame metadata.
One of these will exists for every frame in an SlpFile.
Fields
shape_data_offsets: u32
Pointer to an array of offsets.
Each offset defines the position of the first command of a row.
The first offset in this array is the first drawing command for the image.
shape_outline_offset: u32
Pointer to an array of u16 pairs used to indicate padding.
palette_offset: u32
properties: u32
width: u32
height: u32
center_x: i32
center_y: i32