Commit Graph
686 Commits
Author SHA1 Message Date
Eugene Sandulenko 9522773ca8 GUI: Do not run shader test when shader is cleared 2022-10-30 23:07:35 +01:00
macca8 572b3a5f4a ENGINES: Properly identify the autosave file
Restructure isAutosave() function:
- Prioritize name test
- Access saveType test only if name test fails
Performs both tests when required, resolving false positives unique to each test, and ensures that only saves which fail both tests appear in autosave warning dialogs.

Properly fixes [https://bugs.scummvm.org/ticket/12363 #12363], refer [https://bugs.scummvm.org/ticket/13842 #13842]
2022-10-25 02:37:01 +03:00
Eugene Sandulenko dedeb489f2 GUI: And even more properly fix the shader override 2022-10-23 15:43:22 +02:00
Eugene Sandulenko 7b3c68480a GUI: Properly remove shader settings when GUI override is unchecked 2022-10-23 15:31:56 +02:00
Eugene Sandulenko 026479d30a GUI: Allow game gfx override to specify no shader. 2022-10-22 18:16:30 +02:00
Eugene Sandulenko 118d310b51 GUI: Fix Shader controls for Game Options 2022-10-22 18:16:30 +02:00
Eugene Sandulenko 3d115750b3 GUI: Fix type 2022-10-10 13:29:23 +02:00
Eugene Sandulenko 8a75067db5 GUI: Fix behaviour when switching OpenGL -> SDL Surface 2022-10-10 00:15:00 +02:00
Eugene Sandulenko 17841ca8a2 GUI: Fix crash on switch SDL Surface -> OpenGL 2022-10-10 00:15:00 +02:00
Eugene Sandulenko 8c8b06e908 GRAPHICS: Move PM5544 test pattern drawing to a separate file 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 3e7ec681d1 GUI: Do not show empty hole in Graphics tab when Filtering is not supported by the backend 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 4237575f65 GUI: Fix crash when shaders are not supported 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 57cd169a17 GUI: Allow both scalers and shaders to be enabled at the same time 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 80f79f253d GUI: Make shaders/scalers work mutually exclusive 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 2fc93e58bd GUI: Fix scaler toggle behavior in game options 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 3aef14fa99 GUI: Initial code for making game options work with shader controls 2022-10-08 23:39:18 +02:00
Eugene Sandulenko ee9ede6681 GUI: Persist shader/scaler radiobutton state 2022-10-08 23:39:18 +02:00
Eugene Sandulenko ff00d3feea GUI: Move shader controls to Graphics tab and hide behind radiobutton 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 76dc20b4b5 GUI: Fix shader clear button behaviour 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 2c9731b16a GUI: Do not run test when there is no shader 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 0614eab5de GUI: Switch test pattern to 320z240 and improve dialog message 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 08706d3c0f GUI: Better wording for the schader test dialog. Courtesy of Thunderforge 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 3b1a1f0411 GUI: Formatting fixes, added copyright of the original work for test screen 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 2fd53a9bae JANITORIAL: Whitespace fixes 2022-10-08 23:39:18 +02:00
Eugene Sandulenko d9bebc379a GUI: Fixes to the test screen drawing 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 5b307826db GUI: More work on shader test screen 2022-10-08 23:39:18 +02:00
Eugene Sandulenko e11bd0f2f2 GUI: Initial code for test screen drawing 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 655fea0de0 GUI: Draw only confirmation dialog on shader change 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 26e5ef35ab GUI: Use countdown dialog on shader test 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 3dada376b1 GUI: Show test dialog when shader was changed 2022-10-08 23:39:18 +02:00
Eugene Sandulenko ff259665c5 GUI: Restore previous shader setting on load failure 2022-10-08 23:39:18 +02:00
Eugene Sandulenko 51295e3a6a JANITORIAL: Whitespace fixes 2022-10-08 23:39:18 +02:00
Cameron Cawley 79fff69231 COMMON: Use Common::String for OSystem::setShader 2022-10-08 23:39:18 +02:00
Cameron Cawley 64c359b5cb GUI: Replace the options for selecting shaders 2022-10-08 23:39:18 +02:00
Lothar Serra Mari 17857d7597 GUI: Disable obsolete GUI entries for now 2022-10-08 23:39:18 +02:00
Lothar Serra Mari ceef8da1f3 GUI: Mark entry point where we call the shaderscaler dialog later 2022-10-08 23:39:18 +02:00
Lothar Serra Mari 93b46ec40d BACKENDS: OPENGL: Resolve merge conflicts 2022-10-08 23:39:18 +02:00
Thunderforge fe001b35b5 COMMON: Adding default iconspath functionality
It's for macOS only right now.
2022-07-02 22:34:36 +02:00
Thierry Crozat 8cda1fe870 GUI: Change the mechanism to update the grid launcher after upding the icons
The icons download dialog was triggering the grid launcher update after
icons had been downloaded. But that means no update was done if the
dialog had been closed during the download.

Now the GUIManager triggers the update. This fixes the missing update
when hiding the download dialog while downloading an icon set.
2022-07-02 21:46:14 +02:00
Cameron Cawley 2c2922d4b3 GUI: Preserve the enabled state of _soundFontClearButton when reflowing the window 2022-07-01 09:06:10 +03:00
Filippos Karapetis 25401cdf92 GUI: Add missing domain when checking for subtitle config - bug #13629
This disallowed selecting "both" for speech and subtitles, as the
subtitles setting was never saved. A regression from d6dbf721b6.
2022-06-30 17:14:58 +03:00
Athanasios Antoniou 1146f3d72d GUI: Fix iconpath iconspath Confman key discrepancy
Fixes issue with unable to download icons update (from Misc Tab) even though an icons path is set in Paths tab.
2022-06-10 23:10:51 +03:00
Thierry Crozat 7ff1533799 GUI: Fix setting the soundfont in ConfMan
This fixes bug #13531.
The issue was a regression introduced in commit 7dd0c1ddf8.
2022-06-02 20:07:49 +01:00
grisenti 7b53202a9e ALL: add support for --config and refactor code 2022-05-29 13:56:21 +02:00
grisenti d6dbf721b6 ALL: add support for --subtitles 2022-05-29 13:56:21 +02:00
grisenti 7f1eafcb2f ALL: add support for --opl-driver and --talkspeed 2022-05-29 13:56:21 +02:00
grisenti 358bec9967 ALL: add support for --scaler and --scale-factor 2022-05-29 13:56:21 +02:00
grisenti e934e7d279 ALL: add support for native-mt32 and fix enable-gs 2022-05-29 13:56:21 +02:00
grisenti 7dd0c1ddf8 ALL: add support for --midi-gain and --soundfont 2022-05-29 13:56:21 +02:00
grisenti f71e98ddf5 ALL: add support for --filtering and --multi-midi 2022-05-29 13:56:21 +02:00