Commit graph

277 commits

Author SHA1 Message Date
Filippos Karapetis
7e99e9c3e2 ICB: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
Hubert Maier
f4c3360d6b
JANITORIAL: ICB: Fix typos 2024-12-25 17:23:12 +02:00
Eugene Sandulenko
fdecb6afca ENGINES: Add components to configure.engine's explanatory comment 2024-12-25 00:34:39 +01:00
Eugene Sandulenko
37ff2f2a3f
ICB: Fix infinite loop. CID 1433458 2024-10-23 18:43:27 +02:00
Eugene Sandulenko
00cbde7ed9
ICB: Add missing va_end(). CID 1433521 2024-10-23 17:54:25 +02:00
Hubert Maier
486ed4d48b JANITORIAL: ICB: Fix typos 2024-09-11 11:54:47 +03:00
Hubert Maier
49cfdf1122
JANITORIAL: ICB: Fix typos in warning, debug, error and message box dialogues 2024-08-25 23:38:20 +03:00
Hubert Maier
0e31a0845f
JANITORIAL: ICB: Fix typos in comments 2024-08-25 23:31:24 +03:00
Hubert Maier
09ec0083cb
JANITORIAL: ICB: Fix allign and devide typos in code 2024-08-25 14:43:29 +03:00
Donovan Watteau
62e17d5dc2 ICB: Fix -Wunused-but-set-variable warning 2024-08-17 09:24:54 +03:00
Cameron Cawley
89c57d29ef COMMON: Move more maths functions into the Math namespace 2024-07-27 14:00:48 +03: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
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