Commit Graph
4703 Commits
Author SHA1 Message Date
Scott Percival 1040bd2862 EVENTRECORDER: Fixes based on feedback 2021-09-09 19:32:02 +02:00
Scott Percival 29d6758c0d EVENTRECORDER: Add update mode
This new mode is functionally identical to playback mode, however
a new recording file is used to track the actual output of ScummVM.
This feature can be used to update a suite of existing recordings after
a renderer or a timing change.
2021-09-09 19:32:02 +02:00
Scott Percival 84707ec828 EVENTRECORDER: Prevent recursive call to warpMouse 2021-09-09 19:32:02 +02:00
Scott Percival 0112fab176 EVENTRECORDER: Filter GUI redraws from the logs 2021-09-09 19:32:02 +02:00
Scott Percival 13a20e11e6 EVENTRECORDER: Disable autosave in record/playback mode 2021-09-09 19:32:02 +02:00
Scott Percival 5cbcd98963 EVENTRECORDER: Add screen update tracking
Screen update boundaries are now used as sync points.
Screenshots are now processed on a screen update boundary.

This change increments the version of the Event Recorder
file format to 2; version 1 files will still play back as
before, without synchronising to screen updates.
2021-09-09 19:32:02 +02:00
Scott Percival c29a62b05d EVENTRECORDER: Ignore hash check for targets with no MD5 records
This is required for Director to allow testing arbitrary files that
aren't part a game, e.g. Lingo Dictionary.
2021-09-09 19:32:02 +02:00
Martin Gerhardy b1deb8afba GUI: added float var support to the debugger 2021-09-07 01:33:04 +03:00
Lothar Serra Mari 7b0ce6282f GUI: Add GUI option for Discord RPC 2021-09-02 14:21:07 +02:00
Martin Gerhardy 4b13314e23 GUI: persist the debug console history 2021-09-01 16:30:02 +02:00
Eugene Sandulenko b85daf6066 GUI: Added optional file mask for FileBrowserDialog 2021-09-01 15:38:30 +02:00
Cameron Cawley 0d65c120b7 CREDITS: Add myself to the DS port credits 2021-08-30 19:11:03 +01:00
Orgad Shaneh b7a46e97f5 GUI: Re-enable warning when saving over an older savegame
The assignment back to _saveList is required, because the initial read does
not assign playtime.

In case the slot is empty, querySaveMetaInfos returns an empty description
with saveSlot -1 on most engines, so _saveList[selItem] loses its slot.
Cover this by adding a check.

Reverts 0425dff824.
2021-08-28 21:36:35 +03:00
Lothar Serra Mari 46886b787e I18N: Update translations data file 2021-08-28 16:54:15 +02:00
D G Turner 8b239a2577 GUI: Fix GCC Signed vs. Unsigned Comparison Warning 2021-08-28 13:56:09 +01:00
Thierry Crozat 18ee050adf GUI: Only display autosave warning if there are normal saves in autosave slots
This fixes bug #12845.
2021-08-28 13:48:53 +01:00
Thierry Crozat 0425dff824 GUI: Fix saving in a new slot with the list save dialog
This revert part of a17816f1 (GUI: Warn when saving a "young" game
over an "older" one).

The issue was that when trying to save in a new slot with the list
save dialog, this was not creating the save.

This finishes to fix bug #12850
2021-08-27 23:30:44 +01:00
Thierry Crozat 626d0ed4b6 GUI: Fix assert when double clicking on item in list save dialog
This was a regression from 44e5d3f9 (GUI: Factor out save/load
activation to a function).

This fixes part of bug #12850
2021-08-27 23:30:44 +01:00
Thierry Crozat 5867d5420f GUI: Fix clicking in an empty space in the Grid Load dialog
This was unexpectedly closing the dialog.
This was a regression from 44e5d3f9 (GUI: Factor out save/load
activation to a function)
2021-08-27 23:30:44 +01:00
D G Turner 50548c738d GUI: Fix Incorrect Logic due to Stray Semicolon 2021-08-26 22:56:25 +01:00
Thierry Crozat 8d4ef7234d GUI: Avoid crash when starting ScummVM with partially corrupted config file
In my case I had a section where only the gameid was defined and no path.
Obviously this is not valid and I cannot start that game. But this is not
a reason to crash with an unknown "path" key error when starting ScummVM.
2021-08-26 17:12:55 +01:00
Orgad Shaneh a17816f14d GUI: Warn when saving a "young" game over an "older" one 2021-08-25 05:56:22 +03:00
Orgad Shaneh 44e5d3f9bd GUI: Factor out save/load activation to a function 2021-08-25 05:56:22 +03:00
Orgad Shaneh 873ba580fb GUI: Warn when enabling autosave on options
...if non-autosave games are stored in autosave slot
2021-08-24 01:37:06 +02:00
SupSuper c9d67e48a9 BACKENDS: Use FSNode::getName in string operations 2021-08-23 21:22:27 +01:00
Cameron Cawley 6edcd3c21c GUI: Fix displaying dynamic engine options widgets in the Edit Game dialog 2021-08-23 00:07:11 +03:00
Cameron Cawley 644e7354f5 CREDITS: Update credits 2021-08-22 22:25:33 +03:00
Cameron Cawley e8c54ed7aa DS: Work around issues with GUI scaling at low resolutions 2021-08-20 17:43:19 +01:00
Eugene Sandulenko 5af243be2c I18N: Reduced width of some language names so they fit better on low res. Bug #11745 2021-08-19 17:05:25 +02:00
Thierry Crozat e012014c29 GUI: Fix computation of MessageDialog width
This was a regression introduced in fea19c69a. The code forgot to
add the margin on either side of the text when computing the width
of the dialog.

I also introduced a variable with the mergin value to clarify the
code (and also make it easy to change that margin in the future if
we want to).
2021-08-18 22:38:55 +01:00
Orgad Shaneh fea19c69af GUI: Support multiple alt buttons in MessageDialog 2021-08-18 22:34:02 +02:00
Orgad Shaneh 0d17d142e4 GUI: Wrap very long lines in MessageDialog 2021-08-18 22:34:02 +02:00
Orgad Shaneh 1c5c366649 GUI: Swap OK/Alt values in MessageDialog
A follow-up commit adds support for multiple alternatives, so OK has to
come first.
2021-08-18 22:34:02 +02:00
Orgad Shaneh 18fb0498b5 GUI: Support keypad Enter key in dialogs 2021-08-18 00:39:42 +03:00
Lothar Serra Mari 41a10cd9ad I18N: Update translations data file 2021-08-15 17:51:39 +02:00
Thierry Crozat 9fcd67b2a7 GUI: Never scale the GUI below 320x200 2021-08-15 09:52:03 +01:00
Thierry Crozat ad31dfc8d5 GUI: Handle the GUI Scale option as a scaling rather than base resolution
Now that we can get an accurate HiDPI screen scaling from OSystem,
defaulting to using that seems to make sense. But we may still want
to use a slightly different scaling. The GUI scale option allows
that by providing a scaling (in percentage) with which to multiply
the HiDPI scaling.

I think it works better than a base resolution as it avoids having
the GUI getting bigger or smaller when we resize the window.

This commit keeps a popup widget, but this could be changed with
 a slider if we want more fine grain control.
2021-08-13 21:41:33 +01:00
Thierry Crozat abf782c670 COMMON: Remove kFeatureHiDPI from OSystem and use getHiDPIScreenFactor instead 2021-08-13 21:41:33 +01:00
antoniou f900cbecdd ANDROID: Fix reset browser_lastpath via button
Also replace literal "scummvm" with Common::ConfigManager::kApplicationDomain in android options
2021-08-12 15:17:32 +03:00
Martin Gerhardy 15dd09a527 EVENTRECORDER: fixed compilation 2021-08-10 09:34:48 +02:00
Coen Rampen 67605e1076 COMMON: Add my name to the credits 2021-08-08 23:21:12 +02:00
sluicebox f3278c7062 GUI: Fix debug console scrollbar scaling
Fixes bug #12783
2021-08-07 17:15:05 -05:00
djsrv 909595176a COMMON: Use Path type in MacResManager functions 2021-08-07 10:44:37 +02:00
Max Horn e74c173479 CREDITS: regenerate 2021-08-05 00:01:46 +02:00
Thierry Crozat cbb627a40b COMMON: Change TransMan builtin language to "en" instead of "C" 2021-08-04 19:28:47 +01:00
Le Philousophe ef73bdac50 EVENTRECORDER: Update screen resolution in GUI before showing anything
This properly fix bug encountered in 5af1192580
Now the UI is notified size has changed and properly reiszes overlay
surface.
2021-08-04 13:27:07 +02:00
antoniou 84323fc78e ANDROID: Remove checkbox for Android SAF from global options
Themes rebuilt, and version bumped to SCUMMVM_STX0.8.50
2021-08-02 22:57:37 +03:00
Eugene Sandulenko 8d8e6765a2 GUI: Display last browse path and add button for resetting it
This bumps the theme version.

The primary target is Android where a user may navigate to a location
where there is no read permission which leads to them being stuck.

This option has no effect on those native browse dialogs that do not
use the "browser_lastpath" config setting. Particularly, macOS is
not affected.
2021-08-02 17:09:03 +02:00
antoniou 250206bd00 ANDROID: Add a checkbox for a revoke SAF permissions button
Themes were updated to version SCUMMVM_THEME_VERSION_STR "SCUMMVM_STX0.8.48"
2021-08-01 16:10:54 +03:00
SupSuper 782cd55c31 GUI: Fix RTL Add Game dialog leaving UI in a broken state (#12765)
Make sure we clear all RTL dialog paddings once we go back to the launcher.
2021-07-28 09:37:25 +01:00