Extract reusable settings UI

Move the Commonwealth Online settings screen into a shared module with its own data, styles, and controller API. The pause menu now mounts the reusable component, keeps the prompt bar behavior consistent, and animates the panel open/close with a subtler transition.
This commit is contained in:
2026-07-05 21:30:52 +12:00
parent 1af6bbd3d2
commit 8acdb4f555
8 changed files with 1359 additions and 1217 deletions
+2 -1
View File
@@ -210,10 +210,11 @@ Run in-game with F4SE logging while PauseMenu is open:
| Area | Path |
| --- | --- |
| HTML / bridge stub | `ui/views/CommonwealthOnline/pause-menu/script.js` |
| Reusable settings UI | `ui/views/CommonwealthOnline/settings/` (`CO_Settings.create`) |
| Pause PrismaUI (new, similar to browser) | `plugin/src/F4TPrismaUI.cpp` (or dedicated pause module) |
| Pause list hide / settings open (new) | e.g. `plugin/src/F4TPauseMenuSettings.cpp` — mirror `F4TMainMenuInject.cpp` |
| Types | `RE::PauseMenu`, `RE::StartMenuBase` in CommonLibF4 |
| Prototype UI copy | `ui/views/CommonwealthOnline/pause-menu/index.html` (GAME SETTINGS pane) |
| Prototype UI copy | `ui/views/CommonwealthOnline/pause-menu/` (embeds `../settings/`) |
---