Commit Graph
86814 Commits
Author SHA1 Message Date
Michael Drüing cc34168be3 Xeen: Add detection for the 2CD "talkie" version 2017-04-02 23:02:21 +02:00
Paul Gilbert 9145900924 TITANIC: Add missing code in CBaseStar draw4 2017-04-02 16:49:03 -04:00
Eugene Sandulenko 680539df84 DIRECTOR: Shorted detection tables 2017-04-02 20:40:22 +02:00
Willem Jan Palenstijn 1f373283a8 TITANIC: Fix warnings 2017-04-02 19:26:34 +02:00
Peter Kohaut 027dc4c38c BLADERUNNER: fixed lighting cache
actors can be now partially illuminated (per slice), it iss visible in scene rc02 in the right part of the room
2017-04-02 18:19:26 +02:00
Paul Gilbert 06be112b22 TITANIC: Temporarily hard-code random vectors to ease debuggin 2017-04-02 12:01:12 -04:00
Paul Gilbert fb10aec9cd TITANIC: Further cleanup of star drawing methods 2017-04-02 10:12:52 -04:00
George Kormendi 6a5c4d382e I18N: Update translation (Hungarian)
Currently translated at 99.7% (942 of 944 strings)
2017-04-02 16:06:54 +02:00
Paul Gilbert 2889f6c463 TITANIC: Cleanup and minor fixes in star drawing code 2017-04-02 10:06:42 -04:00
mézes gergely 5929d647e4 I18N: Update translation (Hungarian)
Currently translated at 99.7% (942 of 944 strings)
2017-04-02 15:56:41 +02:00
Paul Gilbert f98abd462a TITANIC: Fix CStarControlSub13 _valArray setup 2017-04-01 18:45:22 -04:00
Paul Gilbert 51f80a529b TITANIC: Renamings for CStarControlSub13 class 2017-04-01 18:01:38 -04:00
Paul Gilbert 8f54c55e90 TITANIC: Fix CStarControlSub13 loading/saving width & height 2017-04-01 17:36:10 -04:00
Paul Gilbert 03ed82ccd4 TITANIC: Fix matrix comparison in CStarControlSub12 proc15 2017-04-01 17:00:45 -04:00
Paul Gilbert 9744ca78bb TITANIC: Fix vector equality operators 2017-04-01 16:55:08 -04:00
Paul Gilbert 0ae9230be2 TITANIC: Fix loading of star position data 2017-04-01 15:52:20 -04:00
Paul Gilbert 8bce94592e TITANIC: Fix incorrect function parameter 2017-04-01 15:49:26 -04:00
Eugene Sandulenko 6e2758be11 DIRECTOR: Fix Ernie detection 2017-04-01 16:28:48 +02:00
Peter Kohaut 1740c490d7 BLADERUNNER: improvements to the walking code
path finding is still missing
video player has audio preloading
small fixes
2017-04-01 08:57:57 +02:00
Paul Gilbert 25fcb52d70 TITANIC: Renaming of crosshairs related code 2017-03-31 22:51:06 -04:00
Paul Gilbert 9891373d20 TITANIC: Fix drawing bounds in CSurfaceArea fillRect 2017-03-31 20:45:41 -04:00
Paul Gilbert f436382fe4 TITANIC: Merge fader classes into one, video surface setup fix 2017-03-31 20:13:42 -04:00
Paul Gilbert 33bcc9d058 TITANIC: Merge CSurfaceFader and base into a single file 2017-03-31 18:55:09 -04:00
Eugene Sandulenko 2454290366 DIRECTOR: Score label names are case insensitive 2017-03-31 22:06:37 +02:00
Paul Gilbert 5d11c67d00 TITANIC: Fix initialization of CStarControl _petControl reference 2017-03-30 22:32:44 -04:00
Paul Gilbert 751a96730e TITANIC: Fix rect calculation in CSurfaceArea fillRect 2017-03-30 22:24:20 -04:00
Colin Snover ee644ec01b SCI32: Check for game aborts in all kList iteration methods
This fixes a use-after-free in GK2 when restoring a second save
game, when the List reg_t is still considered valid but the List
has moved due to a partial game restore.
2017-03-30 20:49:37 -05:00
Colin Snover 3678390f3e SCI: Add clarifying comment to op_rest 2017-03-30 20:49:37 -05:00
Colin Snover a1153661c4 SCI: Stop getCurrentCallOrigin from mutating stack frames
This fixes incorrect backtraces after a workaround failure or
other call to getCurrentCallOrigin when one or more stack frames
are calls to local procedures.
2017-03-30 20:49:36 -05:00
Colin Snover 5723f2f5fe SCI32: Hack around MIDI parser causing stuck harp animation in KQ7
The eventual proper fix for this is to change the current MIDI
parser to work the same as in SSCI, but for now this workaround
allows the game to continue.

Fixes Trac#9696.
2017-03-30 20:49:36 -05:00
Colin Snover 4284488244 SCI32: Improve bounds checking in SciString trim 2017-03-30 19:46:27 -05:00
Colin Snover 2d0c1c8ab5 SCI: Ensure object name reg_ts are valid before dereferencing them 2017-03-30 19:46:27 -05:00
Colin Snover 5e81db8fd0 SCI32: Add workaround for uninitialised read in Torin 2017-03-30 19:46:27 -05:00
Colin Snover 159438848b SCI32: Add workaround for uninitialised read in GK1 2017-03-30 19:46:27 -05:00
Colin Snover 739047f887 SCI32: Always reinit GfxText32 statics on game startup
Fixes bad scaling of text when switching between games with
different script resolutions.
2017-03-30 19:46:27 -05:00
Colin Snover 3de6f290e7 SCI: Change default master MIDI volume to 15
GK1 handles MIDI volume by changing the volumes of individual
sound objects, rather than by using the MIDI master volume. As a
result, the master volume needs to default to the maximum output
level in order for GK1 to play music at the correct volume.

This change does not affect earlier games, since SCI16 managed
MIDI volume via the master volume, and for these games the master
volume from ScummVM is synced at startup.
2017-03-30 19:46:27 -05:00
Colin Snover dd23085845 SCI: Give kernel calls a valid stack pointer
Some kernel calls need to be able to call back into game script
code, which requires a valid stack pointer for use with
invokeSelector.

An example of this is the guest additions code that syncs audio
volumes from ScummVM: it needs to be able to call into the game
scripts responsible for managing the in-game audio volume UI.
2017-03-30 19:46:27 -05:00
Colin Snover 4d062fc7a0 SCI32: Do not default to General MIDI for SCI2.1 games
The only SCI32 game that uses MIDI and does not support AdLib is
MGDX, and it its MIDI playback is currently broken regardless of
the synth setting.
2017-03-30 19:46:27 -05:00
Colin Snover e74adcec52 SCI: Whitespace alignment 2017-03-30 19:46:27 -05:00
Colin Snover 6b0cd955fa SCI32: Fix crash when using brightness slider in Shivers 2017-03-30 19:46:27 -05:00
Colin Snover fa9523933f SCI32: Fix broken sliders in Shivers settings
This problem is caused by the same invalid super call that broke
the CCTV joystick.
2017-03-30 19:46:27 -05:00
Colin Snover bd7a62e996 SCI: Fix typo in comment 2017-03-30 19:46:27 -05:00
Colin Snover 9a637ec324 SCI32: Skip bad map 405 on CD 1 of PQ:SWAT
The resources on CD 1 are corrupt and point to invalid locations
in the CD 1 RESOURCE.AUD. This can be noticed during the briefing
on the Lucy Long callup, where descriptions of the map are missing
and eventually the game gets stuck waiting for missing audio to
finish playback.
2017-03-30 19:46:27 -05:00
Colin Snover 77a4074106 SCI: Protect and clarify the purpose of Resource _header data 2017-03-30 19:46:27 -05:00
Colin Snover 0826501ef6 SCI32: Fix audio, wave, VMD, Duck, CLUT, TGA, ZZZ, Etc patches
Specifically, audio patches are used in at least PQ:SWAT
(40103.AUD), Lighthouse (9103.AUD), and the GK2 demo (300.AUD).
2017-03-30 19:46:27 -05:00
Colin Snover 4c942758c0 SCI32: Use built-in system font as default font for GfxText32
Fixes the non-interactive Lighthouse demo.
2017-03-30 19:46:27 -05:00
Colin Snover ceacf7df12 SCI: Handle >64KiB offsets in parse_reg_t 2017-03-30 19:46:27 -05:00
Colin Snover f4d3664d3f SCI: Replace magic numbers in reg_t handling with symbols 2017-03-30 19:46:27 -05:00
Colin Snover 3b34f17fb3 SCI32: Add kWebConnect and kWinExec
Used by Phant2.
2017-03-30 19:46:27 -05:00
Colin Snover 766d46153a SCI32: Implement known-used portions of kPlayDuck 2017-03-30 19:46:27 -05:00