1259 Commits

Author SHA1 Message Date
Lothar Serra Mari
8b3319bd37 BASE: Enable Discord RPC integration by default 2021-09-02 14:21:07 +02:00
Eugene Sandulenko
580ec65220
RELEASE: This is 2.4.0git 2021-08-28 21:01:11 +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
Thierry Crozat
9f46c9a3ac BASE: Add TTS to version information 2021-08-18 22:38:55 +01:00
Eugene Sandulenko
fef26b3c59
BASE: Capture all global debug channels as early as possible 2021-08-16 21:28:26 +02:00
Eugene Sandulenko
436e47292e
BASE: Load engine plugins by name. Fixes bug #12342
This is a degradation from the split of detection plugins. All the
caching code which was present was left with detection plugins which
now make no sense: we always load all detection plugins as a whole.

This commit moves the caching logic over to the Engine plugins.

This opens a question now whether we should move all to UNCACHED_PLUGINS
2021-08-16 20:32:53 +02:00
trembyle
63b8d47df5 CONFIGURE: Enable building with Windows text console output
Create a new flag --enable-windows-console to build with console
output on MinGW. The default behavior will be to enable the console.
The current plan is to continue to offer the users both options for
release builds - ScummVM and ScummVM (noconsole).

Whenever the text console is enabled, Windows console will be added
by default. This is to prevent a situation where ScummVM will not load
any visible debug console on hotkey or error.
2021-07-13 11:57:22 -05:00
Torbjörn Andersson
2ba156184c SCUMM: Add Macintosh b/w rendering mode
This is currently only (partially) implemented for the 16-color Mac
versions of Loom and Indiana Jones and the Last Crusade. The text is
still drawn in color, since that's rendered separately, but I'm
committing this now while it still works.
2021-07-13 09:53:36 +02:00
Cameron Cawley
c2ae54306f BASE: Update scaler settings from old config files 2021-06-23 21:29:53 +02:00
Cameron Cawley
b2d41daabc GUI: Add improved scaler selection to the Options dialog 2021-06-23 21:29:53 +02:00
Cameron Cawley
da5d773924 BACKENDS: Add getDefaultScaler and getDefaultScaleFactor to OSystem 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
fa247d13de COMMON: Rename DebugManager global/member names 2021-06-14 12:42:38 -05:00
sluicebox
8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
Annick Ecuyer
1fe46a61f2 BASE: Added --engine=ID for --list-all-games and --list-games
For the command line, lists games only for the specified engine.
(optional)
2021-06-10 22:42:39 +01:00
sluicebox
77cfab947a BASE: Fix debug levels parameter name 2021-06-10 10:47:42 -06:00
SupSuper
e3d082df65 MSVC: Add compiler printf validation 2021-06-02 08:35:31 +03:00
ysj1173886760
649661a6da BASE: add clarification for list-debugflags when typing help 2021-05-22 01:34:57 +02:00
ysj1173886760
d147ab855f BASE: add listing the engine specified debugflags in commandline 2021-05-22 01:34:57 +02:00
ysj1173886760
5feac6bdff BASE: add list-all-debugflags and list-debugflags to commandLine 2021-05-22 01:34:57 +02:00
ysj1173886760
d3b596d820 BASE: Register debug channels before calling the findGame() in main.cpp 2021-05-22 01:34:57 +02:00
ysj1173886760
4505054c33 BASE: Register debug channels before calling the findGame() in plugins.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
66cf874a6a BASE: When replacing a duplicate plugin unload it first
This avoids having plugins loaded twice for nothing and avoids crashes
on AmigaOS at exit.
2021-05-15 12:52:22 +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
a/
36a5797bae DETECTOR: Clear md5 cache before detection as well 2021-05-14 22:35:23 +02:00
Le Philousophe
8a67d8913e BASE: Fix segmentation fault when detection plugin cannot be found
This could happen if some engine plugin is placed in a build where
detection was not compiled in
2021-05-08 23:45:57 +02:00
Le Philousophe
1ac759abdc BASE: Load all plugins linked inside detection plugin
This was done in UncachedPluginManager but not in PluginManager
2021-05-08 23:45:39 +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
7fde53d5f7
BASE: Remove redundant warning. It will be triggered at the end of the function 2021-05-02 01:11:04 +02:00
Cameron Cawley
c38e3bdc2a AUDIO: Support building with FluidLite 2021-04-25 20:39:55 +03:00
Eugene Sandulenko
a78dfea622
BASE: Add taskbar to version information 2021-04-25 02:19:07 +02:00
Eugene Sandulenko
06794e48c6
BASE: Implemented --window-size command line option 2021-04-21 00:57:31 +02:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Eugene Sandulenko
6608aac670
BASE: Do not warn on unhandled empty command, improve warning wording 2021-04-14 20:37:28 +02:00
Eugene Sandulenko
9b23dfef5a
BASE: Added --list-all-engines and warn developer about unhandled command line keys 2021-04-14 15:25:08 +02:00
Eugene Sandulenko
003d4cda09
BASE: Made --list-games show list of supported games and added --list-all-games 2021-04-14 15:18:19 +02:00
Eugene Sandulenko
6e8106aa49
BASE: Fix --list-targets aster HashMap rewrite 2021-04-14 15:06:00 +02:00
Eugene Sandulenko
1774094089
BASE: Make --list-engines show list of truly compiled engines
After plugins were split, we were showing list of detection plugins
which is misleading, since all of them are always included.
2021-04-14 15:04:37 +02:00
Lothar Serra Mari
28544b4b58 BASE: Indicate if GIF support was compiled into a build 2021-04-10 18:50:36 +02:00
Eugene Sandulenko
5c3413714e
BASE: Indicate if Event Recorder was compiled in into a build 2021-04-09 23:54:00 +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
Cameron Cawley
a1890ede9c BASE: Avoid calling PluginMan.getEngineFromMetaEngine where possible 2021-04-05 15:33:23 +01:00
Mataniko
8802184bd5 PLUGINS: Remove CoreMidi hack 2021-03-29 19:39:22 -04:00
Johannes Schickel
abbdadf869 GRAPHICS: Add possibility to search for a scaler via its name. 2021-03-15 16:48:40 +02:00