Commit Graph

1078 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
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Le Philousophe
e9e09319e4 CHEWY: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Eugene Sandulenko
ec2dd2726b ENGINES: Added optional parameter to canSave/LoadGameStateCurrently() for indicating the reason 2023-12-08 12:21:16 +01:00
Filippos Karapetis
7769a3da85 CHEWY: Hide the mouse cursor when showing the notebook
This follows the same behavior as the original
2023-11-05 12:38:57 +02:00
sluicebox
3164b8c5f5 CHEWY: Fix typo in character literal. PVS-Studio V1039 2023-10-31 14:20:30 -07:00
Strangerke
9367487a25 CHEWY: Rewrite aad_get_zeilen as aadGetTxtLen 2023-08-07 23:16:51 +01:00
Eugene Sandulenko
58dee08718 CHEWY: Comment out unused variable 2022-12-16 11:15:26 +01:00
Eugene Sandulenko
55942fd484
CHEWY: Use checkExtendedSaves() 2022-11-27 14:36:14 +01:00
Cameron Cawley
d8c06f9869 CHEWY: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
Le Philousophe
1ae18bc650 CHEWY: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe
e871394664 CHEWY: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Donovan Watteau
27f9a460b5 JANITORIAL: Fix "the the" and similar typos 2022-07-29 19:36:40 +03:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Lothar Serra Mari
6a5c13c76f CHEWY: Drop ADGF_TESTING flags 2022-07-16 22:48:58 +02:00
Filippos Karapetis
d94ba47dbe CHEWY: Fix cancelling load from the main menu - bug #13682 2022-07-10 23:18:04 +03:00
Filippos Karapetis
411fb9ffd9 CHEWY: Remove dead code
Only dialog closeup data (AAD / ADS) is handled by the old code now
2022-07-10 21:01:42 +03:00
Filippos Karapetis
35e238ec64 CHEWY: Fix game state synchronization - bug #13671
There were two instances of the Text class, which led to
desynchronization of the saved game data
2022-07-10 20:07:21 +03:00
Filippos Karapetis
7ce29e8460 CHEWY: Initialization fixes for room 37 2022-07-10 20:07:21 +03:00
Filippos Karapetis
19616084ea CHEWY: Fix regression in saved games with held items 2022-07-10 20:07:20 +03:00
Filippos Karapetis
8d96ad04d7 CHEWY: Renaming 2022-07-10 20:07:20 +03:00
Filippos Karapetis
8908733fc4 CHEWY: Fix invalid older save data in rooms 18 and 25 - bug #13671
This fixes invalid states in the throne room (room 18) and cellar
(room 25)
2022-07-10 20:07:20 +03:00
Filippos Karapetis
1840da803e CHEWY: Renaming 2022-07-10 20:07:20 +03:00
Filippos Karapetis
5342a5a403 CHEWY: Fix compilation 2022-07-10 20:07:19 +03:00
Filippos Karapetis
79af8bad9d CHEWY: Remove the overriden music buffer added for bug #13672
The MOD player loads the entirety of a song in memory, so we don't need
to add another music buffer
2022-07-10 20:07:19 +03:00
Filippos Karapetis
03bfd881a1 CHEWY: Properly handle video series with embedded music - bug #13672 2022-07-10 15:25:20 +03:00
Filippos Karapetis
e522df6b4a CHEWY: Handle more cases where an item is held in hand - bug #13653 2022-07-10 15:25:20 +03:00
Filippos Karapetis
ed9c91ef85 CHEWY: Fix invalid dynamic text assignments - bug #13669 2022-07-10 15:25:19 +03:00
Filippos Karapetis
a3803d995e CHEWY: Fix exiting book closeup - bug #13667 2022-07-10 15:25:19 +03:00
Filippos Karapetis
671291c9db CHEWY: Renaming 2022-07-10 15:25:19 +03:00
Filippos Karapetis
ae3ebc5b02 CHEWY: Fix dynamic texts - bug #13523
This is a regression from the scene text refactoring done in 8eadac5eed
2022-07-09 22:37:06 +03:00
Filippos Karapetis
c4bc3b88bc CHEWY: Fix button initialization in room 13 2022-07-09 22:37:06 +03:00
Filippos Karapetis
f15682d578 CHEWY: Fix cursor when examining items in the inventory screen 2022-07-09 22:37:05 +03:00
Filippos Karapetis
b22bf06c60 CHEWY: Renamed variables 2022-07-09 22:37:05 +03:00
Coen Rampen
6b9787bcc4 CHEWY: Fix SFX repeats 2022-07-08 16:28:52 +02:00
Filippos Karapetis
3303c605ee CHEWY: Fixed Nichelle's bar song sequence. Some renaming - bug #13638 2022-07-08 02:44:05 +03:00
Filippos Karapetis
d0852b8213 CHEWY: Fix in-game dialogs - bugs #13594 and 13632 2022-07-07 15:07:44 +03:00
Filippos Karapetis
312cca4fcb CHEWY: Clear pending events when starting or skipping text 2022-07-07 14:27:46 +03:00
Filippos Karapetis
94fc93a847 CHEWY: Change default value of getSwitchCode()
A value of 0 clashes with Common::MOUSE_BUTTON_LEFT
2022-07-07 14:10:20 +03:00
Filippos Karapetis
905253b0c6 CHEWY: Remove the CustomInfo struct 2022-07-07 13:07:23 +03:00
Filippos Karapetis
6b670fba62 CHEWY: Cleanup 2022-07-07 13:06:54 +03:00
Filippos Karapetis
bf15a7f2fe CHEWY: Remove the InputMgr class 2022-07-07 13:06:22 +03:00
Filippos Karapetis
2ae3906211 CHEWY: Move private members of FontMgr 2022-07-07 12:26:44 +03:00
Filippos Karapetis
903ec7bc86 CHEWY: Move the ChewyFont class into a separate file 2022-07-07 12:25:46 +03:00
Filippos Karapetis
62f21dc209 CHEWY: Rename stop_detail() -> stopDetail() 2022-07-07 12:10:03 +03:00
Filippos Karapetis
7a967ed6b7 CHEWY: Remove dead code 2022-07-07 12:08:43 +03:00
Filippos Karapetis
5caad447e0 CHEWY: Remove leftover debug messages 2022-07-07 12:08:21 +03:00