macca8
1c91baab78
SCI: Use slot test to test where save is stored
...
Properly detects if a save is stored in the autosave slot, preventing an overwrite by the dummy autosave, even though ScummVM autosave support is currently revoked.
2023-03-05 23:19:40 +01:00
sluicebox
962660cd54
SCI32: Add RAMA Demo to fallback detection
2023-01-19 13:50:54 -08:00
sluicebox
d18f24f4a6
SCI: Improve fallback language detection
...
RESOURCE.CFG and RESOURCE.WIN are now parsed for language codes
2023-01-08 11:41:02 -08:00
Cameron Cawley
2c8a7d3900
ENGINES: Remove support for GUI options in MetaEngineDetection subclasses
2022-11-16 23:58:54 +01:00
Filippos Karapetis
7146df7e9e
SCI: Disable ScummVM autosaves
2022-06-14 01:44:24 +03:00
Filippos Karapetis
8386e92d40
SCI: Fix incorrect music state after saving via the GMM (bug #13447 )
...
This was initially introduced in d8336a31f , but didn't work properly
with SCI0 music. Many thanks to athrxx for tracking the issue and
suggesting a fix
2022-04-28 00:58:56 +03:00
Filippos Karapetis
d8336a31ff
SCI: Allow saving from the GMM for games that can support it
...
This functionality should be working without issues in the following
games:
BRAIN1, BRAIN2, ECOQUEST1, ECOQUEST2, FAIRYTALES, PHARKAS, GK1, ICEMAN,
KQ1, KQ4, KQ5, KQ6, KQ7, LB1, LB2, LONGBOW, LSL1, LSL2, LSL3, LSL5, LSL6,
LSL6HIRES, PEPPER, PQ1, PQ2, PQ3, PQ4, PQSWAT, QFG1, QFG1VGA, QFG2, QFG3,
QFG4, SQ1, SQ3, SQ4, SQ5, SQ6
2022-01-16 18:36:27 +02:00
Filippos Karapetis
fb9a96d0f8
SCI: Add WIP code for saving via GMM and autosaving (still disabled)
...
We check if the user has control, which seems to be working as intended,
but music is not resumed properly after loading, so it's disabled for
now
2022-01-16 13:54:57 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
940c7bfc14
SCI: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh
ee57380de7
ENGINES: JANITORIAL: Remove 'virtual' when override is specified
2021-11-14 14:32:04 +02:00
Orgad Shaneh
78ef6203de
ENGINES: Fix getSavegameFile for almost all engines
...
Use kSimpleSavesNames correctly, add where needed, remove where needed.
Trac #12977
2021-11-10 21:49:48 +00:00
Orgad Shaneh
fe104cc337
ENGINES: Use MetaEngine consistently for getting autosave slot
...
The autosave refactoring that was done in
7adad5aaf5 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.
Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.
Amends 7adad5aaf5 .
2021-10-24 16:46:06 +02:00
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