Commit graph

3543 commits

Author SHA1 Message Date
athrxx
35920b9e7e KYRA: (LOK) - Fix bug no. 14131 (problem in menu options) 2023-02-07 18:56:12 +01:00
Vladimir Serbinenko
95224258d4 KYRA: Checksum mac installers on data fork
We don't need the resource fork as we unpack Stuffit anyway which is
fully in data fork. So we want to allow to play even if data fork was lost

Previously we had 2 entris to achive the same result for CD entry: one
covering resource hash and another one covering data fork hash.
2023-01-10 18:34:33 +01:00
Vladimir Serbinenko
ae3a8efb20 KYRA: Fix alignment in "lifes" variable.
Midi is 18 bytes which results in int being misaligned and leads to
an undefined behaviour on RISC.
2023-01-10 17:38:55 +01:00
Cameron Cawley
28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
Vladimir Serbinenko
2bd777c926 KYRA: Support files for installed multi-floppy mac kyra1
This is the case for multi-floppy installer when installed or
extracted.
2022-12-08 19:06:12 +01:00
Vladimir Serbinenko
d7aa54bf30 KYRA: Support multi-floppy installer 2022-12-08 00:02:39 +01:00
Vladimir Serbinenko
1b90cea645 KYRA: Support loading stuffit archive from abstract stream
Multi-floppy installer needs to use a fake stream composed from several
real files.
2022-12-08 00:02:39 +01:00
Vladimir Serbinenko
9f4d744b46 KYRA: Store cached installer mac archive as its simple name
This avoids the complexity of discovering its name again.

It makes supporting multi-floppy installer much less hairy as well
2022-12-08 00:02:39 +01:00
Vladimir Serbinenko
2c8fd71b47 KYRA: Switch to openFileOrDataFork 2022-12-08 00:02:39 +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
181b706e38 KYRA: Use MSVC_PRINTF in printMessage()
Can't do it for the other GCC_PRINTF cases because of the order they
use.
2022-11-29 01:37:16 +01:00
Cameron Cawley
ef07d1621e KYRA: Use SeekableReadStreamEndianWrapper 2022-11-29 00:06:49 +01:00
Cameron Cawley
ca29054d6b KYRA: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
Hubert Maier
fabf1bf9c5 JANITORIAL: KYRA: Correct Spelling Mistake
noticable -> noticeable
2022-11-15 22:52:43 +02:00
Donovan Watteau
16e2068aec JANITORIAL: Fix various single-character typos 2022-11-11 20:55:56 +01:00
athrxx
fd4d93ceb0 KYRA: (Mac) - improve portability of sound driver
(make use of MKTAG macro)
2022-10-28 13:41:02 +02:00
Le Philousophe
dbe47a28ba KYRA: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
athrxx
3947df46f8 KYRA: code style fixes 2022-10-10 22:44:02 +02:00
athrxx
6bd08e1627 KYRA: code style fixes 2022-10-09 03:08:03 +02:00
athrxx
6a60a73840 KYRA: fix regression from 7204eaaf
(bug no. 13886 - Kyrandia 2 and 3 crashes when trying to open options)
2022-10-08 01:01:48 +02:00
athrxx
f773f190b6 KYRA: (LoK/´Demo) - further reduce detection ambiguity
(now it also doesn't collide with Mac CD)
2022-09-27 17:39:33 +02:00
athrxx
3630eafa3a KYRA: fix bug no. 13283
"KYRA: Legend of Kyrandia (CD/DOS/English) also matches (Demo/DOS/English)"
2022-09-27 17:18:30 +02:00
athrxx
2474d96709 KYRA: more coding style cleanup 2022-09-26 19:59:35 +02:00
athrxx
34ef055f44 KYRA: whitespace 2022-09-24 15:47:37 +02:00
athrxx
7204eaaf34 KYRA: more code style cleanup 2022-09-24 15:44:14 +02:00
athrxx
b54f6adcb7 KYRA: more coding style and sanity checking cleanup 2022-09-23 21:37:55 +02:00
athrxx
77866676a7 KYRA: init non-initialized member vars 2022-09-23 21:37:51 +02:00
athrxx
f0a2d470b6 KYRA: (HOF) - fix palette glitch when loading savegames
This is the same in the original interpreter, but I assume
they just don't update the screen as much as we do.
The problem is that the new scene palette is
generated and set before the new scene is actually drawn. So there is a moment where the old scene is visible with the new palette...
2022-09-23 21:37:45 +02:00
athrxx
3ebd9fc90a KYRA: cleanup 2022-09-23 02:57:50 +02:00
athrxx
8e7989dbc8 KYRA: (LoK/Mac) - minor sfx priority fix 2022-09-23 02:28:05 +02:00
athrxx
b44471c6b8 KYRA: add sanity asserts 2022-09-23 02:27:42 +02:00
athrxx
8da4751b2c KYRA: cleanup 2022-09-23 02:27:36 +02:00
athrxx
3a49ea6248 KYRA: reduce unsafe string ops
(replace all strcpy calls and similar fixes)
2022-09-22 21:01:16 +02:00
athrxx
7b26a8f602 KYRA: add comment 2022-09-21 00:18:08 +02:00
athrxx
424eb6d7a7 KYRA: (DOS/Floppy) - add some sanity checks/errors
(these never get triggered, but this isn't obvious, neither to static checkers nor to human beings)
2022-09-21 00:16:48 +02:00
athrxx
e14afbf282 KYRA: init non-initialized member vars 2022-09-20 23:10:27 +02:00
athrxx
92cfdde704 KYRA: (HOF) - fix typo
This would actually be able to cause glitches if triggered. Which doesn't happen...
2022-09-20 22:37:36 +02:00
athrxx
015820f0bd KYRA: init non-initialized member vars 2022-09-20 22:14:53 +02:00
athrxx
f6b031b283 KYRA: init non-initialized member vars 2022-09-20 20:32:44 +02:00
athrxx
236db2d658 KYRA: init non-initialized member vars 2022-09-20 20:32:44 +02:00
athrxx
785c52b18b KYRA: (EOB) - minor font load cleanup 2022-09-20 00:46:52 +02:00
athrxx
6378e505b5 KYRA: init non-initialized member vars 2022-09-20 00:27:09 +02:00
athrxx
c083403ed7 KYRA: remove dead code 2022-09-19 22:23:29 +02:00
athrxx
55951c8df6 KYRA: fix mem leak 2022-09-19 21:51:16 +02:00
athrxx
e15a421b39 KYRA: add paranoia check 2022-09-19 20:49:28 +02:00
athrxx
703cd9102d KYRA: add check to avoid invalid mem access 2022-09-19 20:49:24 +02:00
athrxx
8e87fe8c49 KYRA: get rid of wshadow warnings 2022-09-18 21:59:23 +02:00
athrxx
9d5155c475 KYRA: (LOK/Mac) - revert 4a287834 and make a different fix
The Mac version is supposed to always use the ENG main screen (with the text-free jewel button).
2022-08-14 16:09:31 +02:00
athrxx
9670b84de3 KYRA :(LOK/Mac) - minor sound driver improvement
Add control change volume - I haven't seen any use case yet, though.
2022-08-14 14:30:08 +02:00
athrxx
bf373f7454 KYRA: fix warnings 2022-08-13 16:59:14 +02:00