mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 12:10:46 +00:00
8a4b12c4d6
src/client/render/gl/assets/ held 11 atlas files (PNGs + JSON metadata)
that bypassed the asset-manifest pipeline — they were imported via
Vite's ?url query, bundled, and served same-origin instead of going
through the CDN like every other game asset. Moved them to
resources/atlases/, switched the PNG imports to assetUrl("atlases/...")
so they flow through the manifest, and updated the JSON metadata
imports to "resources/atlases/..." paths. Also dropped an orphan copy
of MissileSiloIconWhite.svg (no callers; resources/images/ already had
the canonical version).
render-settings.json stays in src/ — it's renderer tuning config
consumed at bundle time, not a URL-served asset.
20 lines
298 B
JSON
20 lines
298 B
JSON
{
|
|
"width": 768,
|
|
"height": 1024,
|
|
"cellSize": 256,
|
|
"cols": 3,
|
|
"pad": 16,
|
|
"icons": {
|
|
"crown": 0,
|
|
"traitor": 1,
|
|
"disconnected": 2,
|
|
"alliance": 3,
|
|
"allianceRequest": 4,
|
|
"target": 5,
|
|
"embargo": 6,
|
|
"nukeRed": 7,
|
|
"nukeWhite": 8,
|
|
"allianceFaded": 9
|
|
}
|
|
}
|