[Scummvm-git-logs] scummvm master -> c31cb6677b5ebd27f46ccbb7fb651f4b618025ee
neuromancer
noreply at scummvm.org
Sun Nov 29 07:51:45 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:
9913a79184 HOLLYWOOD: RUNAWAY: render corretly the right side of 8400
c31cb6677b HOLLYWOOD: RUNAWAY: make sure Gina scene in 8090/8100 is offscreen
Commit: 9913a791841e3f0013ed67b6ed4224b21b3b94f0
https://github.com/scummvm/scummvm/commit/9913a791841e3f0013ed67b6ed4224b21b3b94f0
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-11-29T08:50:42+01:00
Commit Message:
HOLLYWOOD: RUNAWAY: render corretly the right side of 8400
Changed paths:
engines/hollywood/runaway/scene8400.cpp
diff --git a/engines/hollywood/runaway/scene8400.cpp b/engines/hollywood/runaway/scene8400.cpp
index 876f95acf77..9d2a41c95a1 100644
--- a/engines/hollywood/runaway/scene8400.cpp
+++ b/engines/hollywood/runaway/scene8400.cpp
@@ -209,8 +209,13 @@ float Scene8400::actorHeight() const {
}
void Scene8400::setupActorDepth(RunawayActor::RenderParams ¶ms) const {
+ // Rounded steps can miss the one-pixel trail. An empty mask pixel must
+ // not put Brian behind the rocks when he is on the path in front of them.
+ Common::Point floor = _position;
+ RunawayWalkMap(_background.w, _background.h, _mask, _originalMaps).projectToFloor(floor);
+ const byte zone = _originalMaps[_mask[floor.y * _background.w + floor.x]];
params.depthY[1] = 599;
- params.depthY[2] = walkZone() < 8 ? 599 : 0;
+ params.depthY[2] = zone < 8 ? 599 : 0;
}
void Scene8400::findWalkPath(Common::Point target) {
Commit: c31cb6677b5ebd27f46ccbb7fb651f4b618025ee
https://github.com/scummvm/scummvm/commit/c31cb6677b5ebd27f46ccbb7fb651f4b618025ee
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-11-29T08:50:42+01:00
Commit Message:
HOLLYWOOD: RUNAWAY: make sure Gina scene in 8090/8100 is offscreen
Changed paths:
engines/hollywood/runaway/finale.cpp
engines/hollywood/runaway/scene.h
engines/hollywood/runaway/scene8090.cpp
engines/hollywood/runaway/scene8100.cpp
diff --git a/engines/hollywood/runaway/finale.cpp b/engines/hollywood/runaway/finale.cpp
index 5c04361dbce..2af8679cc71 100644
--- a/engines/hollywood/runaway/finale.cpp
+++ b/engines/hollywood/runaway/finale.cpp
@@ -24,6 +24,20 @@
namespace Hollywood {
+byte RunawayRoomScene::pendingGinaUpdate() const {
+ // Story updates are narrated outside after an offscreen visit.
+ byte variation = 0;
+ if (_finale.moneyFound >= 3) {
+ variation = _finale.nunsHabit >= 2 ? 2 : 1;
+ } else if (_finale.trailerFound) {
+ variation = 3;
+ }
+ if (variation && (_finale.ginaUpdates & (1 << (variation - 1)))) {
+ return 0;
+ }
+ return variation;
+}
+
void RunawayRoomScene::resumeFinaleOutdoorAudio(bool entering, uint16 windCue, byte windVolume) {
_finaleAmbientTick = _now;
if (!_audio.effectPlaying(2)) {
diff --git a/engines/hollywood/runaway/scene.h b/engines/hollywood/runaway/scene.h
index b96a0d01d6c..ea8df4921eb 100644
--- a/engines/hollywood/runaway/scene.h
+++ b/engines/hollywood/runaway/scene.h
@@ -308,6 +308,7 @@ protected:
bool sayHopiInventory(const RunawayInventory::Reply &reply);
bool finaleChapter() const { return _game == kRunawayFullGame && _room / 1000 == 8; }
bool sayFinaleInventory(const RunawayInventory::Reply &reply);
+ byte pendingGinaUpdate() const;
void resumeFinaleOutdoorAudio(bool entering, uint16 windCue, byte windVolume);
void updateFinaleOutdoorAudio(byte wildlifeVolume = 0);
void resumeFinaleJailAudio(bool entering);
diff --git a/engines/hollywood/runaway/scene8090.cpp b/engines/hollywood/runaway/scene8090.cpp
index e8fd6fe3023..484ab98a6e4 100644
--- a/engines/hollywood/runaway/scene8090.cpp
+++ b/engines/hollywood/runaway/scene8090.cpp
@@ -495,7 +495,7 @@ void Scene8090::enterHouse(bool visitGina) {
if (_finale.mediumTests < 3) {
_houseDestination = 8420;
} else if (!_finale.recordingPlan) {
- _houseDestination = _restoredContent ? 8420 : 0;
+ _houseDestination = _restoredContent && !pendingGinaUpdate() ? 8420 : 0;
} else if (_finale.recordings == 0 || _finale.recordings == 2) {
_houseDestination = 8422;
} else {
@@ -545,18 +545,10 @@ void Scene8090::describeGinaVisit() {
say(40, _finale.recordings < 2 ? 4 : 5);
return;
}
- byte variation = 0, bit = 0;
- if (_finale.moneyFound >= 3) {
- variation = _finale.nunsHabit >= 2 ? 2 : 1;
- bit = 1 << (variation - 1);
- } else if (_finale.trailerFound) {
- variation = 3;
- bit = 4;
+ const byte variation = pendingGinaUpdate();
+ if (variation) {
+ _finale.ginaUpdates |= 1 << (variation - 1);
}
- if (_finale.ginaUpdates & bit) {
- variation = 0;
- }
- _finale.ginaUpdates |= bit;
say(40, variation);
}
diff --git a/engines/hollywood/runaway/scene8100.cpp b/engines/hollywood/runaway/scene8100.cpp
index 5004bbe6d37..c06ef5fcf81 100644
--- a/engines/hollywood/runaway/scene8100.cpp
+++ b/engines/hollywood/runaway/scene8100.cpp
@@ -422,7 +422,7 @@ void Scene8100::startPrayers() {
void Scene8100::leaveHouse() {
uint16 destination = 8091;
if (_visitingGina) {
- if (_finale.mediumTests < 3 || (_restoredContent && !_finale.recordingPlan)) {
+ if (_finale.mediumTests < 3 || (_restoredContent && !_finale.recordingPlan && !pendingGinaUpdate())) {
destination = 8420;
} else if (_finale.recordingPlan && (_finale.recordings == 0 || _finale.recordings == 2)) {
destination = 8422;
More information about the Scummvm-git-logs
mailing list