81174 Commits

Author SHA1 Message Date
Paul Gilbert
f3c7aa9774 DEVTOOLS: Fix incorrect argc checks in create_titanic 2017-06-18 20:38:58 -04:00
Paul Gilbert
c92e1ec0f4 TITANIC: Fix tearing/incorrect blocks in starship crash cutscene 2017-06-18 20:29:40 -04:00
Paul Gilbert
fd51315dd0 DEVTOOLS: Yet another Superst correction in create_titanic 2017-06-18 17:14:24 -04:00
Paul Gilbert
7c654278a7 DEVTOOLS: Further minor German fixes to create_titanic, thanks to Lightkey 2017-06-18 17:09:41 -04:00
Paul Gilbert
44336945c7 DEVTOOLS: Further minor German fixes to create_titanic, thanks to Lightkey 2017-06-18 17:01:40 -04:00
Paul Gilbert
f827e27bfb TITANIC: Fix crash clicking mouse when copyright dialog is showing 2017-06-18 15:49:19 -04:00
Paul Gilbert
ec9351bdb6 DEVTOOLS: Added extra German NPC data to create_titanic 2017-06-18 10:59:38 -04:00
Paul Gilbert
3d932e4b89 TITANIC: Change of resource names from titanic.dat 2017-06-17 18:29:24 -04:00
Paul Gilbert
2cdb81482c DEVTOOLS: Add extra German EXE resources to create_titanic 2017-06-17 18:27:24 -04:00
Thierry Crozat
cc35a79301 COMPOSER: Use Magic Tales prefix for two more game names
This is done for consistency so that all the games in the Magic Tales
series are named in a consistent way. This is also how they are named
on the wiki (and on amazon).
2017-06-17 22:52:59 +01:00
Paul Gilbert
21f30b83d2 DEVTOOLS: Added Bellbot common phrases to create_titanic 2017-06-17 17:41:45 -04:00
Paul Gilbert
a1b4b017f8 TITANIC: Further fix for tracking total play time 2017-06-17 16:43:44 -04:00
Paul Gilbert
d7ba14cca8 TITANIC: Fix missing transition in ship crash cutscene 2017-06-17 16:04:37 -04:00
Colin Snover
832cd25ef1 SCI32: Avoid out-of-bounds read of pixel data in kIsOnMe
Fixes Trac#9761, Trac#9844, Trac#9850, Trac#9851.
2017-06-17 14:35:42 -05:00
Colin Snover
0d63d2a7ad VIDEO: Wrap out-of-range VMD audio samples instead of clipping
The 16-bit DPCM decompressors in SSCI and Urban Runner use a 16-bit
register to store sample data, without any special handling of
overflow. As such, out-of-range samples simply wrap around, rather
than getting clipped.

It is not totally clear if the wrapping behaviour was intentionally
exploited to handle extreme transients, but in any case, videos
like GK2 5280.VMD that generate samples outside the signed 16-bit
range cause a loud pop when using clipping, but play back correctly
when wrapping.
2017-06-17 13:09:27 -05:00
Colin Snover
12afcaec49 SCI32: Support old-format 8-bit DPCM coding for SCI2 2017-06-17 13:09:27 -05:00
Colin Snover
e69507cc28 SCI32: Implement engine-accurate DPCM overflow behaviour
DPCM decompression algorithms in SSCI operate directly on 8- and
16-bit registers, so any sample that ends up being out-of-range
during decompression gets wrapped by the CPU, not clipped.

This does not fix any known problem with AUD files, but there are
some VMDs (e.g. GK2 5280.VMD) which are known to contain OOR
samples. Making this code more accurate should prevent trouble
with any other similar files.
2017-06-17 13:09:27 -05:00
Colin Snover
7334f33a3d SCI: State SCI version in error if kernel subop detection fails 2017-06-17 13:09:27 -05:00
Paul Gilbert
9dbd9c567e TITANIC: Fix maintaining total playtime for savegames 2017-06-17 13:39:13 -04:00
Paul Gilbert
9b09900a07 TITANIC: Minor cleanups, comments, and feature flags to meta engine 2017-06-17 13:15:23 -04:00
Paul Gilbert
99eba44150 DEVTOOLS: Added German MissiveOMat data to create_titanic 2017-06-17 10:03:52 -04:00
Filippos Karapetis
eab5a1e0ee CHEWY: Fix a bug in loadSceneInfo() 2017-06-17 13:27:48 +03:00
Paul Gilbert
b9c55494c2 DEVTOOLS: More create_titanic German corrections thanks to Lightkey 2017-06-16 21:36:49 -04:00
Paul Gilbert
0189243cc9 DEVTOOLS: Fix incorrect German text in create_titanic 2017-06-16 21:09:42 -04:00
Paul Gilbert
47ccae54af DEVTOOLS: Add missing /DE suffix to German resource in create_titanic 2017-06-16 21:04:18 -04:00
Paul Gilbert
783d748dc5 DEVTOOLS: Add German pronoun list to create_titanic 2017-06-16 20:57:59 -04:00
Paul Gilbert
8cedc7af0c DEVTOOLS: Add German parser strings to create_titanic 2017-06-16 20:38:10 -04:00
Paul Gilbert
eedbb7df4e TITANIC: Fix single incorrect frame showing when Bellbot leaves 2017-06-15 21:24:24 -04:00
Eugene Sandulenko
d3cb20819a I18N: Update translation (Ukrainian)
Currently translated at 99.5% (953 of 957 strings)
2017-06-16 01:56:32 +02:00
Paul Gilbert
c020959892 TITANIC: Have ship announcements use the speech sound type 2017-06-15 19:56:12 -04:00
Bastien Bouclet
9bb9c0d58e GUI: Focus the first 'focusable' widget when rebuilding dialogs
Fixes Trac#9838.
2017-06-13 07:21:34 +02:00
Bastien Bouclet
1e64ef48e0 SCI32: Add detection for PQ4, French CD version 2017-06-13 06:06:39 +02:00
Paul Gilbert
335bb21afb TITANIC: Fix bots to do more than a single idle sequence 2017-06-12 20:57:11 -04:00
Paul Gilbert
649f51a65e TITANIC: Fix saying goodbye to Bellbot 2017-06-12 20:12:32 -04:00
Paul Gilbert
12f53ca599 TITANIC: Add missing addNode to WC_ABSTRACT handling 2017-06-12 08:16:29 -04:00
Paul Gilbert
9c21bb9d1e TITANIC: Fix brief black boxes on fires in Canal 2017-06-11 17:31:33 -04:00
Paul Gilbert
6930f2b648 TITANIC: Rename viewChange to freeSurface 2017-06-11 17:06:46 -04:00
Paul Gilbert
3be659b5c1 TITANIC: CGameManager viewChange better named as roomChange 2017-06-11 16:19:54 -04:00
Walter van Niftrik
d272351055 ADL: Set ADGF_TESTING for hires4 2017-06-11 15:58:35 +02:00
Walter van Niftrik
900ae1d064 ADL: Fix hires4 dropped item drawing 2017-06-11 14:40:45 +02:00
Paul Gilbert
b5ac7cc3ed TITANIC: Fix BellBot getting clipped incorrectly when walking off-screen 2017-06-10 22:13:17 -04:00
Thierry Crozat
3b8a7a7f25 I18N: Update translations templates 2017-06-11 03:42:09 +02:00
Colin Snover
63ad8fbbed SCI: Tidy Script errors & ensure script number exists in all of them 2017-06-10 20:34:55 -05:00
Colin Snover
d6ff67e3c4 SCI32: Fix detection and loading of localized resources in Torin
Italian still needs to be fixed, but nobody seems to have access
to this version at the moment.

Fixes Trac#9772.
2017-06-10 20:32:22 -05:00
Paul Gilbert
43440193f0 VOYEUR: Fix backgrounds not showing for static rooms 2017-06-10 18:21:04 -04:00
Thierry Crozat
7b03f9e877 I18N: Update translations templates 2017-06-10 21:36:50 +02:00
Willem Jan Palenstijn
c7d631cb66 SCI: Expand kernel breakpoint pattern matching for negative matches
See matchKernelBreakpointPattern() for samples. The main envisioned use is

DoSound*,!DoSoundUpdateCues

to match all DoSound sub-functions except DoSoundUpdateCues.
2017-06-10 21:32:35 +02:00
Willem Jan Palenstijn
e7b6a257b9 SCI: Change 'none' breakpoint action to 'ignore' for consistency 2017-06-10 21:32:35 +02:00
Willem Jan Palenstijn
4102a77964 SCI: Clean up breakpoint code (indentation, consistency) 2017-06-10 21:32:35 +02:00
Willem Jan Palenstijn
e2e3f7c4c5 SCI: Move bpk/logkernel to main breakpoint infrastructure
This changes the syntax for bpk and logkernel:

Enable breakpoint on kernel call:

bpk FrameOut

Enable logging for kernel call:

bpk FrameOut log
For backward compatibility this has an alias: logkernel FrameOut

Removing a kernel call breakpoint is done with bp_del/bc now.
2017-06-10 21:32:35 +02:00