Commit Graph
137148 Commits
Author SHA1 Message Date
Colin Snover 1ca905e860 SCI32: Replace Torin dragon's cave patch with a better patch
The previous script patch for this bug was much simpler and
targeted the bad code that hangs, instead of the bad code that
caused the unexpected flag setting, but this caused glitches in
the dragon's cave that couldn't really be fixed since different
animations relied on some common code for positioning Boogle. So,
now, this more complicated patch fixes the fast-forward code in
the seraglio to set Boogle's in-the-bag flag, which is what the
dragon's cave needs in order to not hang when worming Boogle.

Also, because this patch now targets the code that caused the bad
flag state, instead of the code that hangs on the bad state, any
save game in the dragon's cave with the bag flag setting will need
to be fixed by exiting and re-entering the dragon's cave.

Refs Trac#9836.
2017-06-24 16:54:31 -05:00
Paul Gilbert 6f02bbc8dd TITANIC: Fix incorrect bowl rendering when parrot eats nuts 2017-06-24 15:58:34 -04:00
Paul Gilbert deed634919 TITANIC: Renamings for nut bowl messages 2017-06-24 14:35:53 -04:00
Colin Snover fb4b144469 SCI32: Fix Boogle warp glitch caused by previous game patch
Refs Trac#9836.
2017-06-24 11:54:24 -05:00
Tobia Tesan c19c10d548 CREATE_PROJECT: Add fix for nested ifs
This adds a quick fix so that any if blocks nested inside a if block
with an unmet condition are handled with push(false) even if their
condition is satisfied.

For example, without this modification, upon running create_project.exe
--msvc --disable-cloud --enable-libcurl the block inside

ifdef USE_CLOUD
ifdef USE_LIBCURL
...
endif
endif

in backends/module.mk would get evaluated since it was inside
USE_LIBCURL (=1), leading to unpredictable results.
2017-06-24 11:05:29 +02:00
Colin Snover c4ca324533 SCI32: Add patch for game script bug in Torin dragon's cave
Fixes Trac#9836.
2017-06-23 22:43:22 -05:00
Paul Gilbert 0facd9474e TITANIC: Fix state handling for ship announcements 2017-06-23 21:58:04 -04:00
Paul Gilbert 5455b81e6e TITANIC: Fix parrot idle animations 2017-06-23 20:27:40 -04:00
Paul Gilbert 24d4b0440d TITANIC: Fix talking animations for Parrot 2017-06-23 20:22:04 -04:00
Ivan Lukyanov 74b335fdc6 I18N: Update translation (Belarusian)
Currently translated at 98.5% (943 of 957 strings)
2017-06-24 02:11:11 +02:00
Paul Gilbert 89da989e52 TITANIC: Minor renamings for Television eye floor 2017-06-23 20:10:57 -04:00
Paul Gilbert 925c5f2d33 TITANIC: Fixes to destinations when exiting the lifts 2017-06-22 21:41:14 -04:00
Paul Gilbert 8792bd17bb TITANIC: Fix entering correct elevator in Bottom of Well 2017-06-22 21:17:59 -04:00
Paul Gilbert 4c15303971 TITANIC: Implement German parser preprocessing 2017-06-22 20:52:39 -04:00
Paul Gilbert ef52dc283f TITANIC: Fix German strings array size in getSuffixedWord 2017-06-22 19:06:58 -04:00
Paul Gilbert 007776ba16 TITANIC: Add German handling to getSuffixedWord 2017-06-22 06:48:23 -04:00
Paul Gilbert 0f084fb703 TITANIC: Fix getting Titania's eye from light fixture 2017-06-21 21:50:27 -04:00
Paul Gilbert 69c74685c3 TITANIC: Renamings for room flags sublevel methods 2017-06-21 19:48:03 -04:00
Paul Gilbert 44f0a19062 TITANIC: Fix 2nd class room flags calculation 2017-06-21 19:37:14 -04:00
Bastien Bouclet aae13839c0 COMMON: Write the remaining iconv conversion state to the output buffer
Fixes the Myst III Hebrew subtitles sometime missing their last character
2017-06-21 21:50:07 +02:00
Paul Gilbert deab63fbdd TITANIC: Fix resetting _movieRoom when changing views 2017-06-20 21:55:52 -04:00
Paul Gilbert c9b5c524ca TITANIC: Show GUI error dialog if titanic.dat is missing 2017-06-20 19:52:11 -04:00
Thierry Crozat 4a22c085b9 I18N: Update translations templates 2017-06-20 22:32:48 +02:00
Ivan Lukyanov c8643d7df4 I18N: Update translation (Russian)
Currently translated at 99.0% (948 of 957 strings)
2017-06-20 22:32:41 +02:00
Ivan Lukyanov a914c305b8 I18N: Update translation (Belarusian)
Currently translated at 95.4% (913 of 957 strings)
2017-06-20 22:32:41 +02:00
Thierry Crozat 3213c426a5 GUI: Separate bevel and shadow effect when extending widget rect
When widget::draw() is called it asks the ThemeEngine to redraw the background
first and then the widget gets redrawn in drawWidget(). The ThemeEngine uses
an extended rect to restore the background to include bevel and shadow effects.
However if this extended rect overlaps with other widgets, since those other
widgets are not redrawn, a part of those will be missing. See for example
bug #6394: GUI: List View save page drawns over font.

In case we get overlap we might need to change the way widgets are drawn so
that all widgets intersecting the area where the backgroud is restored are
redrawn. This commit simply seperate the bevel and shadow effects, and uses
the shadow offset only to extend the bottom and right sides of the rectangle
(while the bevel offset is still used to extend all four sides). This
results in a smaller extended rectangle (if the shadow offset is bigger than
the bevel offset, which is the case of the list view) and thus decrease the
risk of the issue happening. The particular cases described in bug #6394
are all fixed with this change.
2017-06-20 19:36:56 +01:00
Bastien Bouclet e29c7ded48 MYST3: Add minimal BiDi processing for the Hebrew version
Fixes rendering the subtitles from right to left
2017-06-20 14:03:55 +02:00
Bastien Bouclet c6e11c3691 MYST3: Switch file misc metadata to a Common::Array
Should fix failure to load one of the files in the Hebrew version,
as seen in bug #1348
2017-06-20 14:01:44 +02:00
Paul Gilbert 9f055d4ba1 TITANIC: Set SGT TV Magazine announcement to use speech sound type 2017-06-19 21:53:34 -04:00
Colin Snover a3824d0f39 SCI32: Create Torin-specific save game count limitation remover
Fixes Trac#9840.
2017-06-19 20:45:43 -05:00
Paul Gilbert 5a512c1c2c TITANIC: Fix exiting elevator 3 on floor 28 2017-06-19 21:14:28 -04:00
Colin Snover dcc4a1bc67 SCI32: Add workaround for invalid kFrameOut call in PQ4
Fixes Trac#9848.
2017-06-19 19:56:48 -05:00
Colin Snover 71e2f9d6fb SCI32: Add workaround for uninitialised read in PQ4
Fixes Trac#9847.
2017-06-19 19:56:48 -05:00
Colin Snover 5d04679124 SCI32: Add workaround for invalid kPalVarySetStart call in PQ4
Fixes Trac#9845.
2017-06-19 19:56:48 -05:00
Paul Gilbert 6ccbdf78e5 TITANIC: Fix Bellbot walking off during checkin 2017-06-19 20:43:50 -04:00
Paul Gilbert ec4550fae5 TITANIC: Fix NPC data copying/clearing in copyData 2017-06-19 18:59:57 -04:00
Thierry Crozat 64c82e7e0e I18N: Regenerate translations data file 2017-06-19 05:05:03 +02:00
Thierry Crozat a08378a41d I18N: Update translations templates 2017-06-19 04:43:38 +02:00
Colin Snover 02a7f331b1 SCI32: Remove Windows platform from GK1 German
This entry was added by a batch change operation in
f7a72c897a, but the German version
of GK1 does not support Windows.
2017-06-18 21:42:59 -05:00
Colin Snover f3c452c31e SCI32: Forward OLDDPCM8 parameter instead of using an if-else
Thanks @OmerMor for pointing out this improvement.
2017-06-18 21:42:59 -05:00
Colin Snover 87895b97f7 SCI: Fix looping of sounds that are not initialized yet
This fixes at least the character selection screen in QFG4CD,
where the sound for the torches is supposed to loop, but wasn't
because kDoSoundSetLoop would bail out before setting the loop
property on the soundObj.
2017-06-18 21:42:58 -05:00
Colin Snover d556dcc57b SCI: Switch SCI2 games to use Audio32
Upon investigation of Sound code across SCI32 games, it was
determined that there are actually (at least) 3 different
revisions, not just a single SCI2.1 version. This patch only
changes the parts of Sound code that are relevant to the correct
use of Audio32.

Fixes Trac#9736, Trac#9756, Trac#9767, Trac#9791.
2017-06-18 21:42:58 -05:00
Colin Snover 733eaeb499 SCI32: Minor tweaks to improve code clarity & consistency 2017-06-18 21:42:58 -05:00
Colin Snover dc9522eae0 SCI32: Fix Audio32 mix volumes
The previous code for attenuating audio channels was not accurate,
so samples were quieter than they were supposed to be when mixed
together. Robots were also being mixed without attenuation, which
was incorrect.
2017-06-18 21:41:48 -05:00
Paul Gilbert eb68a94527 TITANIC: Fix empty holes appearing in room transition videos 2017-06-18 22:09:24 -04:00
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