Consolidate shared UI assets

Move common logo and controller glyphs into `ui/views/CommonwealthOnline/shared/` and update the pause menu, main menu, and browser glyph loader to use the shared paths. Also add a sync script and update deploy/staging scripts to copy controller icons once into the shared folder.
This commit is contained in:
2026-07-05 22:46:38 +12:00
parent 8acdb4f555
commit c3f5afe7f6
15 changed files with 1048 additions and 26 deletions
+18
View File
@@ -0,0 +1,18 @@
@echo off
setlocal EnableExtensions
set "SCRIPT_DIR=%~dp0"
set "SHARED_ICONS=%SCRIPT_DIR%views\CommonwealthOnline\shared\icons"
if not exist "%SHARED_ICONS%" mkdir "%SHARED_ICONS%"
echo Syncing controller icons to shared views folder...
xcopy /Y /E /I "%SCRIPT_DIR%Icons\*" "%SHARED_ICONS%\"
if errorlevel 1 (
echo Failed to copy icons from ui\Icons.
exit /b 1
)
echo Shared assets ready under ui\views\CommonwealthOnline\shared\
endlocal
exit /b 0