Allow configuring the minimum client resolution and refactor ScreenResolution class#1092
Conversation
Co-authored-by: SadPencil <11227602+SadPencil@users.noreply.github.com>
Co-authored-by: SadPencil <11227602+SadPencil@users.noreply.github.com>
|
@copilot your understanding about RenderWidth/Height is completely wrong. The client resolution is NOT the render resolution. Read the code. |
Co-authored-by: SadPencil <11227602+SadPencil@users.noreply.github.com>
Updated in |
Co-authored-by: SadPencil <11227602+SadPencil@users.noreply.github.com>
Co-authored-by: SadPencil <11227602+SadPencil@users.noreply.github.com>
|
The options window can crash if MinimalClient* is bigger than the desktop in either dimension - Double check if A player that has 1024x600 in their settings keeps running at 1024x600 even if a mod increases the setting. |
Nice catch! Let me think |
Co-Authored-By: 11EJDE11 <194312388+11EJDE11@users.noreply.github.com>
Feature Pull Request
Warning
A linked feature issue in the same repository is required. Pull requests that do not link an existing feature issue—or link an issue that has not been approved by the maintainers—may be closed.
Related Issue
What's Changed
This adds explicit
ClientDefinitions.inisettings for the minimum client window size, replacing the hardcoded800x600floor used by fullscreen/windowed resolution selection. The new settings align client window sizing with the existing render-resolution configuration model.Configuration surface
MinimalClientWidthandMinimalClientHeighttoClientConfigurationwith800x600defaults.DXMainClient/Resources/ClientDefinitions.ini.Resolution selection
SafeFullScreenResolution.Recommended resolution handling
Documentation
Docs/INISystem.md.Breaking Changes
If checked, describe the breaking change:
Documentation
Checklist