Commit graph

199 commits

Author SHA1 Message Date
Filippos Karapetis
9eee0e2be3 KINGDOM: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
Eugene Sandulenko
b34411bc23
ENGINES: [a-k]*: Switched Debug Channels from bitfield to sequential enum 2025-02-22 15:51:24 +01:00
Eugene Sandulenko
fdecb6afca ENGINES: Add components to configure.engine's explanatory comment 2024-12-25 00:34:39 +01:00
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
Le Philousophe
90b886097f ENGINES: Create a type aware advanced detector 2024-06-30 18:39:06 +02:00
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Cameron Cawley
bd559de863 KINGDOM: Use OSystem::copyRectToScreen() and fillScreen() where possible 2024-01-07 11:09:34 +02:00
antoniou79
21248eca74 KINGDOM: Supporting returning back to launcher feature
Also adds a _mixer->stopAll() call in the engine's destructor
2024-01-02 11:23:59 +02:00
Le Philousophe
ca89a72b68 KINGDOM: Migrate engine to Path 2023-12-24 13:19:25 +01:00
sluicebox
5656c999f8 KINGDOM: Fix memory leak. PVS-Studio V773 2023-12-19 04:11:02 -08:00
Cameron Cawley
214b3bd8c1 KINGDOM: Free allocated memory on exit 2023-12-18 18:17:15 +01:00
Cameron Cawley
821666e210 KINGDOM: Avoid loading entire files into memory 2023-12-18 18:17:15 +01:00
Lothar Serra Mari
878fcfecd5 KINGDOM: Clear ADGF_TESTING flags 2023-12-15 13:40:19 +01:00
Athanasios Antoniou
c9c03d6995
KINGDOM: Fix skipping and quitting demo movie (#5372)
The detection that the demo movie was skipped is done by the external flag _demoMovieSkipped

This is not as clean as it would be updating a reference parameter variable from within playMovie()
but that would require changing the signature of playMovie and all of its calls
2023-10-22 02:34:30 +02:00
Strangerke
bea77fe2ee KINGDOM: Add detection for the Windows version (not supported), switch to "build by default" and to ADGF_TESTING. Also replace GUIO1(GUIO_NONE) by GUIO0 2023-10-18 02:10:19 +01:00
Strangerke
f3eb5af91e KINGDOM: Fixa nasty bug in logic (pointed out by PVS-Studio), group identical cases in a switch 2023-05-01 07:37:56 +01:00
Strangerke
eafd061334 KINGDOM: Fix potential memory leak 2023-05-01 07:37:56 +01:00
Donovan Watteau
18ab6803d6 JANITORIAL: Fix various "an" typos in comments 2023-03-16 14:47:28 +01:00
Cameron Cawley
7bcc15c0d9 KINGDOM: Simplify the console code 2022-12-02 22:58:31 +02:00
Cameron Cawley
8f6028c43d KINGDOM: Reduce the size of the static data and make it const 2022-11-30 23:30:25 +02:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
7fa7b12c91 KINGDOM: 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
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
ysj1173886760
957189213d KINGDOM: 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
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
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
033ad0baa1 KINGDOM: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Eugene Sandulenko
3d2f4e78b5 KINGDOM: Initialize variable 2020-08-29 17:22:24 +02:00
Eugene Sandulenko
ac6932bd89 I18N: Added missing files to POTFILES 2020-08-27 20:26:45 +02:00
Strangerke
5645b973cc KINGDOM: Initialize graphics for the 3DO version 2020-06-15 00:51:00 +01:00
Strangerke
c66191bfef KINGDOM: Add detection for the 3DO version 2020-06-14 22:06:54 +01:00
Eugene Sandulenko
00442a193c KINGDOM: Simplified drawHotSpot() 2020-06-11 10:55:28 +02:00
Eugene Sandulenko
b7e878f0de KINGDOM: Got rid of global constructors 2020-06-11 10:53:00 +02:00
Eugene Sandulenko
b54ba7c7e7 KINGDOM: Switched _finalFrameTable to byte for better readability 2020-06-11 10:28:26 +02:00
Strangerke
4fc151caf1 KINGDOM: Add finalFrameTable to better match the original, rename enAll and dsAll, add some comment in the Help screen 2020-06-10 23:24:00 +01:00
Strangerke
95c464e338 KINGDOM: Modify readSavegameHeader in order to match the other engines 2020-06-10 13:26:45 +01:00
Strangerke
1d3dc9cb13 KINGDOM: Small rework to silence a coverity warning 2020-06-10 13:22:59 +01:00
Strangerke
0238598dd2 KINGDOM: Fix bug in GPL3_590 2020-06-09 23:40:51 +01:00
Strangerke
5cf86c0ae5 KINGDOM: Fix a couple of issues in GPL3_560 and GPL3_781 2020-06-09 23:33:55 +01:00