Commit Graph
13 Commits
Author SHA1 Message Date
Filippos Karapetis a61aec54db CGE2: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
Eugene Sandulenko e62aa1cb8a I18N: Normalized "Left Click" to be in title case in keymaps 2024-11-04 15:36:23 +01:00
sluicebox 4200d6575c ALL: Return result from MetaEngine::removeSaveState 2024-10-18 09:41:03 +03:00
Filippos Karapetis a57900d8ca CGE2: Rewrite keymapper and add joystick support - bug 15188
Also, clean up the keyboard input code. The two quit actions
have been merged into one, as the second one was superfluous
2024-08-10 19:23:18 +03:00
Le Philousophe b61bd3ff85 ENGINES: Create a type aware advanced meta engine 2024-06-30 18:39:06 +02:00
Aditya 4b3119c720 CGE2: Add Keymaps to the engine 2024-01-18 23:38:38 +02:00
Cameron Cawley 66b2483fd5 CGE2: 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 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
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
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 4ef8eab545 CGE2: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00