Commit Graph
89422 Commits
Author SHA1 Message Date
athrxx 506f900f94 KYRA: minor cleanup
(rename some variables in Screen::drawShape for better readability)
2018-11-14 17:22:19 +01:00
athrxx cc25424dae AUDIO: (FM-TOWNS) - add error codes 2018-11-14 17:22:19 +01:00
Cameron Cawley a39377724f IOS: Sync Info.plist.in and Info.plist 2018-11-14 05:46:21 +00:00
D G Turner dcfc00dba4 CRYO: Fix Comparison Always True Compiler Warnings.
These occurred while compiling in Raspberry Pi Raspbian latest and
appear to be due to char being interpreted as unsigned by default,
rather than signed in two data structures. Have replaced with explicit
types to avoid this issue.
2018-11-14 02:00:31 +00:00
sluicebox 0b7ec3af00 SCI32: Fix GK1 day 2 binoculars lockup (#1381)
Fixes a lockup in floppy version. bug #10797
2018-11-13 23:41:05 +02:00
D G Turner 09abcc5c2c SCI: Fix Fall Through Compiler Warnings. 2018-11-13 12:10:30 +00:00
D G Turner c006f405f3 PEGASUS: Fix Fall Through Compiler Warnings. 2018-11-13 08:50:08 +00:00
D G Turner 2f9ffda456 MOHAWK: Fix Fall Through Compiler Warning. 2018-11-13 08:37:03 +00:00
D G Turner 509fe6f3c2 BLADERUNNER: Fix Fall Through Compiler Warnings
Clang and newer versions of GCC i.e. v8.2 require the comment to match
"fall through" to surpress warnings so change "no break" comments to
match.
2018-11-13 08:31:06 +00:00
D G Turner 61526fa317 AGI: Fix Fall Through Compiler Warning
This fairly clearly intentional and thus no FIXME comment is added for
this.
2018-11-13 08:27:46 +00:00
Vhati b203b61b38 SCI32: Fix QFG4 autosave stack leak (#1388)
This leak was introduced in commit #a37e388
2018-11-12 23:48:06 +02:00
juan 3d93f78efa I18N: Update translation (Spanish)
Currently translated at 94.3% (943 of 1000 strings)
2018-11-11 17:13:19 +01:00
D G Turner c96b4cca4d SCI: Add Detection Entry for Manic Mansion (Fan Game).
This is from bug Trac #10705.
2018-11-11 16:12:10 +00:00
Vhati 0ce9c0879d SCI32: Fix QFG4 crash when gliding across swamp (#1387)
Fixes typos that lead to Grooper::doit() arithmetic errors, bug #10777
2018-11-11 12:16:13 +02:00
D G Turner 5a29aa8812 ENGINES: Fix Crash in Fallback Detector Game Title Naming.
This is a regression from 90b78c5446

This commit restores the previous behaviour and avoids a null
pointer dereference induced crash.

This fixes the root cause of bug Trac #10515.
2018-11-11 08:16:11 +00:00
D G Turner 3f99c2c9dd PINK: Fix For Assertion When Looking Under Bed in Six House.
The action which triggers the assertion is CheckUnderBedDB.

This changes ActionPlay::OnStart method to be similar to superclass
implementation with regard to _startFrame to avoid this.

However, the animation still glitches repeating several times, but this
is a script bug in the original and should be addressed in a workaround
in a future commit.

This should fix the main issue in Trac bug #10800.
2018-11-11 01:58:50 +00:00
sluicebox 1adfcd91b7 SCI: Fix KQ6 look ribbon response (#1385)
Fixes an incorrect message in the original. bug #10801
2018-11-10 22:39:03 +02:00
athrxx 502280f26d KYRA: (EOB) - fix possible null pointer deref 2018-11-08 16:50:31 +01:00
Vhati a37e388304 SCI32: Fix QFG4 autosave deleting manual saves (#1383)
Prevents the autosave script from enforcing a 20 savegame limit, bug #10758
2018-11-08 00:49:19 +02:00
Bastien Bouclet 243e261883 BUILD: Fix Mac static build with liba52 2018-11-07 07:26:04 +01:00
sluicebox 1de6335b41 SCI32: Fix GK1 day 1 Grace phone speech timing (#1372)
Fixes timing that cuts off speech. bug #10787
2018-11-07 02:09:16 +02:00
athrxx 9f7c4f6f1e KYRA: (EOB) - fix bug in dispel magic spell
This bug would occur when casting dispel magic while the weapon slots were temporarily disabled (from using a weapon etc.). This could lead to permanently disabled slots.
2018-11-06 23:35:57 +01:00
athrxx 9b7ed08a9d KYRA: (EOB) - improve debugger
- added print_map command which prints a map of the current level
- fixed open_door/close_door commands
2018-11-05 17:14:40 +01:00
D G Turner 7d04f816cf GROOVIE: Fix Fallthrough Warning. 2018-11-05 04:28:51 +00:00
D G Turner f66ec9fe21 GROOVIE: Fix Spaces in Savegame Naming.
This patch was originally from bug Trac #6276 and was submitted by
bluegr.
2018-11-05 04:28:51 +00:00
Filippos Karapetis 63f0d47b99 ZVISION: Really fix GUIO flags for the DVD version of ZGI 2018-11-05 01:28:57 +02:00
Filippos Karapetis 4f37de9ce9 ZVISION: Fix GUIO flags for the DVD version of ZGI 2018-11-05 01:27:12 +02:00
sluicebox 4929104dbe SCI32: Fix GK1 ego flicker in Gran's chair (#1369)
Fixes graphics glitch in the original game, bug #9760
2018-11-05 00:07:24 +02:00
Thierry Crozat d46e0d8ab0 DRASCULA: Add option to pause speech using space or pause key 2018-11-04 21:42:50 +00:00
Cameron Cawley 79a4e3f813 BACKENDS: Remove references to the GP32 backend 2018-11-04 21:38:45 +00:00
Thierry Crozat e4ff1929aa ZVISION: Only add mpeg video engine options when mpeg and a52 are enabled 2018-11-04 22:33:22 +01:00
Thierry Crozat e2935acfe4 ZVISION: Disable MPEG movies when liba52 is not enabled 2018-11-04 22:33:22 +01:00
Torbjörn Andersson 71910c2283 ZVISION: Set 800x600 mode for the DVD version of ZGI
This allows the backend to show the hi-res videos at full
resolution, rather than scaling them down.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson 7c58534f4f VIDEO: Add buffering demuxer to MPEG-PS decoder
In all my attempts to get the audio and video to sync up in the
ZGI videos, there have always been 9-10 frames of video before the
audio even starts, even though the audio is timestamped to start
before. This attempts to fix that by prioritizing sending audio
packets to the decoder in a timely fashion.

I do not know if this is the correct way of doing this, and there
are still some things that need to be fixed. But pragmatically, it
does procude significantly better sync, so...
2018-11-04 22:33:22 +01:00
Torbjörn Andersson a5b5b68a1a VIDEO: Use all video PTS's
Sometimes (only at the very start of a movie?) there will be a
video packet that has a PTS but no frame to display. Save that PTS
and use it for the next frame. This doesn't actually improve
anything, as far as I can tell, but feels right.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson 1255e8de4d VIDEO: Removed _psmESType
We weren't doing anything with it anyway. And I'm not sure it's
even available in the ZGI videos.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson 1d69564876 VIDEO: Moved MPEGStream creation out of readNextPacket()
I think it makes things easier to read, and I have some ideas
that I want to try which should be easier this way...
2018-11-04 22:33:22 +01:00
Torbjörn Andersson ac40828ed2 VIDEO: Make the video pts sync easier to understand 2018-11-04 22:33:22 +01:00
Torbjörn Andersson b672a694b9 VIDEO: Synchronize video to pts timestamps
This is another attempts at improving the audio/video sync in the
MPEG-PS decoder. Unfortunately, the audio probably also needs to
be synced to its pts timestamps...
2018-11-04 22:33:22 +01:00
Torbjörn Andersson d4f8b330d6 IMAGE: Honor nb_fields when calculating frame duration
From what I understand, this has something to do with the image
being either made up from two or three parts. When it's made from
three parts, the frame should be displayed for half again as long
as normal.

This makes the speed of the Zork: Grand Inquisitor video look
about right to me. It's still out of sync, but it doesn't seem to
get *more* out of sync as the video progresses.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson 43b29a93d7 VIDEO: Use the standalone AC-3 decoder in the MPEG-PS code
This code comes from clone2727's now defunct (?) ac3 branch, with
some minor compile fixes. This represents the latest version of
the stalled AC-3 decoder work for Zork: Grand Inquisitor. Note,
however, that I have not yet asked for clone2727's permission to
use this. I'm just experimenting.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson 6705b6df9e AUDIO: Add a separate AC-3 decoder
This code comes from clone2727's now defunct (?) ac3 branch.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson ef70af5e99 VIDEO: Some minor cleanups to the AC-3 decoder 2018-11-04 22:33:22 +01:00
Torbjörn Andersson e6abe39752 VIDEO: Skip DVD code. The sound plays, but audio/video sync is off
Like most things that make this branch actually work, this comes
from clone2727.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson 4cc71d42a2 ZVISION: Play hi-res videos, even if they have no low-res version
This is used for some logo animations at the start of the game. I
don't know if it's used for anything else, but probably not.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson 89ec9766a1 VIDEO: After figuring out sample rate, rewind the AC-3 stream 2018-11-04 22:33:22 +01:00
Torbjörn Andersson ad41dfb7ff VIDEO: Committed fixes from clone2727
This collects the whole frame before trying to decode it. It's
still now working right, but it's way better than it was before.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson e9052a0085 ZVISION: Enable hi-res videos for testing purposes 2018-11-04 22:33:22 +01:00
Torbjörn Andersson fc7fa1de3a VIDEO: Use liba52 to decode audio. This is still laughably broken
At the moment, this produces nothing but misery in the form of
Valgrind warnings and horrible noise.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson 8b692f8d89 CONFIGURE: Add detection of liba52
This is for an experiment aiming to decode audio for the hi-res
videos in Zork: Grand Inquisitor. I don't know if we want to add
a dependency on liba52, but the license should allow us to include
the code verbatim, if that's preferrable.
2018-11-04 22:33:22 +01:00