Loads <dir>/gfx/<name>.png (or <dir>/<name>.png) with tbg_extract's file names, falling back to the ROM decode per image; works with no ROM (cut-in timing/origin from manifest.txt). PNG writer moved from tbg_extract into gfx::save_png. Vendors stb_image v2.30 (public domain/MIT, PNG only). Verified: AssetSource(no ROM, tbg_extract dir) == ROM loaders for all 696 images. New test target tbg_gfx_tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
419 B
419 B
stb_image (vendored)
- File:
stb_image.h— stb_image v2.30, a single-header image loader. - Origin: https://github.com/nothings/stb,
masterat commita7d4c2175630e1ea5b6f8dd00ab96fed0b97b96d(2026-10-19), unmodified. - License: dual public domain (Unlicense) / MIT — see the end of
stb_image.h. - Used by
src/gfx/asset_source.cpp(PNG only:STBI_ONLY_PNG) to load override/replacement art.