Commit graph

2 commits

Author SHA1 Message Date
Erik
06f326cce0 fix: detect PNG vs BMP format in dungeon tiles
361 of 614 tile files have .bmp extension but are actually PNG.
Now detects magic bytes and sets correct MIME type per tile.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 15:18:09 +02:00
Erik
e2982e34b5 feat: render actual dungeon tile textures in radar
Extract 614 UB tile BMPs into dungeon_tiles.json (287KB base64 bundle).
Frontend loads tiles once, then draws them rotated per-cell using
environment IDs. Falls back to colored rectangles if tiles not loaded.
Current floor at 70% opacity, other floors at 15%.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 15:14:52 +02:00