[Scummvm-git-logs] scummvm master -> e7a57281a0fce13a800a5d95b24d26b8e703d82e
neuromancer
noreply at scummvm.org
Tue Dec 1 12:48:12 UTC 2026
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
d35d60f57c HOLLYWOOD: RUNAWAY: included some missing lines in restored content for the french demo
e7a57281a0 HOLLYWOOD: RUNAWAY: missing details for the final scenes of the game
Commit: d35d60f57c2ec55d41ebf86953e1d714d74f9a20
https://github.com/scummvm/scummvm/commit/d35d60f57c2ec55d41ebf86953e1d714d74f9a20
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-12-01T13:47:42+01:00
Commit Message:
HOLLYWOOD: RUNAWAY: included some missing lines in restored content for the french demo
Changed paths:
engines/hollywood/runaway/detection_tables.h
engines/hollywood/runaway/scene5140.cpp
diff --git a/engines/hollywood/runaway/detection_tables.h b/engines/hollywood/runaway/detection_tables.h
index 2b90a2ad9ae..25d0c7c1181 100644
--- a/engines/hollywood/runaway/detection_tables.h
+++ b/engines/hollywood/runaway/detection_tables.h
@@ -142,7 +142,7 @@
Common::FR_FRA,
Common::kPlatformWindows,
ADGF_DEMO | ADGF_UNSTABLE,
- GUIO1(GUIO_NOMIDI)
+ GUIO2(GUIO_NOMIDI, GAMEOPTION_RESTORED_CONTENT)
},
#endif // HOLLYWOOD_RUNAWAY_DETECTION_TABLES_H
diff --git a/engines/hollywood/runaway/scene5140.cpp b/engines/hollywood/runaway/scene5140.cpp
index 3717d0f55c9..bc20609e55b 100644
--- a/engines/hollywood/runaway/scene5140.cpp
+++ b/engines/hollywood/runaway/scene5140.cpp
@@ -174,13 +174,13 @@ void Scene5140::updateIntroduction() {
intro.frame = intro.lastFrame = kBrianTalkFrames[kBrianMariola];
}
const bool farewell = intro.phase == BusIntroduction::kFarewell;
- const bool demoFarewell = farewell && _game == kRunawayCabinDemo;
+ const bool demoFarewell = farewell && _game == kRunawayCabinDemo && !_restoredContent;
const IntroductionLine *lines = demoFarewell ? kDemoFarewell : farewell ? kFarewell : kIntroduction;
const uint count = demoFarewell ? ARRAYSIZE(kDemoFarewell) : farewell ? ARRAYSIZE(kFarewell) : ARRAYSIZE(kIntroduction);
if (intro.nextLine == count) {
if (farewell) {
_roomAction = 0;
- if (demoFarewell) {
+ if (_game == kRunawayCabinDemo) {
_chapterComplete = true;
} else {
leaveDesertRoom(5060);
@@ -221,8 +221,8 @@ bool Scene5140::updateCustomSequence() {
}
void Scene5140::finishCustomFilm() {
- // The French demo returns with three lines from stage 506, then ends.
- if (_game == kRunawayCabinDemo && !_text.loadStage("RESOURCE.003", "Runaway demo farewell", 506))
+ // The original French demo replaces the farewell with three lines from stage 506.
+ if (_game == kRunawayCabinDemo && !_restoredContent && !_text.loadStage("RESOURCE.003", "Runaway demo farewell", 506))
error("Cannot load Runaway demo farewell");
updateIntroduction();
}
Commit: e7a57281a0fce13a800a5d95b24d26b8e703d82e
https://github.com/scummvm/scummvm/commit/e7a57281a0fce13a800a5d95b24d26b8e703d82e
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-12-01T13:47:42+01:00
Commit Message:
HOLLYWOOD: RUNAWAY: missing details for the final scenes of the game
Changed paths:
engines/hollywood/runaway/saveload.cpp
engines/hollywood/runaway/scene8100.cpp
engines/hollywood/runaway/scene8420.cpp
diff --git a/engines/hollywood/runaway/saveload.cpp b/engines/hollywood/runaway/saveload.cpp
index 61dc92b1606..98f74578db3 100644
--- a/engines/hollywood/runaway/saveload.cpp
+++ b/engines/hollywood/runaway/saveload.cpp
@@ -551,7 +551,7 @@ bool RunawaySaveState::valid() const {
}
if (finale.doritaMet > 1 || finale.mediumDiscussed > 1 || finale.mediumTests > 3 || finale.seanceComplete > 1 ||
finale.oscarAway > 1 || finale.oscarNeedsRifle > 1 || finale.gangsters > 2 || finale.trailerFound > 2 || finale.moneyFound > 3 ||
- finale.nunsHabit > 2 || finale.recordingPlan > 1 || finale.recordings > 3 || finale.ginaUpdates > 15 ||
+ finale.nunsHabit > 2 || finale.recordingPlan > 1 || finale.recordings > 3 || finale.ginaUpdates > 31 ||
finale.ginaVisitPending > 1 || finale.gangstersMet > 1 || finale.gangsterBag > 3) {
return false;
}
diff --git a/engines/hollywood/runaway/scene8100.cpp b/engines/hollywood/runaway/scene8100.cpp
index c06ef5fcf81..79216a6a44c 100644
--- a/engines/hollywood/runaway/scene8100.cpp
+++ b/engines/hollywood/runaway/scene8100.cpp
@@ -28,6 +28,8 @@
namespace Hollywood {
namespace {
+const byte kGinaPostRecordingVisit = 1 << 4;
+
// Walking sequences alternate with idle, speech and blink poses at 20, 80 and 150.
const byte kDoritaFrames[] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 15, 15, 15, 15,
@@ -375,6 +377,7 @@ void Scene8100::startDoritaConversation() {
memcpy(_dialogue[20], medium, sizeof(medium));
_dialogue[0][1].enabled = _finale.mediumTests < 3 && !_finale.mediumDiscussed;
_dialogue[0][2].enabled = _finale.mediumTests < 3 && _finale.mediumDiscussed;
+ _dialogue[0][3].enabled = !_restoredContent || !(_finale.ginaUpdates & kGinaPostRecordingVisit);
_dialogue[0][5].enabled = _finale.mediumTests >= 3 && !_finale.trailerFound;
_dialogue[20][3].enabled = _finale.mediumTests < 2;
}
@@ -435,6 +438,9 @@ void Scene8100::leaveHouse() {
}
_finale.doritaMet = 1;
_finale.ginaVisitPending = _visitingGina && destination == 8091;
+ if (_restoredContent && _finale.ginaVisitPending && (_finale.recordings & 1)) {
+ _finale.ginaUpdates |= kGinaPostRecordingVisit;
+ }
walkTo(Common::Point(0, _visitingGina ? 428 : 599), 5);
if (_visitingGina) {
moveDorita(40, 70, 80);
diff --git a/engines/hollywood/runaway/scene8420.cpp b/engines/hollywood/runaway/scene8420.cpp
index 264ada9b6df..bdaa98e218d 100644
--- a/engines/hollywood/runaway/scene8420.cpp
+++ b/engines/hollywood/runaway/scene8420.cpp
@@ -121,8 +121,9 @@ void Scene8420::advanceCustomGameplayLoop(uint32 delta) {
const int change = 1 + _random.getRandomNumber(4);
_ambientFrame[1] = CLIP<int>(_ambientFrame[1] + (_random.getRandomBit() ? change : -change), 0, 29);
}
- while (_now - _ginaTick >= 80) {
- _ginaTick += 80;
+ const uint frameDuration = _dreaming ? 60 : 80;
+ while (_now - _ginaTick >= frameDuration) {
+ _ginaTick += frameDuration;
if (_dreaming) {
if (_nightmareMoving) {
_ginaFrame = MIN<byte>(_nightmareLast, _ginaFrame + 1);
@@ -142,6 +143,10 @@ void Scene8420::advanceCustomGameplayLoop(uint32 delta) {
}
bool Scene8420::updateCustomSequence() {
+ // Brian pauses for two 50 ms speech ticks before each rehearsal quotation.
+ if ((_roomAction == 432 || _roomAction == 434) && _now - _actionStarted < 100) {
+ return true;
+ }
if (_nightmareMoving) {
return true;
}
@@ -305,9 +310,20 @@ RunawayRoomScene::ActionResult Scene8420::dispatchCustomSceneAction(uint16 actio
case 423: // Reassure Gina, explain the recording, and rehearse her accusation.
exchange(43, 0, 1);
say(43, 2);
+ deferAction(431);
+ break;
+ case 431: // Pause before reading the accusation.
+ case 433: // Pause before repeating it for Gina's rehearsal.
+ _actionStarted = _now;
+ deferAction(action + 1);
+ break;
+ case 432: // Read the accusation and ask Gina to rehearse it.
say(43, 3);
say(53, 2, false, 1);
say(43, 4);
+ deferAction(433);
+ break;
+ case 434: // Repeat the accusation and coach Gina through her attempts.
say(43, 3);
say(53, 3, false, 1);
say(43, 5);
@@ -322,14 +338,14 @@ RunawayRoomScene::ActionResult Scene8420::dispatchCustomSceneAction(uint16 actio
deferAction(425);
break;
case 425: // Take out the recorder and press the record button.
- beginRoomAnimationRange(425, 17, 53, 0, 22);
+ beginRoomAnimationRange(425, 17, 53, 0, 22, true, 60);
break;
case 1425: // Record Gina's line while Brian holds the recorder.
say(53, 5, false, 1);
holdRoomAnimation(426, 17, 53, 22);
break;
case 1426: // Stop recording and put the recorder away.
- beginRoomAnimationRange(427, 17, 53, 28, 52);
+ beginRoomAnimationRange(427, 17, 53, 28, 52, true, 60);
break;
case 1427: // Keep Gina's recording alongside any recording of Gustav.
_finale.recordings |= 1;
@@ -341,6 +357,7 @@ RunawayRoomScene::ActionResult Scene8420::dispatchCustomSceneAction(uint16 actio
say(43, i);
say(53, i - 2, false, 1);
}
+ _finale.ginaVisitPending = 1;
_destination = 8091;
deferAction(430);
break;
More information about the Scummvm-git-logs
mailing list