Commit graph

696 commits

Author SHA1 Message Date
Eugene Sandulenko
ad8ffd0035
GUI: Initial code for Shader Browser. Zip selection works 2023-01-08 01:15:52 +01:00
D G Turner
8e7ef23177 GUI: Fix Signed vs. Unsigned Comparison GCC Compiler Warning 2023-01-02 18:47:53 +00:00
Eugene Sandulenko
e4686897d4
GUI: Added setting for global RNG seed in the Misc tab 2023-01-02 16:12:44 +01:00
Eugene Sandulenko
3a577c3856
GUI: Split out GUI-related settings into a separate tab
Also, bump the theme version and add widgets for the random seed.
2023-01-02 15:09:37 +01:00
Walter Agazzi
ab248d8d91 GUI: Change wording of "return to launcher" checkbox 2022-12-20 11:29:11 +01:00
elasota
cebe367bab JANITORIAL: Change 0xffffffffu to uint32(-1) instead. 2022-12-04 00:08:48 +01:00
elasota
cc11b531e3 JANITORIAL: Clean up all non-engine Visual Studio warnings. 2022-12-04 00:08:48 +01:00
Eugene Sandulenko
8f8d522913
COMMON: Move achievements.* to engines/ 2022-12-02 00:12:22 +01:00
Torbjörn Andersson
eb51135a6f GUI: Only show render mode options explicitly supported by the game
The render mode options are confusing, since they're just silently
ignored by games that don't support them. This way, games have to
explicitly declare which render options they support.
2022-11-07 00:27:34 +02:00
athrxx
a84336c583 COMMON: more flexible gui options handling
This allows the meta engines to post process the gui options,
before they get to be used in the GUI. This allows adding or
removing options on a larger scale without having to modify
each detection entry individually. In this case, it is meant to be
used in the SCUMM engine, to allow adding render mode
gui options wothout modifying the tables.
2022-11-07 00:27:34 +02:00
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