Commit Graph

398 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko
ccfaf478ab
AD: Make sure that we initialize hashmaps. Unfortunately, this leads to less const'ness 2021-11-29 01:50:03 +01:00
Orgad Shaneh
b125faf954 ADL: 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
Walter van Niftrik
9abd1d8d53 ADL: Remove testing flag for hires1 French 2021-08-16 19:24:46 +02:00
Cameron Cawley
2992675704 ADL: Add keymapper support 2021-08-07 17:11:02 +03:00
D G Turner
4968e0206f ADL: Remove C++-11 flag From Engine
This is not required as this engine does not use any C++-11 specific
code and thus will build fine with C++-98.
2021-08-06 05:28:39 +01:00
Max Horn
2f1f8f502e DEVTOOLS: move credits from devtools/credits.pl to engines
This employs a "lazy" approach: the "format" for the credits stays
exactly as it was, i.e., perl code. Of course one may want to change
this to another format (e.g. YAML, JSON, XML; or also shell script or
AWK, like `configure.engine` uses). But I deliberately kept it simple,
to get a minimal change that is easy to verify. Any further changes to
e.g. the format can be layered atop this.
2021-08-05 00:01:46 +02:00
Walter van Niftrik
485e5def14 ADL: Add support for hires1 PD variant 2021-07-28 01:07:03 +02:00
Walter van Niftrik
87a75ad02b ADL: Add support for more hires2 variants 2021-07-27 23:56:27 +02:00
Walter van Niftrik
691392a109 ADL: Make hires1 extra fields more descriptive 2021-07-27 23:56:27 +02:00
Walter van Niftrik
5f6c88ef15 ADL: Add support for later French hires1 2021-07-24 00:56:51 +02:00
Walter van Niftrik
01e6ec1649 ADL: Use slot 15 for autosave 2021-07-24 00:56:51 +02:00
Walter van Niftrik
e8dd3b7085 ADL: Add delay after printing strings in hires1 2021-07-24 00:56:51 +02:00
Walter van Niftrik
56390d5f5f ADL: Add support for hires1 french (early version) 2021-07-24 00:56:51 +02:00
Walter van Niftrik
f32dde20bd ADL: Scan for executable strings in hires1 2021-07-24 00:56:51 +02:00
Walter van Niftrik
960811fc55 ADL: Add support for another early hires1 2021-07-24 00:56:51 +02:00
Walter van Niftrik
eb6751a055 ADL: Try VTOC track 0x10 if 0x11 fails 2021-07-24 00:56:51 +02:00
Walter van Niftrik
ce2742a828 ADL: Add detection entry for early hires1 2021-07-24 00:56:51 +02:00
Walter van Niftrik
28e049e8d6 ADL: Require C++11 2021-07-24 00:56:51 +02:00
Paul Gilbert
005561d305 COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
ysj1173886760
5f74ffcf0a ADL: move debug messages in detection into kDebugGlobalDetection channel 2021-05-22 01:34:57 +02:00
ysj1173886760
0cfdf7bb6e ADL: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Eugene Sandulenko
2a317b611d ADL: Use macros in detection tables 2020-11-28 13:18:19 +01:00
Eugene Sandulenko
7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
Eugene Sandulenko
7ea6781043 PLUGINS: PLUGIN_TYPE_METAENGINE -> PLUGIN_TYPE_ENGINE_DETECTION 2020-10-11 23:12:32 +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
a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
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
0a14511547 ADL: Remove unneeded functions from detection & move to metaengine. 2020-10-03 14:56:36 +02:00
aryanrawlani28
d57f84205c ADL: Seperate detection.h into two headers to improve dependencies
- Also makes it match other engine conventions.
- Engine files get a copy of detection_enums, while metaengine & detection.cpp get a copy of detection.h as well as detection_enums.
2020-10-03 14:56:36 +02:00
aryanrawlani28
c2428c7a8f ADL: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Thierry Crozat
cca6090454 ADL: Enable virtual keyboard when the engine is running 2020-08-29 16:31:37 +01:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Paul Gilbert
9f175c4053 ENGINES: Cleanup of savegame filenames generation
This removes filename methods when it matched the Engine method.
Secondly, ensuring there was an overriden getSaveStateName method
for engines that didn't do the standard target.00x save filenames
2020-02-16 15:44:28 -08:00
Paul Gilbert
a00e44ba6c ENGINES: Merge saveGameState virtual methods into a single one 2020-02-16 15:44:28 -08:00
Paul Gilbert
19bf2b7b7b ADL: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
61ac4a5ab4 ADL: Add override keywords 2020-02-09 12:42:42 +01:00
Eugene Sandulenko
4fd97dffe0 ADL: Added override keywords 2020-02-05 14:35:42 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Eugene Sandulenko
58499ef0cd ADL: Add override keywords 2020-01-31 12:44:40 +01:00
Bastien Bouclet
4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
D G Turner
3bd273fc8e ADL: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-13 18:17:46 +01:00
Henrik "Henke37" Andersson
41a1d446dd ADL: The engine does not support midi. Mark the games as such. 2019-09-29 19:34:16 +03:00