Add integer scaling feature and make client window resizable #557
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds integer scaling support for rendering the client. This feature is by default turned off.
Also, the following default options can be defined in
[UserDefaults]
section inClientDefinitions.ini
file by modders:Users can override these options in user settings.
Also, this PR makes the client window resizable for DX and XNA builds. Note: the render resolution is not changed upon a window resizing event. It can only be changed when client restarts itself. This should not be a big issue since the minimum and maximum render resolution are close.
To turn on integer scaling feature, modders need to specify
in
ClientDefinitions.ini
file.Users can override this option from user ini settings file (e.g.,
Settings.ini
):Project Phantom as an example:
ClientDefinitions.ini
:Requires:
Rampastring/Rampastring.XNAUI#34