Skip to content

Commit

Permalink
WinSetup: an option to disable "smooth scaled sprites"
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-mogilko committed Oct 25, 2023
1 parent c4a4d81 commit be38eca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Engine/platform/windows/setup/winsetup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,8 @@ INT_PTR WinSetupDialog::OnInitDialog(HWND hwnd)
EnableWindow(_hUseVoicePack, FALSE);
if (CfgReadBoolInt(_cfgIn, "disabled", "filters"))
EnableWindow(_hGfxFilterList, FALSE);
if (CfgReadBoolInt(_cfgIn, "disabled", "antialias"))
EnableWindow(_hAntialiasSprites, FALSE);
if (CfgReadBoolInt(_cfgIn, "disabled", "render_at_screenres") ||
CfgReadInt(_cfgIn, "gameproperties", "render_at_screenres", -1) >= 0)
EnableWindow(_hRenderAtScreenRes, FALSE);
Expand Down
1 change: 1 addition & 0 deletions OPTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ Locations of two latter files differ between running platforms:
* **\[disabled\]** - special instructions for the setup program hinting to disable particular options or lock some in the certain state. Ignored by the engine.
* filters = \[0; 1\] - tells to lock "Graphics filter" selection in a default state;
* \<filter id\> = \[0; 1\] - tells to remove particular graphics filter from the selection list;
* antialias = \[0; 1\] - tells to lock "Smooth scaled sprites" in a default state;
* render_at_screenres = \[0; 1\] - tells to lock "Render sprites in screen resolution" in a default state;
* speechvox = \[0; 1\] - tells to lock "Use digital speech pack" in a default state;
* translation = \[0; 1\] - tells to lock "Game language" in a default state;
Expand Down

0 comments on commit be38eca

Please sign in to comment.