[Scummvm-git-logs] scummvm master -> 792b2c831959d63da32f1363e4b26f3a141422b7
neuromancer
noreply at scummvm.org
Mon Nov 30 15:48:12 UTC 2026
This automated email contains information about 5 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
24cdd6c259 HOLLYWOOD: RUNAWAY: fix coverity 1690944
e28eb91a24 HOLLYWOOD: RUNAWAY: fix coverity 1690760
9c0078bc10 HOLLYWOOD: RUNAWAY: avoid removing curtain when Oscar is gone
dc17e50a1e HOLLYWOOD: RUNAWAY: sync Gina scream
792b2c8319 HOLLYWOOD: RUNAWAY: add subtitles and music to the next game teaser
Commit: 24cdd6c25983c3078bed31baa52f3fcc0b89dae8
https://github.com/scummvm/scummvm/commit/24cdd6c25983c3078bed31baa52f3fcc0b89dae8
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-11-30T14:12:12+01:00
Commit Message:
HOLLYWOOD: RUNAWAY: fix coverity 1690944
Changed paths:
engines/hollywood/runaway/museum.cpp
diff --git a/engines/hollywood/runaway/museum.cpp b/engines/hollywood/runaway/museum.cpp
index dd04bd8a319..9c0ecdad806 100644
--- a/engines/hollywood/runaway/museum.cpp
+++ b/engines/hollywood/runaway/museum.cpp
@@ -348,7 +348,7 @@ void RunawayRoomScene::startMuseumFilm(MuseumFilm film) {
}
commands.push_back(command);
}
- _filmCommands = commands;
+ _filmCommands.swap(commands);
}
_filmCommands.push_back(S::Command(S::kEnd));
if (film == kPhoneFilm) {
Commit: e28eb91a245a3b1f35f23a75440091f5d51d136e
https://github.com/scummvm/scummvm/commit/e28eb91a245a3b1f35f23a75440091f5d51d136e
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-11-30T14:15:43+01:00
Commit Message:
HOLLYWOOD: RUNAWAY: fix coverity 1690760
Changed paths:
engines/hollywood/runaway/inventory.cpp
diff --git a/engines/hollywood/runaway/inventory.cpp b/engines/hollywood/runaway/inventory.cpp
index 8c743b01976..45c45b1aa4a 100644
--- a/engines/hollywood/runaway/inventory.cpp
+++ b/engines/hollywood/runaway/inventory.cpp
@@ -363,7 +363,7 @@ uint RunawayInventory::icon(byte item) const {
38 + _desert.gunReady + _desert.bombReady + _desert.helicopterReady : 23;
if (item == 25 && _desert.bucket == 1)
return 42;
- return item == 15 ? 29 : item;
+ return item;
}
uint RunawayInventory::cursor(byte item) const {
Commit: 9c0078bc104f7296a184e696c617c1e5c5b389f2
https://github.com/scummvm/scummvm/commit/9c0078bc104f7296a184e696c617c1e5c5b389f2
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-11-30T14:36:52+01:00
Commit Message:
HOLLYWOOD: RUNAWAY: avoid removing curtain when Oscar is gone
Changed paths:
engines/hollywood/runaway/scene8090.cpp
diff --git a/engines/hollywood/runaway/scene8090.cpp b/engines/hollywood/runaway/scene8090.cpp
index 9cf6d34ff5e..08ea0540dbe 100644
--- a/engines/hollywood/runaway/scene8090.cpp
+++ b/engines/hollywood/runaway/scene8090.cpp
@@ -572,7 +572,8 @@ void Scene8090::enterHouse(bool visitGina) {
}
void Scene8090::returnFromHouse() {
- _curtainOpen = true;
+ // Only Oscar's closing animation supplies a moving curtain.
+ _curtainOpen = !_finale.oscarAway;
if (!rebuildBackground()) {
error("Cannot restore Runaway house entrance");
}
Commit: dc17e50a1ef9356419eba768bfda3a73f830e028
https://github.com/scummvm/scummvm/commit/dc17e50a1ef9356419eba768bfda3a73f830e028
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-11-30T15:09:00+01:00
Commit Message:
HOLLYWOOD: RUNAWAY: sync Gina scream
Changed paths:
engines/hollywood/runaway/scene8420.cpp
engines/hollywood/runaway/sequence.cpp
engines/hollywood/runaway/sequence.h
diff --git a/engines/hollywood/runaway/scene8420.cpp b/engines/hollywood/runaway/scene8420.cpp
index 690f69b044d..264ada9b6df 100644
--- a/engines/hollywood/runaway/scene8420.cpp
+++ b/engines/hollywood/runaway/scene8420.cpp
@@ -94,7 +94,16 @@ void Scene8420::update(uint32 now, int scrollDirection, bool inventoryOpen) {
}
void Scene8420::updateNightmareAudio() {
- if (!_screaming || _audio.effectPlaying(1)) {
+ if (!_screaming) {
+ return;
+ }
+ // Gina closes her mouth once Brian has woken her and let go of her arms.
+ if (_film == kNightmare && _sequence.movieFrame() >= 145) {
+ _screaming = false;
+ _audio.stopEffect(1);
+ return;
+ }
+ if (_audio.effectPlaying(1)) {
return;
}
byte variation;
@@ -290,7 +299,7 @@ RunawayRoomScene::ActionResult Scene8420::dispatchCustomSceneAction(uint16 actio
{S::kMusic, 16, 100, 1}, {S::kEnd}
};
_film = kNightmare;
- _sequence.start(nightmare, _text, _now, 'H');
+ _sequence.start(nightmare, _text, _now, 'H', true);
break;
}
case 423: // Reassure Gina, explain the recording, and rehearse her accusation.
diff --git a/engines/hollywood/runaway/sequence.cpp b/engines/hollywood/runaway/sequence.cpp
index fe724a3a3f4..47e7fd8f10e 100644
--- a/engines/hollywood/runaway/sequence.cpp
+++ b/engines/hollywood/runaway/sequence.cpp
@@ -48,6 +48,7 @@ void RunawaySequence::start(const Command *commands, const SceneTextStore &text,
_line = 0;
_commands = commands;
_index = 0;
+ _movieFrame = 0;
_entered = _showPortrait = false;
_skipFilm = false;
_skipSpeechPending = false;
@@ -225,6 +226,7 @@ void RunawaySequence::update(uint32 now) {
error("Cannot load Runaway film %s", name.c_str());
cacheRevisitedFrames();
_movie = command.a;
+ _movieFrame = 0;
_stills.close();
_useStill = false;
_showPortrait = false;
@@ -259,6 +261,7 @@ void RunawaySequence::update(uint32 now) {
if (status == RunawayVideo::kFramePending) {
return;
}
+ _movieFrame = command.a;
break;
}
case kTalk:
@@ -352,6 +355,7 @@ void RunawaySequence::update(uint32 now) {
return;
}
finishPreparation();
+ _movieFrame = frame;
if (frameReady) {
// Use updates between movie frames to prepare the next speakers.
prefetch();
diff --git a/engines/hollywood/runaway/sequence.h b/engines/hollywood/runaway/sequence.h
index 08df05d5dc1..466afd9f3d5 100644
--- a/engines/hollywood/runaway/sequence.h
+++ b/engines/hollywood/runaway/sequence.h
@@ -80,6 +80,7 @@ public:
const Common::U32String &subtitle() const { return _speech.subtitle(); }
byte subtitleColor() const { return _speech.subtitleColor(); }
byte speechFrame() const { return _speech.frame(_now); }
+ uint movieFrame() const { return _movieFrame; }
private:
void advance();
@@ -103,6 +104,7 @@ private:
const Command *_commands = nullptr;
uint _index = 0;
uint _movie = 0;
+ uint _movieFrame = 0;
uint32 _now = 0, _started = 0;
uint32 _repeatAt = 0;
bool _entered = false, _showPortrait = false, _silentPortrait = false;
Commit: 792b2c831959d63da32f1363e4b26f3a141422b7
https://github.com/scummvm/scummvm/commit/792b2c831959d63da32f1363e4b26f3a141422b7
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-11-30T16:47:53+01:00
Commit Message:
HOLLYWOOD: RUNAWAY: add subtitles and music to the next game teaser
Changed paths:
dists/engine-data/hollywood.dat
engines/hollywood/runaway/po/en.po
engines/hollywood/runaway/po/es.po
engines/hollywood/runaway/po/fr.po
engines/hollywood/runaway/po/runaway.pot
engines/hollywood/runaway/scene9030.cpp
engines/hollywood/runaway/scene9030.h
engines/hollywood/runaway/strings.cpp
engines/hollywood/runaway/strings.h
diff --git a/dists/engine-data/hollywood.dat b/dists/engine-data/hollywood.dat
index 48417447b7f..1edd8650515 100644
Binary files a/dists/engine-data/hollywood.dat and b/dists/engine-data/hollywood.dat differ
diff --git a/engines/hollywood/runaway/po/en.po b/engines/hollywood/runaway/po/en.po
index 261a4b020ff..b0003c5d41b 100644
--- a/engines/hollywood/runaway/po/en.po
+++ b/engines/hollywood/runaway/po/en.po
@@ -12056,3 +12056,15 @@ msgstr "CONTINUE PLAYING"
msgctxt "menu.help.confirmDelete"
msgid "ERASE GAME"
msgstr "ERASE GAME"
+
+#. Translation of the German teaser title card: BRIAN KEHRT ZURÃCK!
+#: engines/hollywood/runaway/scene9030.cpp
+msgctxt "teaser.brianReturns"
+msgid "Brian is back!"
+msgstr "Brian is back!"
+
+#. Translation of the German teaser title card: DEMNÃCHST AUF DEINEM PC
+#: engines/hollywood/runaway/scene9030.cpp
+msgctxt "teaser.comingSoon"
+msgid "Coming soon to your PC."
+msgstr "Coming soon to your PC."
diff --git a/engines/hollywood/runaway/po/es.po b/engines/hollywood/runaway/po/es.po
index ce6d142b3f2..fe4f2cde474 100644
--- a/engines/hollywood/runaway/po/es.po
+++ b/engines/hollywood/runaway/po/es.po
@@ -12056,3 +12056,15 @@ msgstr "CONTINUAR JUEGO"
msgctxt "menu.help.confirmDelete"
msgid "ERASE GAME"
msgstr "BORRAR JUEGO"
+
+#. Translation of the German teaser title card: BRIAN KEHRT ZURÃCK!
+#: engines/hollywood/runaway/scene9030.cpp
+msgctxt "teaser.brianReturns"
+msgid "Brian is back!"
+msgstr "¡Brian vuelve!"
+
+#. Translation of the German teaser title card: DEMNÃCHST AUF DEINEM PC
+#: engines/hollywood/runaway/scene9030.cpp
+msgctxt "teaser.comingSoon"
+msgid "Coming soon to your PC."
+msgstr "Próximamente en tu PC."
diff --git a/engines/hollywood/runaway/po/fr.po b/engines/hollywood/runaway/po/fr.po
index 188e94ca2d2..8dba5b4441f 100644
--- a/engines/hollywood/runaway/po/fr.po
+++ b/engines/hollywood/runaway/po/fr.po
@@ -12056,3 +12056,15 @@ msgstr "CONTINUER LA PARTIE"
msgctxt "menu.help.confirmDelete"
msgid "ERASE GAME"
msgstr "EFFACER LA PARTIE"
+
+#. Translation of the German teaser title card: BRIAN KEHRT ZURÃCK!
+#: engines/hollywood/runaway/scene9030.cpp
+msgctxt "teaser.brianReturns"
+msgid "Brian is back!"
+msgstr "Brian est de retour !"
+
+#. Translation of the German teaser title card: DEMNÃCHST AUF DEINEM PC
+#: engines/hollywood/runaway/scene9030.cpp
+msgctxt "teaser.comingSoon"
+msgid "Coming soon to your PC."
+msgstr "Bientôt sur votre PC."
diff --git a/engines/hollywood/runaway/po/runaway.pot b/engines/hollywood/runaway/po/runaway.pot
index 350372d703e..a06f4c203a0 100644
--- a/engines/hollywood/runaway/po/runaway.pot
+++ b/engines/hollywood/runaway/po/runaway.pot
@@ -12050,3 +12050,15 @@ msgstr ""
msgctxt "menu.help.confirmDelete"
msgid "ERASE GAME"
msgstr ""
+
+#. Translation of the German teaser title card: BRIAN KEHRT ZURÃCK!
+#: engines/hollywood/runaway/scene9030.cpp
+msgctxt "teaser.brianReturns"
+msgid "Brian is back!"
+msgstr ""
+
+#. Translation of the German teaser title card: DEMNÃCHST AUF DEINEM PC
+#: engines/hollywood/runaway/scene9030.cpp
+msgctxt "teaser.comingSoon"
+msgid "Coming soon to your PC."
+msgstr ""
diff --git a/engines/hollywood/runaway/scene9030.cpp b/engines/hollywood/runaway/scene9030.cpp
index b19ff8142fa..f68f263b681 100644
--- a/engines/hollywood/runaway/scene9030.cpp
+++ b/engines/hollywood/runaway/scene9030.cpp
@@ -26,6 +26,7 @@
#include "common/util.h"
#include "hollywood/debug.h"
#include "hollywood/runaway/scene9030.h"
+#include "hollywood/runaway/strings.h"
namespace Hollywood {
namespace {
@@ -45,8 +46,9 @@ const S::Command kTeaserCommands[] = {
{S::kPlay, 0, 588}, {S::kFadeMusic, 7500, 100}, {S::kEnd}
};
-const S::Command kSilentTeaserCommands[] = {
- {S::kOpen, 5}, {S::kPlay, 0, 588}, {S::kEnd}
+const S::Command kRestoredTeaserCommands[] = {
+ {S::kOpen, 5}, {S::kMusic, 23, 100},
+ {S::kPlay, 0, 588}, {S::kFadeMusic, 2500, 100}, {S::kEnd}
};
bool hasTeaserMusic() {
@@ -68,8 +70,26 @@ const RunawayRoom kRunawayScene9030 = {
namespace Runaway {
-Scene9030::Scene9030(RunawayAudio &audio, RunawayInventory &, const RunawayStrings &, RunawayGameType) :
- _audio(audio), _random("runawayEpilogue"), _speech(audio, _random), _teaser(audio) {}
+Scene9030::Scene9030(RunawayAudio &audio, RunawayInventory &, const RunawayStrings &strings, RunawayGameType) :
+ _audio(audio), _random("runawayEpilogue"), _speech(audio, _random), _teaser(audio) {
+ if (strings.language() != Common::DE_DEU) {
+ _teaserSubtitles[0] = strings.text(RunawayStrings::kTeaserBrianReturns);
+ _teaserSubtitles[1] = _teaserSubtitles[0];
+ _teaserSubtitles[1] += '\n';
+ _teaserSubtitles[1] += strings.text(RunawayStrings::kTeaserComingSoon);
+ }
+}
+
+const Common::U32String &Scene9030::subtitle() const {
+ if (_step == kTeaser && _teaser.active() && !_teaser.skipped()) {
+ // Translate the German title card when its two captions fade into view.
+ const uint frame = _teaser.movieFrame();
+ if (frame >= 320 && frame < 548) {
+ return _teaserSubtitles[frame >= 340];
+ }
+ }
+ return _speech.subtitle();
+}
bool Scene9030::load(uint16 entryScene) {
_entryScene = entryScene;
@@ -183,10 +203,10 @@ void Scene9030::enter(Step step) {
_audio.stopEffect();
_audio.stopMusic();
const bool video = Common::File::exists("DATAVI05.001");
- const bool music = video && hasTeaserMusic();
- if (video && (music || _restoredContent)) {
- debugC(1, kDebugScene, "Runaway: playing the Runaway 2 teaser%s", music ? "" : " without music");
- _teaser.start(music ? kTeaserCommands : kSilentTeaserCommands, _text, _now, 'I');
+ const bool originalMusic = video && hasTeaserMusic();
+ if (video && (originalMusic || _restoredContent)) {
+ debugC(1, kDebugScene, "Runaway: playing the Runaway 2 teaser with %s music", originalMusic ? "original" : "beach epilogue");
+ _teaser.start(originalMusic ? kTeaserCommands : kRestoredTeaserCommands, _text, _now, 'I');
} else {
enter(kFinished);
}
diff --git a/engines/hollywood/runaway/scene9030.h b/engines/hollywood/runaway/scene9030.h
index b46d7bee870..03135994b99 100644
--- a/engines/hollywood/runaway/scene9030.h
+++ b/engines/hollywood/runaway/scene9030.h
@@ -36,8 +36,9 @@ public:
void resume() override;
void update(uint32 now, int scrollDirection, bool inventoryOpen) override;
void draw() override;
- const Common::U32String &subtitle() const override { return _speech.subtitle(); }
- byte subtitleColor() const override { return _speech.subtitleColor(); }
+ const Common::U32String &subtitle() const override;
+ byte subtitleColor() const override { return _step == kTeaser ? 11 : _speech.subtitleColor(); }
+ bool speaking() const override { return !_speech.subtitle().empty(); }
void skipSpeech() override;
void skipVideo() override;
bool escaped() const override { return _step == kFinished; }
@@ -58,6 +59,7 @@ private:
Common::RandomSource _random;
RunawaySpeech _speech;
RunawaySequence _teaser;
+ Common::U32String _teaserSubtitles[2];
SceneTextStore _text;
SceneSpeechCue _cue;
RunawayAnimation _layers[11];
diff --git a/engines/hollywood/runaway/strings.cpp b/engines/hollywood/runaway/strings.cpp
index 71d159ec906..f979037dc6a 100644
--- a/engines/hollywood/runaway/strings.cpp
+++ b/engines/hollywood/runaway/strings.cpp
@@ -63,7 +63,8 @@ const char *const kTextKeys[] = {
"interface.stoneOfLight", "interface.makeshiftMortar", "interface.steamOutletLever",
"interface.pressureWheel", "interface.makeshiftMiningTool", "interface.hotScalpel",
"interface.openPods", "interface.putPlanIntoAction", "interface.goTo",
- "interface.videoDefinition", "interface.high", "interface.low"
+ "interface.videoDefinition", "interface.high", "interface.low",
+ "teaser.brianReturns", "teaser.comingSoon"
};
static_assert(ARRAYSIZE(kTextKeys) == RunawayStrings::kTextCount, "Runaway text keys must match TextId");
diff --git a/engines/hollywood/runaway/strings.h b/engines/hollywood/runaway/strings.h
index 92a1571fa59..fd10583384a 100644
--- a/engines/hollywood/runaway/strings.h
+++ b/engines/hollywood/runaway/strings.h
@@ -32,8 +32,8 @@ class Archive;
namespace Hollywood {
-// Original executable labels are compiled from PO catalogs into hollywood.dat.
-// Dialogue and subtitles remain in RESOURCE.003.
+// Original executable labels and teaser captions are compiled from PO catalogs
+// into hollywood.dat. Dialogue remains in RESOURCE.003.
class RunawayStrings {
public:
enum TextId {
@@ -57,7 +57,7 @@ public:
kMendedStrap, kBottleWithWater, kBottleWithGasoline, kFilledMeasuringTube,
kPolishedStone, kStoneOfLight, kMakeshiftMortar, kSteamOutletLever, kPressureWheel,
kMakeshiftMiningTool, kHotScalpel, kOpenPods, kPutPlanIntoAction, kGoTo,
- kVideoDefinition, kHigh, kLow, kTextCount
+ kVideoDefinition, kHigh, kLow, kTeaserBrianReturns, kTeaserComingSoon, kTextCount
};
explicit RunawayStrings(Common::Language language) : _language(language) {}
Common::Language language() const { return _language; }
More information about the Scummvm-git-logs
mailing list