87209 Commits

Author SHA1 Message Date
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 90b78c544657bf0fc41d6b86276a0873060345b5

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
Cameron Cawley
14bdaae4d5 BUILD: Add missing libraries to Travis CI build 2018-11-03 23:31:32 +00:00
D G Turner
58bb26938a GROOVIE: Add Detection Entry for 11th Hour English Windows Variant
This is a 4CD release, with date inside the disk.1 file of August 14th
1995.
2018-11-03 22:40:38 +00:00
Cameron Cawley
60365dc0da ANDROID: Fix a -Wformat-security warning 2018-11-03 20:29:01 +00:00
D G Turner
1c9fbf9547 GOB: Correct Crousibat Detection Entry to European Portuguese.
This fixes bug Trac #10791.
2018-11-03 17:14:18 +00:00
D G Turner
4c4ede54b9 COMMON: Add Portuguese (Portugal) Language.
The current Portuguese entry is Brazilian dialect, so modifying the
description and adding an entry for European Portuguese.

This is required to deal with bug Trac #10791.
2018-11-03 17:13:54 +00:00
Scott Thomas
75c6f2fd60 GROOVIE: Fix GMM loads, block saves in a puzzle
Loading and returning from subscripts alters the _variables
used, thus are not guaranteed to create a valid save state.
Loading a save should be valid at any time, as long as the
active script being run is restored to the base game script.
2018-11-03 15:15:32 +00:00
Ľubomír Remák
0c340485e0 MUTATIONOFJB: Draw bitmaps.
Implement RB (bitmap visibility) command.
Implement stub for FLX and FLB (play animation) commands.
2018-11-02 23:26:58 +01:00
athrxx
fc0f83ef9b KYRA: fix EOB II sound glitch
This is a workaround for a premature sfx (original code/script bug) in a specific sequence in catacombs level 2.
2018-11-02 16:47:30 +01:00
athrxx
016b251799 KYRA: - fix EOB II graphics glitch
Catacombs level 3 doors were not drawn completely.
2018-11-02 13:08:39 +01:00
Kirben
b749116cbe WIN32: Correct typo in Inno Setup script. 2018-11-01 08:19:31 +11:00
Matan Bareket
5ed1a3dab4 I18N: Update translation (Hebrew)
Currently translated at 26.8% (268 of 1000 strings)
2018-10-31 21:20:40 +01:00
athrxx
12197afd2f SCI: - minor fix to FM-TOWNS sound driver
- workaround to fix music playback in Mixed Up Mothergoose
- remove a useless declaration
2018-10-31 20:47:04 +01:00
Thierry Crozat
4a1e97edd2 I18N: Add UI language name for Hebrew translation 2018-10-31 19:29:57 +00:00