Commit Graph

266 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
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
Cameron Cawley
1357bfe672 COMMON: Avoid including engine headers in common code for DebugChannelDef 2024-06-20 20:15:57 +01:00
Walter Agazzi
6b37d7ac27 ICB: Add detection entry for French version
Fix #15118
2024-05-09 14:17:16 +02:00
Christian Krause
a04bb51bf5 ICB: compile fix for GCC 14
- cast const away to allow modification (as intended according to
  existing comments)
2024-02-10 12:17:39 +01:00
Eugene Sandulenko
1d6f7b05ea
JANITORIAL: Clean up some English language 2024-01-21 00:28:44 +01:00
sluicebox
b68f068b5a ICB: Declare Fatal_error NORETURN 2023-12-26 12:01:12 -08:00
Le Philousophe
d5736f602e ICB: Migrate engine to Path 2023-12-24 13:19:25 +01: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
elasota
5abae67266 ICB: Fix cast of integer to pointer of greater size warning 2023-07-08 22:02:00 +03:00
elasota
1741e338ca ICB: Fix signed/unsigned conversion 2023-07-08 22:02:00 +03:00
elasota
364e6b0bdd ICB: Fix negation of unsigned integer 2023-07-08 22:02:00 +03:00
Walter Agazzi
3651b8a27c ICB: Fix compilation 2023-05-21 01:46:17 +02:00
Cameron Cawley
adef12d993 VIDEO: Implement setOutputPixelFormat() for BinkDecoder 2023-04-05 12:45:13 +02:00
Eugene Sandulenko
1737d9bd9d
I18N: Fix I18N comment placement 2023-03-25 20:54:17 +01:00
Eugene Sandulenko
c5d49620b3
ICB: Added I18N comments to keybindings 2023-03-17 16:19:18 +01:00
Eugene Sandulenko
edbb112a56
ICB: Add missing POTFILES 2023-03-17 16:17:46 +01:00
Walter Agazzi
63a2dc4388 DETECTION: Convert all GOG strings to GOG.com 2023-01-15 11:46:46 +02:00
elasota
e280186a8c ALL: VS warning cleanup 2022-12-25 16:31:57 +01:00
Eugene Sandulenko
5aa8ae6a95 ICB: Fix warnings 2022-12-16 11:17:54 +01:00
Cameron Cawley
28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
Donovan Watteau
4a90e10942 ICB: Use MSVC_PRINTF when GCC_PRINTF is used 2022-11-29 01:37:16 +01:00
Donovan Watteau
bcc9e1e803 ICB: Make pxVString use GCC_PRINTF to catch -Wformat issues 2022-11-25 16:36:15 +01:00
Eugene Sandulenko
dcb401f3bf
ICB: Fix output string firmat. CID 1433586 2022-11-20 19:07:28 +01:00
Donovan Watteau
16e2068aec JANITORIAL: Fix various single-character typos 2022-11-11 20:55:56 +01:00
Hubert Maier
7900f40730 ICB: Correct spelling mistake
belive -> believe
2022-11-01 17:09:25 +02:00
Donovan Watteau
088d701f24 ICB: Fix an off-by-one in InitWeather() 2022-10-31 16:03:47 +01:00
Hubert Maier
d1eae1e3b8
ICB: Correct spelling mistake
definately -> definitely
2022-10-27 15:56:13 +02:00
Hubert Maier
3731d573de
ICB: Correct spelling mistake
principal -> principle
2022-10-27 15:56:13 +02:00
Hubert Maier
0d8f3b3bec
ICB: Correct spelling mistake
adress -> address
2022-10-27 15:56:13 +02:00
Hubert Maier
a50a0d6667
ICB: Correct spelling mistake
definately -> definitely
2022-10-27 15:56:12 +02:00
Hubert Maier
25256b10d3
ICB: Correct spelling mistake
teh -> the
2022-10-27 15:56:12 +02:00
Hubert Maier
a48e694525
ICB: Correct spelling mistake
definately -> definitely
2022-10-27 15:56:12 +02:00
Hubert Maier
b59c80a0dd
ICB: Correct spelling mistake
aquire -> acquire
2022-10-27 15:56:12 +02:00
Le Philousophe
11b3f71973 ICB: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe
f24d143565 ICB: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe
0da806b04b ICB: Fix CID 1433477, 1433308 and 1433637 2022-10-23 17:32:37 +02:00
Eugene Sandulenko
9ae7a446e1
ICB: Fix copy/pate error. CID 1433582 2022-10-08 01:42:15 +02:00
Eugene Sandulenko
7c0d64034a
ICB: Fix copy/paste error. CID 1433438 2022-10-08 01:40:14 +02:00
Walter Agazzi
cd29ebbda1 ICB: Add detection for Spanish Anniversary version 2022-10-04 00:41:02 +02:00
Paweł Kołodziejski
95765feb55
ICB: ELDORADO: Fixed my earlier change in speech.cpp 2022-08-05 18:49:46 +02:00
Joost Peters
c7804e96a8 ICB: ELDORADO: fix regression in fn_request_speech, add commented out code to be enabled later 2022-08-05 18:24:40 +02:00
Joost Peters
c658a2e5d0 ICB: ELDORADO: support newer texture format 2022-08-05 17:31:40 +02:00
Joost Peters
166e8fc5b4 ICB: ELDORADO: handle fn_play_sting and fn_preload_sting differences 2022-08-05 17:05:08 +02:00
Joost Peters
436fd5a09d ICB: split McodeTable into ICB and ED variants 2022-08-05 15:23:10 +02:00
Joost Peters
c61f1d34c0 ICB: rename ICB fn_routines to fn_routines_icb 2022-08-05 15:23:10 +02:00
Joost Peters
fea4f8bcfa ICB: ELDORADO: support loading newer El Dorado version of .set files 2022-08-05 13:55:07 +02:00
Joost Peters
c365f5e928 ICB: remove erroneous semicolons 2022-08-05 13:41:56 +02:00
Torbjörn Andersson
48d1bab56c ICB: Add detection entry for my CD version of In Cold Blood
I don't know for sure, but I assume this is an earlier version than what
GOG distributes? One possible hint is that the binkw32.dll in GOG's
version contains the string "Bink now requires Miles version 7" while
the one on my CDs does not.
2022-08-05 08:14:21 +02:00