aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsluicebox2020-01-08 21:52:25 -0800
committersluicebox2020-01-08 21:52:25 -0800
commitfe9b3fea556ad03941049f61c6c2232cb09a420b (patch)
tree130590e23b1bc09bb9a8ed754a54496ed11ee838
parent7fd12064e35c37a554fac4c9cc4a3f453a836137 (diff)
downloadscummvm-rg350-fe9b3fea556ad03941049f61c6c2232cb09a420b.tar.gz
scummvm-rg350-fe9b3fea556ad03941049f61c6c2232cb09a420b.tar.bz2
scummvm-rg350-fe9b3fea556ad03941049f61c6c2232cb09a420b.zip
SCI32: Update GK2 subtitle compatibility
-rw-r--r--engines/sci/engine/script_patches.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 1beee77766..0e2d6a0814 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -3706,13 +3706,11 @@ static const uint16 gk2GameOverPriorityPatch[] = {
// GK2 fans have created patches that add subtitles to the entire game. There
// are at least English and Spanish patch sets. Sierra added the subtitle
-// feature solely for the Portuguese version, which along with the Italian
-// version are the final localized versions of the game. The Italian version
-// also contains the subtitle scripts even though it doesn't make of use the
-// feature. The fan patches work by including these Italian scripts, replacing
-// the Portuguese resources and strings, and configuring Sierra's interpreter
-// to use the Portuguese language through RESOURCE.CFG. This sets GK2:printLang
-// which the scripts test for Portuguese in order to activate subtitles.
+// feature solely for the Portuguese version. The fan patches include these
+// subtitle scripts, replace the Portuguese resources and embedded script
+// strings, and configure Sierra's interpreter to use the Portuguese language
+// through RESOURCE.CFG. This sets GK2:printLang which the scripts test for
+// Portuguese in order to activate subtitles.
//
// The subtitle patches are compatible with ScummVM except for the requirement
// that GK2:printLang equals Portuguese (351) since we don't use RESOURCE.CFG.
@@ -3761,10 +3759,12 @@ static const SciScriptPatcherEntry gk2Signatures[] = {
{ true, 64990, "increase number of save games (1/2)", 1, sci2NumSavesSignature1, sci2NumSavesPatch1 },
{ true, 64990, "increase number of save games (2/2)", 1, sci2NumSavesSignature2, sci2NumSavesPatch2 },
{ true, 64990, "disable change directory button", 1, sci2ChangeDirSignature, sci2ChangeDirPatch },
+ { false, 0, "subtitle patch compatibility", 3, gk2SubtitleCompatibilitySignature, gk2SubtitleCompatibilityPatch },
{ false, 11, "subtitle patch compatibility", 7, gk2SubtitleCompatibilitySignature, gk2SubtitleCompatibilityPatch },
- { false, 12, "subtitle patch compatibility", 6, gk2SubtitleCompatibilitySignature, gk2SubtitleCompatibilityPatch },
- { false, 36, "subtitle patch compatibility", 2, gk2SubtitleCompatibilitySignature, gk2SubtitleCompatibilityPatch },
+ { false, 12, "subtitle patch compatibility", 5, gk2SubtitleCompatibilitySignature, gk2SubtitleCompatibilityPatch },
+ { false, 91, "subtitle patch compatibility", 7, gk2SubtitleCompatibilitySignature, gk2SubtitleCompatibilityPatch },
{ false, 200, "subtitle patch compatibility", 1, gk2SubtitleCompatibilitySignature, gk2SubtitleCompatibilityPatch },
+ { false, 1300, "subtitle patch compatibility", 1, gk2SubtitleCompatibilitySignature, gk2SubtitleCompatibilityPatch },
{ false, 64924, "subtitle patch compatibility", 1, gk2SubtitleCompatibilitySignature, gk2SubtitleCompatibilityPatch },
SCI_SIGNATUREENTRY_TERMINATOR
};