Commit Graph
16 Commits
Author SHA1 Message Date
sluicebox 4200d6575c ALL: Return result from MetaEngine::removeSaveState 2024-10-18 09:41:03 +03:00
Le Philousophe b61bd3ff85 ENGINES: Create a type aware advanced meta engine 2024-06-30 18:39:06 +02:00
Torbjörn Andersson a80c167641 DREAMWEB: Add "Enable copy protection" engine checkbox 2024-06-30 18:01:32 +02:00
Eugene Sandulenko 8a5f1a91e6 DREAMWEB: Removing redundant methods: the game does not allow save/load from GMM 2023-12-08 12:21:16 +01:00
Eugene Sandulenko ec2dd2726b ENGINES: Added optional parameter to canSave/LoadGameStateCurrently() for indicating the reason 2023-12-08 12:21:16 +01:00
sluicebox 3a066936b8 DREAMWEB: Fix save parsing in querySaveMetaInfos
Save parsing in `querySaveMetaInfos` had an off-by-one error.
`listSaves` contains the correct parsing.

This caused save descriptions to accumulate a leading junk byte (0x02).
As saves were loaded and re-saved, this added more junk bytes until the
ScummVM list GUI either displayed an empty string or crashed.

This bug affected users differently depending on if they used the list
or grid view for saving and loading.

`querySaveMetaInfos` parsing now matches `listSaves`.

Fixes bug #14561
2023-11-28 13:28:25 +00:00
Cameron Cawley c11cf35f48 DREAMWEB: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01: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 4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00: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 29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28 8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28 7fe1eb330d DREAMWEB: Remove redundant and unreachable return statement 2020-10-03 14:56:36 +02:00
aryanrawlani28 5161f46f98 DREAMWEB: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00