Commit Graph

1618 Commits

Author SHA1 Message Date
Cameron Cawley
441b02d057 DETECTION: Use uint32 for ADGameFileDescription file size 2024-06-30 19:13:41 +02:00
Le Philousophe
34108724ed ENGINES: Factorize sizing and writing functions for dynamic descriptions 2024-06-30 18:39:06 +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
Cameron Cawley
a6a369cdd3 GUI: Handle padding for the backend and engine options in the theme definitions 2024-06-14 01:15:12 +02:00
Cameron Cawley
efec9b2d25 GUI: Remove built-in scroll containers from OptionsContainerWidget 2024-06-14 01:15:12 +02:00
D G Turner
541badba9e MOHAWK: Expand Myst ME (Polish) Map Color Fix To All Stack Maps 2024-04-07 18:54:20 +01:00
Matthew Jimenez
83aa8dc291 GRAPHICS: Remove palette start from surface convertToInPlace.
The palette start value was always zero, and was not properly multiplied by three when used in the function
2024-03-31 23:16:59 +03:00
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Cameron Cawley
b91f06d991 MOHAWK: Use OSystem::fillScreen() where possible 2024-01-07 11:09:34 +02:00
Cameron Cawley
30b977c272 DETECTION: Mark more symbols as const 2023-12-26 20:23:59 +01:00
Le Philousophe
731798c481 MOHAWK: Migrate engine to Path 2023-12-24 13:19:25 +01:00
eientei
37874021c3 MOHAWK: Add detection for Japanese Mac Harry and the Haunted House 2023-12-14 18:18:34 +01:00
eientei
55efcfdffc MOHAWK: Add detection for harryhh and lilmonster EN+ES Mac demos 2023-12-14 18:18:34 +01:00
eientei
f8935d41be MOHAWK: Add detection for Maths Workshop Deluxe (US) 2023-12-14 18:18:34 +01:00
eientei
e934deaaaf MOHAWK: Add detection for The Amazing Writing Machine 2023-12-14 18:18:34 +01:00
eientei
29c012a60d MOHAWK: Add detection for Write, Camera, Action! 2023-12-14 18:18:34 +01:00
eientei
ac3342b1b0 MOHAWK: Add detection for Maths Workshop US and EU 2023-12-14 18:18:34 +01:00
eientei
567240f6ef MOHAWK: Fix Alien Tales demo game type 2023-12-14 18:18:34 +01:00
sluicebox
5c96b20c1b MOHAWK: LB: Require delimiters in INI files
Fixes bug #13920
2023-12-14 16:45:32 +01:00
Eugene Sandulenko
4cfa5e5ce6
Revert "MOHAWK: Fix French sheila version not starting. Bug #13920"
This reverts commit e3179f773a.
2023-12-14 16:43:53 +01:00
never
e3179f773a MOHAWK: Fix French sheila version not starting. Bug #13920 2023-12-11 14:28:40 +01:00
sluicebox
0268242460 MOHAWK: LB: Fix crash when displaying debugger
Fixes calling `error` before setting `_video`.

Fixes the segmentation fault in bug #13920, which should have displayed
the debugger with the intended error message.
2023-12-09 14:25:01 -08:00
Eugene Sandulenko
84167273e1 MOHAWK: Riven demo does not support save/load. Message this to the user 2023-12-08 12:21:16 +01:00
Eugene Sandulenko
ec2dd2726b ENGINES: Added optional parameter to canSave/LoadGameStateCurrently() for indicating the reason 2023-12-08 12:21:16 +01:00
vholten
f787b482c8 MOHAWK: RIVEN: Generate dome code as in original game
In the original game, the dome combination is not completely random;
only the first number is one that can be seen in the school (range 2-10),
two numbers are chosen from the range 11-15, and two are chosen
from the range 16-24. Presumably, this is done so that the code has
approximately equal difficulty for every game.

Until now, scummvm has generated completely random codes,
which results in some games having very easy codes (when most of
the numbers are below 10). Also, there's a 20% chance that
the last number is 25, which is never used in the original game.
2023-11-28 13:22:41 +00:00
Lothar Serra Mari
5c5a775bbd
MOHAWK: Mark latest tortoise demo as multi-language 2023-11-22 20:18:47 +01:00
Cameron Cawley
327e0c4f1e GRAPHICS: Add palette start and size parameters to Surface::convertToInPlace() 2023-11-12 18:36:08 +01:00
Aditya
a5b3353022 ALL: Decrease header dependency for gui_options.h
Now the number of times the header file gui_options.h
is added is much smaller.
2023-10-27 01:16:32 +02:00
Torbjörn Andersson
92ee7a1ca5 MOHAWK: Add another Toroise & The Hare demo
This one is from the European release of Arthur's Teacher Trouble.
2023-09-24 10:16:18 +02:00
Eugene Sandulenko
63e8675e93
MOHAWK: Added detection for 3 more variants of Living Books titles from ZOOM 2023-08-26 12:25:26 +02:00
Eugene Sandulenko
09759178db
MOHAWK: Added extra info to Living Books entries 2023-08-26 12:25:26 +02:00
Cameron Cawley
4d1b38fc8d MOHAWK: MYST: Skip fade steps on slower machines 2023-08-02 02:49:26 +01:00
Walter Agazzi
fd86bf02d8 MOHAWK: Fix inverted map colors in Myst ME (polish)
Converts to a proper pixelformat. Fixes TRAC #12044
2023-07-22 21:15:39 +01:00
Miro Kropacek
f85fde7707 ENGINES: ALL: Use new CursorMan API where applicable
This makes code not only cleaner but also friendly to 8-bit surfaces
where pitch != width.
2023-07-19 22:22:11 +02:00
elasota
b8acbe6bee COMMON: Archive path refactoring, add getFileName and getPathInArchive that unambiguously return the filename or the full path 2023-07-19 18:51:37 +02:00
macca8
db1ed9c754 JANITORIAL: Remove stray space 2023-05-14 22:39:12 +02:00
macca8
c9e4acbf11 MOHAWK: RIVEN: Improve calling autosave on exit 2023-05-14 22:39:12 +02:00
macca8
838e9cf1f3 MOHAWK: RIVEN: Fix autosave on exit during cutscene
Reposition autosave call to precede any changes to game state that follow the exit call.
2023-05-14 22:39:12 +02:00
Eugene Sandulenko
02a28ad7aa
MOHAWK: Fix I18N usage 2023-03-17 15:56:37 +01:00
Eugene Sandulenko
6a708154d8
MOHAWK: Remove duplicate file from POTFILES 2023-03-17 13:50:32 +01:00
Donovan Watteau
3e3e5ec6f9 MOHAWK: Fix "an" typo 2023-03-16 14:47:28 +01:00
Donovan Watteau
18ab6803d6 JANITORIAL: Fix various "an" typos in comments 2023-03-16 14:47:28 +01:00
Cameron Cawley
28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
eientei
21c06ed1e6 MOHAWK: Add detection for Arthur's Reading Games and Dr. Seuss Reading Games 2022-12-06 09:46:31 +02:00
Eugene Sandulenko
019d4b4f19
MOHAWK: Added file size for seussabc-demo 2022-12-03 10:35:27 +01:00
Walter Agazzi
4a2d55cac8 MOHAWK: Improve detection for Myst Demo
Fixes clash with Return to Zork demo
2022-12-01 14:18:15 +01:00
Eugene Sandulenko
fb7095f5a4
COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Donovan Watteau
6815ace672 MOHAWK: Fix MSVC C4309 enum sign warning 2022-11-29 01:37:55 +01:00