Display tab: window mode (windowed/maximized/borderless/exclusive), monitor, window size per monitor (centred, disabled in fullscreen), V-Sync, frame rate cap, reset; applied and saved at once through the core DisplaySettingsService. Language is read through LanguageCode (en-en/en_US = English). The window follows the style guide shell: title and tabs in the header, close on the right, footer hint and per-tab reset. The main menu hides every session panel of UiHost (pause menu stayed above it). New suite display_settings (+ --shots); collection_edit leaves the game through the pause menu and checks it is closed.
21 lines
704 B
JSON
21 lines
704 B
JSON
{
|
|
"id": "menu_base",
|
|
"name": "Menu",
|
|
"version": "1.0.0",
|
|
"author": "ct",
|
|
"description": "Registry-driven main menu: built-in buttons, settings and save/load panels moved out of the core.",
|
|
"category": "ui",
|
|
"sources": [
|
|
"src/**/*.cs"
|
|
],
|
|
"depends": ["ui_base>=1"],
|
|
"test_suites": [
|
|
{"id": "menu_flow", "activate": ["--itest=menu_flow"]},
|
|
{"id": "save_dormancy", "activate": ["--itest=save_dormancy"]},
|
|
{"id": "new_game", "activate": ["--itest=new_game"]},
|
|
{"id": "hot_reload", "activate": ["--itest=hot_reload"]},
|
|
{"id": "collection_edit", "activate": ["--itest=collection_edit"]},
|
|
{"id": "display_settings", "activate": ["--itest=display_settings"]}
|
|
]
|
|
}
|