Commit 1f0a9ff
committed
Add idTech asset inspectors and sprite loader
Introduce dedicated idTech asset inspectors and sprite decoding support. Adds new src/formats/idtech_asset_loader.* (is_supported_idtech_asset_file, decode_idtech_asset_bytes, IdTechAssetDecodeResult) to parse SPR, SP2/SPR2, DM2, AAS and QVM metadata/summaries. Adds src/formats/sprite_loader.* to decode SPR/SP2 frame tables and images (with palette handling and animation timing).
Update image/MIP handling: decode_miptex_image now accepts a texture name and detects index-255 transparency for '{' prefixed basenames; callers (image_loader.cpp and bsp_preview.cpp) pass file names through to texture decoders. Documentation and README updated to list the new supported formats and the UI behavior for opening nested containers.1 parent d1afb8b commit 1f0a9ff
19 files changed
Lines changed: 2164 additions & 94 deletions
File tree
- docs
- src
- formats
- ui
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | | - | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
| 117 | + | |
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2525 | 2525 | | |
2526 | 2526 | | |
2527 | 2527 | | |
2528 | | - | |
| 2528 | + | |
2529 | 2529 | | |
2530 | 2530 | | |
2531 | 2531 | | |
| |||
0 commit comments