Crate chariot_slp

Crate chariot_slp 

Source
Expand description

Start with SlpFile if you are decoding SLPs.

+-----------------------------+
|          SlpHeader          |
+-----------------------------+
|SlpShapeHeader|SlpShapeHeader|
+-----------------------------+
|                             |
| Array of u16 padding pairs  | <-+ Each SlpShapeHeader has a "shape_outline_offset"
|                             |     that points to a pair in this array
+-----------------------------+
|                             |
| Arrays of u32 offsets to    | <-+ Each SlpShapeHeader has a "shape_data_offsets"
|  first command in each row  |     that points to an array
|                             |
+-----------------------------+
|                             |
| Drawing commands used to    |
|  produce indexed image data |
|                             |
+-----------------------------+

Structs§

Error
SlpFile
An image container format written by Ensemble Studios for their “Genie” game engine.
SlpHeader
A struct containing SLP metadata.
SlpLogicalShape
SlpShapeHeader
A 32-byte struct containing frame metadata.

Enums§

ErrorKind

Traits§

ChainErr

Type Aliases§

Result
SlpPixels