mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-29 00:14:15 +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.
79 lines
1.3 KiB
JSON
79 lines
1.3 KiB
JSON
{
|
|
"width": 540,
|
|
"height": 242,
|
|
"rows": [
|
|
{
|
|
"yOffset": 0,
|
|
"height": 60,
|
|
"worldWidth": 60,
|
|
"worldHeight": 60
|
|
},
|
|
{
|
|
"yOffset": 60,
|
|
"height": 38,
|
|
"worldWidth": 48,
|
|
"worldHeight": 38
|
|
},
|
|
{
|
|
"yOffset": 98,
|
|
"height": 15,
|
|
"worldWidth": 17,
|
|
"worldHeight": 15
|
|
},
|
|
{
|
|
"yOffset": 113,
|
|
"height": 19,
|
|
"worldWidth": 19,
|
|
"worldHeight": 19
|
|
},
|
|
{
|
|
"yOffset": 132,
|
|
"height": 12,
|
|
"worldWidth": 13,
|
|
"worldHeight": 12
|
|
},
|
|
{
|
|
"yOffset": 144,
|
|
"height": 14,
|
|
"worldWidth": 16,
|
|
"worldHeight": 14
|
|
},
|
|
{
|
|
"yOffset": 158,
|
|
"height": 13,
|
|
"worldWidth": 7,
|
|
"worldHeight": 13
|
|
},
|
|
{
|
|
"yOffset": 171,
|
|
"height": 12,
|
|
"worldWidth": 11,
|
|
"worldHeight": 12
|
|
},
|
|
{
|
|
"yOffset": 183,
|
|
"height": 16,
|
|
"worldWidth": 24,
|
|
"worldHeight": 16
|
|
},
|
|
{
|
|
"yOffset": 199,
|
|
"height": 16,
|
|
"worldWidth": 24,
|
|
"worldHeight": 16
|
|
},
|
|
{
|
|
"yOffset": 215,
|
|
"height": 7,
|
|
"worldWidth": 9,
|
|
"worldHeight": 7
|
|
},
|
|
{
|
|
"yOffset": 222,
|
|
"height": 20,
|
|
"worldWidth": 21,
|
|
"worldHeight": 20
|
|
}
|
|
]
|
|
}
|