Commit graph

246 commits

Author SHA1 Message Date
Thierry Crozat
892b485c2b COMPOSER: Fix error when starting games
This is a regression from commit bbc4d51
2024-12-05 08:40:59 +00:00
Eugene Sandulenko
6ab5f889d4
COMPOSER: Fix savesate name generation when run from scripts. Bug #11022 2024-11-15 14:32:19 +01:00
Eugene Sandulenko
7500ef2ca6
I18N: Added missing files to POTFILES 2024-11-08 01:19:37 +01:00
Eugene Sandulenko
e62aa1cb8a
I18N: Normalized "Left Click" to be in title case in keymaps 2024-11-04 15:36:23 +01:00
NabeelShabbir
56c5af314c COMPOSER: Improve mapping labels 2024-07-15 07:53:00 +03:00
Cameron Cawley
441b02d057 DETECTION: Use uint32 for ADGameFileDescription file size 2024-06-30 19:13:41 +02:00
Le Philousophe
7e0048b4a3 ENGINES: Add ADDynamicGameDescription class
This class manages a buffer where all data usually stored in detection
plugin will get copied before unloading the plugin and starting the
game.

This class expects that two functions are present in every
GameDescription: sizeBuffer which calculates how many bytes we will need
to store the entry in RAM and toBuffer which copies the data in the
buffer and fix the pointers in the class.
At the end, it is expected that an ADDynamicGameDescription doesn't
depend anymore on data stored in the detection plugin.

The AD_GAME_DESCRIPTION_HELPERS macro allow to implement these functions
in all GameDescription which don't have any pointer except those in
ADGameDescription.
2024-06-30 18:39:06 +02: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
NabeelShabbir
3587b96876 COMPOSER: Add keymapper support 2024-06-17 13:21:58 +01:00
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Cameron Cawley
30b977c272 DETECTION: Mark more symbols as const 2023-12-26 20:23:59 +01:00
Le Philousophe
bbc4d51fc4 COMPOSER: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Eugene Sandulenko
618a10cc8d
COMPOSER: Improved detection of magictales Hebrew demo 2023-12-16 00:34:45 +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
f1426f42a0 COMPOSER: Fix memory leak when loading save
Coverity CID 1365422
2023-11-02 09:26:13 -07:00
Kaloyan Chehlarski
e8f2f52197 COMPOSER: Silence uninitialized variable warnings
Fixed most of the bogus warnings in saveload.cpp caused
by usage of the Serializer class.
2023-10-28 16:19:34 +03:00
Miro Kropacek
4ba746f6a0 COMPOSER: Optimize sprite drawing 2023-10-16 17:33:33 +02:00
Le Philousophe
5bdd9e6f50 ALL: Unify zlib and gzio API
zlib is used when available and falls back on gzio.
This allows performance improvements as our CRC32 and gzio
implementations are slower than base zlib.
As zlib is available when libpng is present, this is sensible to
benefit from it.
2023-08-28 21:49:03 +02:00
Vladimir Serbinenko
d072b28d5c COMPOSER: Change all mac checksums to use data fork
Composer doesn't use resource forks, so allow to play without them
2023-01-10 18:34:33 +01:00
Vladimir Serbinenko
3df0927164 COMPOSER: Add configfile for french darby
Without it loading the game fails.
2023-01-10 18:34:33 +01:00
Vladimir Serbinenko
1ec8da633e COMPOSER: Fix missing subdir matching for macintosh version of several games 2023-01-10 18:34:33 +01:00
Vladimir Serbinenko
dc6ecf4d6c COMPOSER: Add imo and the king demo detection entry 2023-01-10 18:34:33 +01:00
Vladimir Serbinenko
778106a67b COMPOSER: Support full macbinary dump
Currently the code assumes that normal file opening is good enough but it's a
problem if the disk has been dumped as macbinary
2023-01-10 18:34:33 +01:00
Cameron Cawley
28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
BLooperZ
fbfe0280a9 COMPOSER: Fix typo in demo title 2022-12-08 19:09:38 +01:00
BLooperZ
76737d131d COMPOSER: Fix macintosh detection entries for v1 2022-12-08 19:09:38 +01:00
BLooperZ
3e12c9ddc2 COMPOSER: Load book config from MacBinary 2022-12-08 19:09:38 +01:00
Eugene Sandulenko
fb7095f5a4
COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Cameron Cawley
a020300701 ENGINES: Remove use of getEngineId() in MetaEngine subclasses 2022-07-20 11:54:19 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
6a59febd46 COMPOSER: 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
0db343d364 ENGINES: Add missing getSavegameFile overrides
... for non-default names.

Fixes moving autosave to a new slot.

Trac #12977
2021-10-24 16:46:36 +02: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
Paul Gilbert
005561d305 COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
sluicebox
8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Eugene Sandulenko
e3e22e26c8
COMPOSER: Added detection for French littlesamurai. Bugreport #12124 2021-04-23 15:56:49 +02:00
Eugene Sandulenko
7fbe5512a7
COMPOSER: Added detection for French imoking. Bugreport #12123 2021-04-23 15:56:49 +02:00
Eugene Sandulenko
c2c4526e56
COMPOSER: Added detection for French babayaga. Bugreport #12122 2021-04-23 15:56:49 +02:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
sluicebox
93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +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
a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
2020-10-03 14:56:36 +02:00