Commit graph

7 commits

Author SHA1 Message Date
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
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Filippos Karapetis
f360509c1f SAGA2: Remove SAGA1 game file types 2021-09-11 12:23:41 +03:00
Eugene Sandulenko
8d16b5156d
SAGA2: Further include dependency reduction 2021-07-01 01:36:54 +02:00
a/
7d0d52ed8e
SAGA2: Update debug channels to include resources 2021-07-01 01:36:45 +02:00
Eugene Sandulenko
18c43a8402
SAGA2: Support original CD layout for FTA2 2021-07-01 01:36:45 +02:00
Eugene Sandulenko
62e5f32dd8
SAGA2: Initial engine commit 2021-07-01 01:36:44 +02:00