Commit graph

15 commits

Author SHA1 Message Date
Cameron Cawley
2f99746d8d ENGINES: Allow implementing registerDefaultSettings in the MetaEngine class 2021-09-18 11:57:29 +02:00
Cameron Cawley
afe9a804f6 SCI: Move the engine options into the engine plugin 2021-09-18 11:57:29 +02:00
Orgad Shaneh
7adad5aaf5 ENGINES: Streamline auto-save write/delete protection
Some engines call setAutosave and some don't. isAutosave is used to
determine if a saved game is an autosave, but in fact, on most cases it
just falls back to comparing the name to "Autosave".

This is wrong for several reasons:
* Older versions of ScummVM used Autosave 0.
* The name "Autosave" is translated, so if you change the language, it
  won't be detected.

Instead of relying on the name, use the well-known getAutosaveSlot() from
Engine/MetaEngine.

Fixes #12735.
2021-08-23 13:34:35 +02:00
ysj1173886760
5c08d58f70 ENGINES: resolve compile errors 2021-06-13 14:15:45 +02:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Filippos Karapetis
a88cef4b28 SCI: Refactor and simplify the fallback detector 2021-04-23 15:39:17 +03:00
Cameron Cawley
4ccc53b0aa SCI: Fix fallback detection for Police Quest: SWAT 2021-04-16 01:11:40 +02:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Thierry Crozat
4ed344b111 SCI: Fix compilation following recent AdvancedMetaEngine changes 2020-12-04 23:04:18 +00:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Eugene Sandulenko
b7b8d0638f SCI: Always detect all games, but give users a message when SCI32 is not compiled in 2020-11-29 16:35:15 +01:00
Filippos Karapetis
f02068a8f3 SCI: Add a flag to distinguish SCI16 from SCI32 games during detection 2020-11-29 14:36:18 +02:00
aryanrawlani28
d26bbe521c ENGINES: ALL: Finish renaming ME & AME classes
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28
102b22f4a8 SCI: Fix naming for SciMetaEngineConnect 2020-10-03 14:56:36 +02:00
aryanrawlani28
255af8a0eb SCI: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00