487 Commits

Author SHA1 Message Date
Attaullah Ansari
b4fcc02c87 BASE: Add option for the user to proceed with resetting configuration file or quitting ScummVM. 2023-02-23 18:12:27 +01:00
antoniou79
aae9673c9d ANDROID: Do language selection before early popup
Instantiating GUI manager takes care of the language selection
2023-02-13 16:24:29 +01:00
Le Philousophe
2927e27d1d BASE: Fix I18N comment 2023-02-12 18:14:56 +01:00
Le Philousophe
2f76a21cc6 BASE: Fix Android message to match terms changed before 2023-02-12 18:11:26 +01:00
Eugene Sandulenko
278fb3ba19
BASE: Add message for Android on startup explaining SAF
There are two messages, for upgrade and for the new users
2023-02-12 16:49:59 +01:00
Le Philousophe
007d7d8df4 BASE: Fix Dreamcast build 2023-02-12 11:10:06 +01:00
Einar Johan Trøan Sømåen
07d044945d
BASE: Wrap -g setGraphicsMode in transactions.
Without this -g will simply assert.
2023-02-12 09:49:20 +01:00
Einar Johan Trøan Sømåen
1f00706bfb
BASE: Filter out old graphics modes when passed to -g
Fix #12775
2023-02-12 09:44:51 +01:00
Vladimir Serbinenko
1daf70c746 BASE: Fix NPE when executable name is not available 2023-02-01 23:08:50 +01:00
Vladimir Serbinenko
a1fdd9df20 MIYOO: Use 640x480 GUI
it looks nice and crisp on this handheld
2023-01-29 10:41:10 +01:00
Cameron Cawley
138a983d80 COMMON: Refactor VSync handling to match the other options 2023-01-16 18:09:53 +01:00
Vladimir Serbinenko
b91d873df6 SDL: Support auto-detection of GUI resolution. 2023-01-12 10:27:20 +03:00
elasota
3a07524b73 COMMON: Add initial config file option.
This allows an initial/default configuration file to be specified via the command line.  This allows a default settings file to be bundled and loaded even if it's installed to a read-only location, such as Program Files on Windows, and allows the written config file to be deleted without losing the custom defaults.
2023-01-11 14:46:39 +01:00
Eugene Sandulenko
399285b76b
BASE: Added support for autorun file.
Place file named 'scummvm=autorun' next to the ScummVM.

If the file is empty, scummvm will run in autodetect mode, basically
as './scummvm -p . --auto-detect'.

If the file is not empty, then command line parameters will be read
from it one per line. Empty lines and lines starting from '#' are ignored.

If the user supplies more parameters at the command line, those
will also be used and will override the parameters from the autorun file.
2023-01-04 00:46:49 +01:00
Eugene Sandulenko
6cb1c7df81
BASE: Implement autorun mode with executable name
Rename scummvm executable into 'scummvm-auto*' and it is equivalent
of 'scummvm -p . --auto-run'. All additional arguments on the command
line are also processed and override the automatic arguments.
2023-01-04 00:02:02 +01:00
Cameron Cawley
2c8a7d3900 ENGINES: Remove support for GUI options in MetaEngineDetection subclasses 2022-11-16 23:58:54 +01: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
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
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
grisenti
7b53202a9e ALL: add support for --config and refactor code 2022-05-29 13:56:21 +02:00
grisenti
a7ed28e8a7 ALL: add support for --gui-theme and update themes 2022-05-29 13:56:21 +02:00
athrxx
5cba8f9242 Revert "GUI: honor tts_enabled option in some more places"
This reverts commit 5969a2667a85b81a8b78b75fdf6d2d5364068155.
2022-04-26 21:08:41 +03:00
athrxx
5969a2667a GUI: honor tts_enabled option in some more places
(in particular when opening the GMM)
2022-04-10 19:00:35 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
e92e232788 BASE: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
av-dx
7d1c3af603 GUI: Split the LauncherDialog into two classes create a chooser object 2021-11-12 14:46:34 +01:00
Eugene Sandulenko
927b9af1c9
BASE: Set debug flags before instantiating an engine 2021-09-26 13:43:23 +02:00
Cameron Cawley
2f99746d8d ENGINES: Allow implementing registerDefaultSettings in the MetaEngine class 2021-09-18 11:57:29 +02:00
Lothar Serra Mari
74d4380781 BASE: Don't check for config key presence when loading gfx mode 2021-09-18 04:23:19 -05: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
bd7b605552 EVENTRECORDER: Allow --record-file-name for record mode 2021-09-09 19:32:02 +02:00
sluicebox
386c5659ec BASE: Purge keyboard/mouse events before running Engine
Fixes GUI events leaking into engines at startup. This caused
Phantasmagoria 1 to skip its introduction if the game was started from
the ScummVM GUI with a keyboard (Enter) but not with a mouse because
the key-down event started the engine and the key-up event remained
in the queue.

This also purges and mouse events since we happen to already have a
purgeMouseEvents() method. We may want to also clear joystick inputs,
or possibly the entire event queue, but that can be done after the
upcoming release. For now, the known bug is fixed.
2021-08-23 15:46:33 -05:00
Eugene Sandulenko
fef26b3c59
BASE: Capture all global debug channels as early as possible 2021-08-16 21:28:26 +02:00
Cameron Cawley
b2d41daabc GUI: Add improved scaler selection to the Options dialog 2021-06-23 21:29:53 +02:00
sluicebox
f2f28c4549 COMMON: Rename DebugManager methods, update comments 2021-06-14 12:42:38 -05:00
sluicebox
efd4f9ff9d COMMON: Remove DebugManager::debugFlagsClear() 2021-06-14 12:42:38 -05:00
sluicebox
8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
sluicebox
77cfab947a BASE: Fix debug levels parameter name 2021-06-10 10:47:42 -06:00
ysj1173886760
d3b596d820 BASE: Register debug channels before calling the findGame() in main.cpp 2021-05-22 01:34:57 +02:00
ysj1173886760
1c333f66e2 BASE: change the method name to adapt for new api 2021-05-22 01:34:57 +02:00
ysj1173886760
a6542f242e BASE: move setting debug flags to debug manager, set debug flags before call detectGames 2021-05-22 01:34:57 +02:00
ysj1173886760
f07ceca9cb BASE: add global debug flag 2021-05-22 01:34:57 +02:00
ysj1173886760
061fd12966 BASE: register debug channel before instantiate the engine in main 2021-05-22 01:34:57 +02:00
Le Philousophe
610fdfade8 BASE: Unload plugins when exiting after processing arguments
When not displaying the GUI, plugins are not unloaded.
This can cause problems on AmigaOS where plugins must be unloaded before
exiting. Else, some plugins with global destructors cause crashes being
destroyed too late.
2021-05-15 12:50:52 +02:00
Martin Gerhardy
9d82fa51df COMMON: removed USE_TTS check from engines
OSystem now just returns a nullptr if there is no text to speech manager instance
(because none is compiled into the binary, or the system doesn't provide support
for it). This removed the need for the engine authors to add scummvm osystem compile
time options checks into their engine code
2021-05-03 14:13:41 +03:00
Eugene Sandulenko
06794e48c6
BASE: Implemented --window-size command line option 2021-04-21 00:57:31 +02:00
Cameron Cawley
f88769f132 BASE: Fix a crash when attempting to run a disabled engine 2021-04-08 12:18:11 +03:00
Cameron Cawley
3e8ab22eb2 BASE: Don't attempt to unload detection code when building with static detection 2021-04-07 14:38:51 +02:00