SiegeEngineers / genie-rs

Rust libraries for reading/writing various Age of Empires I/II files.
https://docs.rs/genie
GNU General Public License v3.0
18 stars 9 forks source link

SLP Parser #30

Open goto-bus-stop opened 4 years ago

goto-bus-stop commented 4 years ago

Supports 8 bit and 32 bit slps. Still needs some ergonomic improvements...

The current design is suitable for static rendering (eg. outputting to a file), but not really for realtime rendering. It does allocate a vec for each Copy() command right now…would be ideal to be able to lazily read the pixel values there. I think a second render() API could be added for that.

Todo: