3692 Commits

Author SHA1 Message Date
athrxx
94bb74000f KYRA: (LOK) - minor text speed fix adjustment
(ignore chat text display duration when speech is enabled)
2024-07-05 14:39:42 +02:00
Alexander Korotkov
fd97ca71f0 KYRA: LoK - Fix chat duration
When both subtitles and voice are enabled use voice duration as in
the original game.
2024-07-05 14:08:18 +02:00
Cameron Cawley
441b02d057 DETECTION: Use uint32 for ADGameFileDescription file size 2024-06-30 19:13:41 +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
athrxx
6b7f6869c2 KYRA: fix coverity warning 2024-05-20 15:32:14 +02:00
Filippos Karapetis
6625df5ac4 KYRA: Use true/false keywords for boolean variables 2024-05-13 09:47:29 +03:00
Tarek Soliman
ea5ccff782 KYRA: Fix building lol without eob 2024-05-03 13:02:14 +02:00
athrxx
901aec72bd KYRA: (LOL) - fix bug no. 15074
(Game Crash after getting Paulson's key in Mines l.4)

It its possible to still have Lora in the party when meeting
Paulson which the game is not prepared for. There is no
mechanism to handle a new party member when there
are already 3 members present. The game simply expects
that the scripts handle this flawlessly by removing a certain
member before adding a new one. I have now added a
workaround to remove Lora from the group if she is still
there when Paulson is supposed to join.
2024-04-17 22:46:25 +02:00
athrxx
0997875399 KYRA: (LOK/Mac) - minor audio code cleanup 2024-04-08 17:56:43 +02:00
athrxx
c7d4c9d559 KYRA: (LOK/Mac) - minor audio code cleanup 2024-04-07 22:28:13 +02:00
sluicebox
98db6aa402 KYRA: Remove delete nullptr. PVS-Studio V575
`releaseShpArr` deletes the pointer and sets it to nullptr
2024-03-20 17:26:47 -07:00
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
athrxx
634d29fb01 KYRA: (LOL) - fix bug no. 14990
("Crash when going up in the Draracle's cave")
2024-02-29 21:29:44 +01:00
athrxx
ea81d7855a KYRA: (EOB) - fix clang and msvc warnings 2024-02-29 16:22:21 +01:00
athrxx
bf04727a30 KYRA: coverity fixes 2024-01-30 00:35:39 +01:00
Torbjörn Andersson
a1c8db3201 JANITORIAL: Clean up some whitespace and double semicolons 2024-01-29 19:32:00 +01:00
athrxx
b5fa1e3efd KYRA: (EOB) - improve spell anim performance
(for fireball, ice storm, lightning bolt, cone of cold, etc)

The current code seems to misbehave on platforms with
slow graphics updates (whether related to our backend,
to SDL or the actual graphics drivers or hardware). This
patch allows frame drops if necessary.
2024-01-03 20:26:32 +01:00
Le Philousophe
abfc953046 KYRA: 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
athrxx
96f81e27c1 KYRA: (LoK/PC-98) - fix regression 2023-10-19 21:26:51 +02:00
athrxx
77890fbb9f KYRA: (LoK/Mac) - fix regression 2023-10-19 21:26:24 +02:00
Eugene Sandulenko
21bb9f3a84
KYRA: Remove redundant (and incorrect) variable clapping 2023-09-19 14:39:20 +02:00
Eugene Sandulenko
e44879c036
JANITORIAL: Remove trailing spaces 2023-09-19 14:39:07 +02:00
Eugene Sandulenko
b2bde8711d
KYRA: Comment out unused class variable 2023-09-19 14:38:39 +02:00
athrxx
c23d43bc16 KYRA: fix some Coverity warnings 2023-08-25 13:37:49 +02:00
athrxx
1f75b61242 KYRA: (EOB II/ZH) - add some translated strings
(thanks to kane159)
2023-08-19 22:19:33 +02:00
athrxx
891440b41e KYRA: (EOB) - remove debug leftovers 2023-08-17 18:07:00 +02:00
athrxx
950eb9c881 KYRA: (EOB II/ZH) - fix party transfer dialog 2023-08-17 18:03:54 +02:00
athrxx
57315bfe42 KYRA: (EOB II/ZH) - fix chargen modify menu glitch 2023-08-13 14:25:18 +02:00
athrxx
31e320f3b7 KYRA: (EOB II/ZH) - fix chargen modify menu glitch 2023-08-13 03:02:11 +02:00
athrxx
e7b836b03f KYRA: (EOB II/ZH) - move version string to the right
(the  Chinese version has a  version string of its own hard
coded onto the bitmap. We have to move our scummvm
version string  a bit to the right to avoid printing over the
other text.
2023-08-13 03:02:06 +02:00
D G Turner
c8a9a78f52 KYRA: Fix Unused Variable GCC Compiler Warning 2023-08-12 18:24:57 +01:00
athrxx
1f0d0fdb1e KYRA: (EOB II/ZH) - some party generator improvements and fixes 2023-08-12 15:20:47 +02:00
athrxx
96d9a32876 KYRA: (EOB II/ZH) - fix voc file warning 2023-08-12 15:19:13 +02:00
athrxx
e1d40b7a8f KYRA: (EOB II) - intro scrolling improvement 2023-07-24 19:03:09 +02:00
athrxx
fc4c510515 KYRA; (EOB II/ZH) - intro/outro text improvements 2023-07-24 19:03:04 +02:00
athrxx
38902d0c86 KYRA: (EOB II/ZH) - fix button dimensions 2023-07-23 13:02:14 +02:00
athrxx
9a9f562448 KYRA: (EOB II/ZH) - fix spellbook 2023-07-22 16:43:33 +02:00
athrxx
ce437661db KYRA: (EOB/SegaCD) - fix spellbook glitch 2023-07-22 16:42:35 +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
athrxx
8040f2a8ce KYRA: (EOB II/ZH) - fix party/inventory/stats pages 2023-07-18 21:36:20 +02:00
athrxx
15415dc7f4 KYRA: (EOB II/ZH) - fix character name length 2023-07-18 21:36:16 +02:00
athrxx
f93a3acd2d KYRA: (EOB/Amiga) - fix text color regression 2023-07-18 21:36:12 +02:00
athrxx
1f97973e01 KYRA: (EOB II/ZH) - fix minor text glitch 2023-07-18 21:36:04 +02:00
athrxx
ed6939535c KYRA: (EOB) - fix regression 2023-07-11 17:46:53 +02:00
athrxx
6e9f7abc7b KYRA: (EOB II/ZH) - fix dialogue buttons
I have tested only the dialgue sequences in the forest
and in the temple entrance hall, but these now look
accurate when comparing to DOSBox
2023-07-11 14:35:10 +02:00
athrxx
8510798d44 KYRA: (EOB II/ZH) - add missing kyradat resources
The kyradat resources should now be complete. I also
added some specific Chinese grammar handling  logic
for magic items.
2023-07-11 14:35:03 +02:00
athrxx
1831f02c36 KYRA: (EOB/LOL) - reduce text displayer hacks
Trying to make this code a bit less ugly. It has been
hacked up by basically every Japanese and Chinese
version in different ways. This is a start to revert some
of the hacks.
2023-07-11 14:34:56 +02:00