From aeb1a9c339fc7570b954622da1565fa38a889ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Andersson?= Date: Fri, 1 Apr 2022 19:58:19 +0200 Subject: [PATCH] SCUMM: Adjust timings for English Sam & Max intro. --- engines/scumm/string.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index cdda3a2c034..b9f2c92bced 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -217,6 +217,17 @@ bool ScummEngine::handleNextCharsetCode(Actor *a, int *code) { // We identify the broken up strings that need // adjustment by the upcoming text. + TimingAdjustment timingAdjustmentsEN[] = { + { "It's just that", 100, 0 }, + { "you're TOO nice", 90, 0 }, + { "^unpredictable.", 170, 0 }, + { "Yikes!", 120, 0 }, + { "Huh?", 90, 0 }, + { "Why do you", 110, 0 }, + { "Maybe we can", 75, 0 }, + { "Mind if I drive?", 160, 0 } + }; + TimingAdjustment timingAdjustmentsDE[] = { { "Und daf\x81r^", 110, 0 }, { "Es ist blo\xe1^", 120, 0 }, @@ -256,6 +267,10 @@ bool ScummEngine::handleNextCharsetCode(Actor *a, int *code) { }; switch (_language) { + case Common::EN_ANY: + adjustments = timingAdjustmentsEN; + numAdjustments = ARRAYSIZE(timingAdjustmentsEN); + break; case Common::DE_DEU: adjustments = timingAdjustmentsDE; numAdjustments = ARRAYSIZE(timingAdjustmentsDE);