dtmt/lib/sdk
Lucas Schwiderski 30b9a93fa3
Reverse DDSImage::load
Decompiling the game binary shows a rather elaborate algorithm to load
DDS images from binary. Though comparing it to Microsoft's documentation
on DDS, most of it seems to be pretty standard handling.

However, we don't actually need all of it. The part about calculating
pitch and reading blocks only accesses a subset of the `ImageFormat`
struct, so we can strip our implementation to just that.
2025-02-19 11:12:11 +01:00
..
src Reverse DDSImage::load 2025-02-19 11:12:11 +01:00
Cargo.toml Update dependencies 2024-08-21 14:33:39 +02:00