Commit Graph
521 Commits
Author SHA1 Message Date
Le Philousophe 3f7d37b03f COMMON: Make rotation mode fit other settings semantics
This also avoids configuration lookups at every frame update.
2025-06-15 13:22:31 +02:00
tunnelsociety 44b4b289b8 BASE: Show error description when game fails to run
The previous "not...any engine" message was appropriate in the past (circa
1a938956ec), but with changes over time it began appearing even for
other error conditions (e.g. some game data files missing); thus it was
sometimes incorrect.
2025-06-03 11:57:13 +03:00
tunnelsociety fe142ede1a BASE: Fix MetaEngine leak in runGame
metaEngine could have been issued createInstance but not deleteInstance
if an engine failed to instantiate (e.g. if user cancels start of a
not-fully-supported game).
2025-05-14 23:27:12 +01:00
Filippos Karapetis 4c5adb95ba BASE: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
Eugene Sandulenko eac7113fce BASE: Properly pass window size passed via command line. Bug #14359 2024-11-15 16:41:52 +01:00
tunnelsociety ae27985eec JANITORIAL: Fix typo in main 2024-09-29 21:28:28 +02:00
Le Philousophe 867cbfcd0d ANDROID: Create a dedicated define for Android backend
This allows other backends (SDL, libretro) to be used on Android without
hacks.
2024-09-02 20:53:57 +03:00
Miro Kropacek dd49c9e3ce BACKENDS: ATARI: QoL improvements
- fixed aspect ratio correction (overlay destroyed
  its state, keyboard shortcut didn't always work),
  as well as significantly sped it up on VGA and
  SuperVidel

- smoother transitions between video modes

- reduce the number of video mode changes

- fixed a few extreme cases when triple buffering
  could lose an update

- lighter ST RAM usage in the lite build

- removed hardware accessing init/deinit routines
2024-07-15 19:42:51 +02:00
Le Philousophe a92dab8a8c BASE: Unload detection plugin before running game 2024-06-30 18:39:06 +02:00
Le Philousophe 05a62249a9 PLUGINS: hide unloadAllPlugins from outside of PluginManager
This function will delete all plugins even those also stored in
_allEnginePlugins list which triggers a double free when cleaning up.
2024-06-30 18:39:06 +02:00
Le Philousophe c93f53b491 PLUGINS: Rename getEngineFromMetaEngine to getEngineFromDetectionPlugin
Update comments and variable names accordingly.
This now matches what this function really do.
2024-06-30 18:39:06 +02:00
Le Philousophe 2645b1431c PLUGINS: Rename findPlugin to findDetectionPlugin
This function does return a MetaEngineDetection plugin
2024-06-30 18:39:06 +02:00
Le Philousophe a7d0db4947 ENGINES: Let MetaEngine delete the engine
This will allow to cleanup other data managed by the MetaEngine (game
descriptors).
2024-06-30 18:39:06 +02:00
Le Philousophe 98d6f155d2 ENGINES: Split Engine::createInstance in two
This brings a cleaner separation between AdvancedMetaEngineDetection and
AdvancedMetaEngine.
2024-06-30 18:39:06 +02:00
Le Philousophe 04d68d87c0 BASE: Migrate to Path class 2023-12-24 13:19:25 +01:00
Le Philousophe d931c58b5b BASE: Start considering game paths as Path class
As it's still stored as String, this is still safe for every legacy use
2023-12-24 13:19:25 +01:00
Le Philousophe 2f34975164 COMMON: Make shaders API use the Path class 2023-12-24 13:19:25 +01:00
Le Philousophe 802c91554f COMMON: Make extrapath a Path object 2023-12-24 13:19:25 +01:00
Le Philousophe 088db8ca65 BASE: Various some path related cleanups 2023-12-24 13:19:25 +01:00
Eugene Sandulenko 35228a396f Revert "BASE: Always print CPU extensions on startup"
This reverts commit d7d5c1f65c.
2023-12-08 12:44:14 +01:00
Eugene Sandulenko 660e7f9105 BASE: Added more missing spaces to the SAF message 2023-12-02 15:40:18 -08:00
Eugene Sandulenko 51d740995c BASE: Add missing spaces in the SAF explanation text 2023-12-02 15:38:31 -08:00
Eugene Sandulenko d7d5c1f65c BASE: Always print CPU extensions on startup 2023-11-22 01:00:30 +01:00
Rana prathap 97a9ed6e8d OPENGLSDL: add way to force update the window to required resolution 2023-11-17 20:28:39 +01:00
Rana prathap c8d2c4dad1 GUI: Fix filenames for dumped dialogs 2023-11-17 20:28:39 +01:00
Kaloyan Chehlarski 0785fb6a73 BASE: Print CPU extension info to console on startup 2023-11-14 12:05:27 +02:00
Eugene Sandulenko ed923ba26d BASE: Add commented out dumping of all GUI dialogs 2023-10-10 23:23:35 +02:00
CadiH ca2fa723e3 BASE: updates SAF popup to align with GUI help 2023-10-06 22:24:55 +02:00
Thierry Crozat e66554bb73 BASE: Fix exiting scummvm_main loop in backend not allowing quit
This could be triggered using the Escape key in the launcher.
This fixes bug #14624.
2023-09-20 02:14:40 +02:00
Ankush Dutt 97aa1d602a JANITORIAL: Remove DLCMan.init() and its destroy call since it's not required 2023-09-14 08:22:56 +02:00
Ankush Dutt 22f912d7e0 DLC: Wrap ScummVM DLC in configure enabled feature, disabled by default 2023-09-14 08:22:56 +02:00
Ankush Dutt 6e8bdee909 BACKENDS: Add initial code for DLC Manager 2023-09-14 08:22:56 +02:00
Thierry Crozat 4885225174 COMMON: Move autorun detection code to OSystem::updateStartSettings() 2023-03-24 21:11:50 +01:00
Thierry Crozat c8ce35075a COMMON: Add updateStartSettings() method to OSystem
This lets backend customize the start settings. For example
they can auto-start a game under some circumstances.
2023-03-24 21:11:50 +01:00
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