[Scummvm-git-logs] scummvm master -> 332dac519b836272250d2446d252ebbec10de26e
neuromancer
noreply at scummvm.org
Sat Nov 21 19:54:06 UTC 2026
This automated email contains information about 3 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
f1ed4dca1c HOLLYWOOD: RUNAWAY: corrected item that it is only available in museum demo
75ba90e90d HOLLYWOOD: RUNAWAY: added some missing animations and pointers when Brian moves between scenes
332dac519b HOLLYWOOD: RUNAWAY: added restored content in chapter 2
Commit: f1ed4dca1cbf1248970073a3a47ddade67f917df
https://github.com/scummvm/scummvm/commit/f1ed4dca1cbf1248970073a3a47ddade67f917df
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-11-21T19:29:52+01:00
Commit Message:
HOLLYWOOD: RUNAWAY: corrected item that it is only available in museum demo
Changed paths:
engines/hollywood/runaway/inventory.cpp
engines/hollywood/runaway/scene4060.cpp
diff --git a/engines/hollywood/runaway/inventory.cpp b/engines/hollywood/runaway/inventory.cpp
index 68a95a86e87..3c847cb0122 100644
--- a/engines/hollywood/runaway/inventory.cpp
+++ b/engines/hollywood/runaway/inventory.cpp
@@ -474,6 +474,9 @@ RunawayInventory::Reply RunawayInventory::examine(byte item) const {
if (!item || item > kMuseumItemCount) {
return Reply();
}
+ if (_fullGame && item == 3) {
+ return Reply(74);
+ }
byte variation = 0;
switch (item) {
case 5:
diff --git a/engines/hollywood/runaway/scene4060.cpp b/engines/hollywood/runaway/scene4060.cpp
index 87b67cdd67d..afe76f09b40 100644
--- a/engines/hollywood/runaway/scene4060.cpp
+++ b/engines/hollywood/runaway/scene4060.cpp
@@ -92,7 +92,7 @@ const RunawayItemAction kItemActions[] = {
{kMuseumHall, 10, 8, 338}, // Dust the keypad with talcum powder.
{kMuseumHall, 1, 14, 11, false}, // Use wallet with maintenance worker.
{kMuseumHall, 2, 14, 11, false}, // Use car keys with maintenance worker.
- {kMuseumHall, 3, 14, 11, false}, // Use condom with maintenance worker.
+ {kMuseumHall, 3, 14, 11, false}, // Show Willy the receipt (condom in the demo).
{kMuseumHall, 4, 14, 11, false}, // Use piece of amber with maintenance worker.
{kMuseumHall, 5, 14, 334, false}, // Show the tape recorder to Willy.
{kMuseumHall, 6, 14, 335, false}, // Show the battery to Willy.
Commit: 75ba90e90daa8811111a10f2ab99a1d7bc2d3c79
https://github.com/scummvm/scummvm/commit/75ba90e90daa8811111a10f2ab99a1d7bc2d3c79
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-11-21T20:46:46+01:00
Commit Message:
HOLLYWOOD: RUNAWAY: added some missing animations and pointers when Brian moves between scenes
Changed paths:
engines/hollywood/runaway/engine.cpp
engines/hollywood/runaway/museum.cpp
engines/hollywood/runaway/saveload.cpp
engines/hollywood/runaway/saveload.h
engines/hollywood/runaway/scene.cpp
engines/hollywood/runaway/scene.h
engines/hollywood/runaway/scene2020.cpp
engines/hollywood/runaway/scene2060.cpp
engines/hollywood/runaway/scene2080.cpp
engines/hollywood/runaway/scene4030.cpp
engines/hollywood/runaway/scene4030.h
engines/hollywood/runaway/scene4050.cpp
engines/hollywood/runaway/scene4050.h
engines/hollywood/runaway/scene4060.cpp
engines/hollywood/runaway/scene4060.h
engines/hollywood/runaway/scene4070.cpp
engines/hollywood/runaway/scene4090.cpp
engines/hollywood/runaway/scene4090.h
engines/hollywood/runaway/scene4100.cpp
engines/hollywood/runaway/scene5010.cpp
engines/hollywood/runaway/scene5020.cpp
engines/hollywood/runaway/scene5050.cpp
engines/hollywood/runaway/scene5060.cpp
engines/hollywood/runaway/scene5070.cpp
engines/hollywood/runaway/scene5080.cpp
engines/hollywood/runaway/scene5100.cpp
engines/hollywood/runaway/scene5110.cpp
engines/hollywood/runaway/scene5160.cpp
engines/hollywood/runaway/scene5170.cpp
engines/hollywood/runaway/scene6080.cpp
engines/hollywood/runaway/scene6090.cpp
engines/hollywood/runaway/scene6130.cpp
engines/hollywood/runaway/scene6180.cpp
engines/hollywood/runaway/scene6190.cpp
engines/hollywood/runaway/scene6200.cpp
engines/hollywood/runaway/scene6210.cpp
engines/hollywood/runaway/scene6220.cpp
engines/hollywood/runaway/scene6226.cpp
engines/hollywood/runaway/scene6240.cpp
engines/hollywood/runaway/scene6250.cpp
engines/hollywood/runaway/scene6260.cpp
engines/hollywood/runaway/scene6263.cpp
engines/hollywood/runaway/scene6280.cpp
engines/hollywood/runaway/scene6290.cpp
engines/hollywood/runaway/scene6300.cpp
engines/hollywood/runaway/scene6350.cpp
engines/hollywood/runaway/scene7020.cpp
engines/hollywood/runaway/scene7030.cpp
engines/hollywood/runaway/scene7040.cpp
engines/hollywood/runaway/scene7050.cpp
engines/hollywood/runaway/scene8090.cpp
engines/hollywood/runaway/scene8130.cpp
engines/hollywood/runaway/scene8180.cpp
engines/hollywood/runaway/scene8190.cpp
engines/hollywood/runaway/scene8200.cpp
engines/hollywood/runaway/scene8210.cpp
engines/hollywood/runaway/scene8220.cpp
engines/hollywood/runaway/scene8226.cpp
engines/hollywood/runaway/scene8240.cpp
engines/hollywood/runaway/scene8260.cpp
engines/hollywood/runaway/scene8263.cpp
engines/hollywood/runaway/scene8300.cpp
engines/hollywood/runaway/scene8350.cpp
engines/hollywood/runaway/scene8370.cpp
engines/hollywood/runaway/scene8380.cpp
engines/hollywood/runaway/scene8400.cpp
engines/hollywood/runaway/scene8410.cpp
engines/hollywood/runaway/scene_data.h
engines/hollywood/runaway/ui.cpp
engines/hollywood/runaway/ui.h
diff --git a/engines/hollywood/runaway/engine.cpp b/engines/hollywood/runaway/engine.cpp
index c0b89d6c7a3..b8dbc184df3 100644
--- a/engines/hollywood/runaway/engine.cpp
+++ b/engines/hollywood/runaway/engine.cpp
@@ -123,9 +123,10 @@ Common::Point RunawayEngine::updateUI(uint32 now) {
const bool presentation = _scene->playingVideo();
const Common::Point mouse = _presentationMouse.update(presentation);
if (!presentation) {
+ const byte hotspot = _scene->hotspotAt(mouse);
_ui->setDialogueChoices(_scene->dialogueChoices());
- _ui->update(now, mouse, _scene->hotspotAt(mouse), sceneBusy(), _scene->speaking(),
- _scene->inventoryPresentation(), _scene->speechFrame(), _scene->hasVerbControls());
+ _ui->update(now, mouse, hotspot, sceneBusy(), _scene->speaking(),
+ _scene->inventoryPresentation(), _scene->speechFrame(), _scene->hasVerbControls(), _scene->exitCursor(hotspot));
}
return mouse;
}
@@ -231,8 +232,9 @@ Common::Error RunawayEngine::changeScene() {
_scene->resume();
updateSoundListener();
_pendingDoorClose = transition.door;
- if (transition.door)
- _audio.playEffect(3);
+ if (transition.door) {
+ _audio.playEffect(_museum ? 3 : 58);
+ }
return Common::kNoError;
}
@@ -458,7 +460,7 @@ Common::Error RunawayEngine::run() {
// Museum doors close once the opening sound finishes, across the room change.
if (_pendingDoorClose && !_audio.effectPlaying()) {
_pendingDoorClose = false;
- _audio.playEffect(4);
+ _audio.playEffect(_museum ? 4 : 59);
}
updateUI(now);
if (_scene->playingVideo()) {
diff --git a/engines/hollywood/runaway/museum.cpp b/engines/hollywood/runaway/museum.cpp
index cda4e149db2..f8c64ddace6 100644
--- a/engines/hollywood/runaway/museum.cpp
+++ b/engines/hollywood/runaway/museum.cpp
@@ -137,7 +137,8 @@ void RunawayRoomScene::startMuseumFilm(MuseumFilm film) {
_filmCommands = {{S::kOpen, 2}, {S::kEffect, 49, 204}, {S::kPlay, 0, 135}};
break;
case kLaserFilm:
- _filmCommands = {{S::kOpen, 3}, {S::kMusic, 22, 255}, {S::kEffect, 50, 204}, {S::kPlay, 0, 175}, {S::kMusic, 13, 255}};
+ _filmCommands = {{S::kOpen, 3}, {S::kMusic, 22, 255}, {S::kEffect, 50, 204}, {S::kPlay, 0, 127},
+ {S::kSpeech, 70, 0}, {S::kPlay, 128, 175}, {S::kMusic, 13, 255}};
break;
case kRubyFilm:
_filmCommands = {{S::kOpen, 4}, {S::kEffect, 51, 230}, {S::kPlay, 0, 75}};
diff --git a/engines/hollywood/runaway/saveload.cpp b/engines/hollywood/runaway/saveload.cpp
index 12105ecaedc..868d7077fdc 100644
--- a/engines/hollywood/runaway/saveload.cpp
+++ b/engines/hollywood/runaway/saveload.cpp
@@ -380,6 +380,9 @@ void RunawaySaveState::sync(Common::Serializer &s) {
s.syncAsByte(finale.trailerInteriorVisited, 25);
s.syncAsByte(finale.ginaVisited, 26);
s.syncAsByte(finale.ginaMediumDiscussed, 26);
+ s.syncAsByte(museum.officeVisited, 27);
+ s.syncAsByte(museum.exhibitionVisited, 27);
+ s.syncAsByte(museum.phonePlanExplained, 27);
}
byte RunawaySaveState::chapter() const {
@@ -437,6 +440,7 @@ bool RunawaySaveState::valid() const {
if (museum.susan > 3 || museum.restoration > 2 || museum.laserUpgraded > 1 ||
museum.laserSeen > 1 || museum.shelvesSeen > 1 || museum.susanMet > 1 ||
museum.labVisited > 1 || museum.shelfBooksSeen > 1 || museum.safeUsed > 1 ||
+ museum.officeVisited > 1 || museum.exhibitionVisited > 1 || museum.phonePlanExplained > 1 ||
museum.willyMet > 2 || museum.batteryRequested > 1 || museum.coffeeMachine > 2 ||
museum.coffeeSeen > 1 || museum.basketSeen > 1 || museum.needsPackage > 1 ||
museum.needsGroundCoffee > 1 || museum.willyInLab > 2 || museum.keypad > 4 ||
@@ -578,7 +582,7 @@ bool RunawaySaveState::read(Common::SeekableReadStream &stream) {
if (stream.readUint32BE() != MKTAG('R', 'U', 'N', 'A'))
return false;
const uint16 version = stream.readUint16LE();
- if (version < 1 || version > 26)
+ if (version < 1 || version > 27)
return false;
Common::Serializer s(&stream, nullptr);
s.setVersion(version);
@@ -590,9 +594,9 @@ bool RunawaySaveState::write(Common::WriteStream &stream) {
if (!valid())
return false;
stream.writeUint32BE(MKTAG('R', 'U', 'N', 'A'));
- stream.writeUint16LE(26);
+ stream.writeUint16LE(27);
Common::Serializer s(nullptr, &stream);
- s.setVersion(26);
+ s.setVersion(27);
sync(s);
return !s.err();
}
diff --git a/engines/hollywood/runaway/saveload.h b/engines/hollywood/runaway/saveload.h
index 6c6071dca9f..8d2e8957d5c 100644
--- a/engines/hollywood/runaway/saveload.h
+++ b/engines/hollywood/runaway/saveload.h
@@ -40,6 +40,7 @@ struct RunawaySaveState {
struct Museum {
byte susan = 0, restoration = 0, laserUpgraded = 0, laserSeen = 0, shelvesSeen = 0;
byte susanMet = 0, labVisited = 0, shelfBooksSeen = 0, safeUsed = 0;
+ byte officeVisited = 0, exhibitionVisited = 0, phonePlanExplained = 0;
byte willyMet = 0, batteryRequested = 0, coffeeMachine = 0, coffeeSeen = 0;
byte basketSeen = 0, needsPackage = 0, needsGroundCoffee = 0, willyInLab = 0;
byte keypad = 0, sawCode = 0, phoneUsed = 0, voiceLockSeen = 0;
diff --git a/engines/hollywood/runaway/scene.cpp b/engines/hollywood/runaway/scene.cpp
index 818f9f37839..0199e2556d6 100644
--- a/engines/hollywood/runaway/scene.cpp
+++ b/engines/hollywood/runaway/scene.cpp
@@ -294,6 +294,11 @@ const RunawayHotspot *RunawayRoomScene::hotspot(byte id) const {
return _roomData && id && id < _roomData->hotspotCount ? &_roomData->hotspots[id] : nullptr;
}
+byte RunawayRoomScene::exitCursor(byte id) const {
+ const RunawayHotspot *target = hotspot(id);
+ return target ? target->exitCursor : 0;
+}
+
byte RunawayRoomScene::hotspotAt(Common::Point mouse) const {
if (mouse.x < 0 || mouse.x >= kRunawayScreenWidth || mouse.y < kRunawayViewportTop ||
mouse.y >= kRunawayViewportTop + kRunawayViewportHeight)
@@ -729,7 +734,11 @@ void RunawayRoomScene::updateActor(uint elapsed, int scrollDirection, bool inven
headFrame = speaking() && !speaker() ? speechFrame() : idle ? _idleHead.frame() : -1;
}
}
- _actor.setFrame(_facing, walking ? 1 + (_walkElapsed / 60) % 12 : 0, headFrame);
+ if (_actionUsesActor && _roomAction && !_actionFrames.empty() && !walking && !speaking()) {
+ _actor.setActionFrame(_actionFrames[_actionStep]);
+ } else {
+ _actor.setFrame(_facing, walking ? 1 + (_walkElapsed / 60) % 12 : 0, headFrame);
+ }
if (scrollDirection) {
setCameraX(_camera.x + scrollDirection * MAX<int>(1, elapsed / (_fastScrolling ? 2 : 4)));
} else if (walking) {
@@ -793,11 +802,26 @@ void RunawayRoomScene::drawForeground(Graphics::ManagedSurface &viewport, uint l
}
void RunawayRoomScene::beginRoomAnimation(uint16 action, uint chunk, uint frames, const byte *order, uint count, bool hideActor, uint frameDuration) {
- assert(frameDuration);
if (!_actionAnimation.load(_archive, chunk, frames))
error("Cannot load Runaway room %u animation %u", _room, chunk);
+ beginAnimation(action, frames, order, count, hideActor, frameDuration);
+}
+
+void RunawayRoomScene::beginActorAnimation(uint16 action, uint bank, uint frames, uint count, uint frameDuration) {
+ assert(count <= frames);
+ if (!_actor.loadAction(bank, frames)) {
+ error("Cannot load Runaway actor animation %u", bank);
+ }
+ beginAnimation(action, count ? count : frames, nullptr, 0, false, frameDuration);
+ _actionUsesActor = true;
+ _actor.setActionFrame(0);
+}
+
+void RunawayRoomScene::beginAnimation(uint16 action, uint frames, const byte *order, uint count, bool hideActor, uint frameDuration) {
+ assert(frameDuration);
_actionFrames.clear();
_secondaryFrames.clear();
+ _actionUsesActor = false;
_actionHoldSpeech = false;
_actionLoopSpeech = false;
for (uint i = 0; i < (order ? count : frames); ++i)
diff --git a/engines/hollywood/runaway/scene.h b/engines/hollywood/runaway/scene.h
index 2007ae7f5b1..7943545327b 100644
--- a/engines/hollywood/runaway/scene.h
+++ b/engines/hollywood/runaway/scene.h
@@ -60,6 +60,8 @@ public:
virtual Graphics::ManagedSurface &screen() = 0;
byte hotspotAt(Common::Point mouse) const override = 0;
virtual bool hasVerbControls() const { return true; }
+ // Cursor tiles 4..7 are the four exit arrows; zero keeps the usual verbs.
+ virtual byte exitCursor(byte hotspot) const { return 0; }
virtual Common::U32String actionCaption(byte hotspot, RunawayVerb verb, byte item) const = 0;
virtual const Common::U32String &committedCaption() const = 0;
virtual const Common::U32String &subtitle() const = 0;
@@ -108,6 +110,7 @@ public:
int roomWidth() const override { return _background.w; }
Graphics::ManagedSurface &screen() override { return _screen; }
byte hotspotAt(Common::Point mouse) const override;
+ byte exitCursor(byte id) const override;
Common::U32String actionCaption(byte hotspot, RunawayVerb verb, byte item) const override;
const Common::U32String &committedCaption() const override { return _caption; }
const Common::U32String &subtitle() const override;
@@ -193,11 +196,13 @@ protected:
void changeFloor(bool upper, Common::Point position);
void updateCamera();
void beginRoomAnimation(uint16 action, uint chunk, uint frames, const byte *order = nullptr, uint count = 0, bool hideActor = true, uint frameDuration = 80);
+ void beginActorAnimation(uint16 action, uint bank, uint frames, uint count = 0, uint frameDuration = 60);
+ void beginAnimation(uint16 action, uint frames, const byte *order, uint count, bool hideActor, uint frameDuration);
void beginRoomAnimationRange(uint16 action, uint chunk, uint frames, uint first, uint last, bool hideActor = true, uint frameDuration = 80);
void holdRoomAnimation(uint16 action, uint chunk, uint frames, uint frame, bool hideActor = true);
void loopRoomAnimationDuringSpeech(uint16 action, uint chunk, uint frames, uint first, uint last, bool hideActor = true);
void setRoomAnimationOverlay(uint chunk, uint frames, const byte *order, uint count);
- bool drawingRoomAnimation() const { return _roomAction && !_actionFrames.empty() && (_actionHoldSpeech || !speaking()) && !_walkPath.active(); }
+ bool drawingRoomAnimation() const { return !_actionUsesActor && _roomAction && !_actionFrames.empty() && (_actionHoldSpeech || !speaking()) && !_walkPath.active(); }
void updateRoomAnimation();
virtual float actorHeight() const { return 455; }
virtual float actorWalkSpeed() const { return 0.18f * actorHeight() / 455; }
@@ -329,6 +334,7 @@ protected:
bool _entering = false;
uint16 _roomAction = 0;
bool _actionHidesActor = true;
+ bool _actionUsesActor = false;
bool _actionHoldSpeech = false;
bool _actionLoopSpeech = false;
byte _actionStage = 0;
diff --git a/engines/hollywood/runaway/scene2020.cpp b/engines/hollywood/runaway/scene2020.cpp
index a85d09d2031..d63c56171b5 100644
--- a/engines/hollywood/runaway/scene2020.cpp
+++ b/engines/hollywood/runaway/scene2020.cpp
@@ -31,7 +31,7 @@ namespace {
// RESOURCE.B02; approach points and action IDs from the retail room at 0x444aa0.
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1265, 546, 1, {301, 346}, {0, 1}, {1324, 530}}, // 1: Bathroom door.
+ {1265, 546, 1, {301, 346}, {0, 1}, {1324, 530}, 5}, // 1: Bathroom door.
{1075, 534, 7, {302, 303}, {0, 0}, {1040, 463}}, // 2: Gina.
{846, 453, 1, {304, 305}, {1, 1}, {902, 421}}, // 3: Glass.
{858, 453, 1, {306, 307}, {1, 1}, {902, 421}}, // 4: Package of pills.
@@ -54,7 +54,7 @@ const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {313, 532, 5, {351, 352}, {-1, 0}, {40, 599}}, // 23: Hallway door.
+ {313, 532, 5, {351, 352}, {-1, 0}, {40, 599}, 7}, // 23: Hallway door.
};
// Item IDs 1-19, then hotspot IDs in kHotspots order. Zero uses kItemActions.
diff --git a/engines/hollywood/runaway/scene2060.cpp b/engines/hollywood/runaway/scene2060.cpp
index 2db2fb0b460..47aae568f33 100644
--- a/engines/hollywood/runaway/scene2060.cpp
+++ b/engines/hollywood/runaway/scene2060.cpp
@@ -29,7 +29,7 @@ namespace {
// RESOURCE.B06; the storeroom reached across the ledge (native 0x4478e0).
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {419, 546, 7, {301, 302}, {1, 1}, {419, 544}}, // 1: Window.
+ {419, 546, 7, {301, 302}, {1, 1}, {419, 544}, 4}, // 1: Window.
{419, 546, 7, {304, 305}, {0, 0}, {419, 544}}, // 2: Radiator.
{347, 563, 7, {306, 307}, {1, 1}, {284, 521}}, // 3: Box.
{347, 563, 7, {308, 309}, {0, 1}, {292, 521}}, // 4: Spray can.
diff --git a/engines/hollywood/runaway/scene2080.cpp b/engines/hollywood/runaway/scene2080.cpp
index 3c63c676101..08e96c95a26 100644
--- a/engines/hollywood/runaway/scene2080.cpp
+++ b/engines/hollywood/runaway/scene2080.cpp
@@ -32,7 +32,7 @@ const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
{526, 441, 1, {301, 302}, {0, 1}, {595, 423}}, // 1: Wastebasket.
{587, 471, 1, {309, 310}, {0, 0}, {682, 439}}, // 2: Faucet.
- {50, 586, 5, {308, 303}, {0, 2}, {0, 580}}, // 3: Door.
+ {50, 586, 5, {308, 303}, {0, 2}, {0, 580}, 7}, // 3: Door.
{577, 466, 1, {305, 306}, {1, 1}, {647, 429}}, // 4: Bottle.
{442, 377, 0, {311, 312}, {0, 0}, {442, 377}}, // 5: Sign.
{490, 372, 0, {313, 314}, {0, 0}, {490, 372}}, // 6: Pipe.
diff --git a/engines/hollywood/runaway/scene4030.cpp b/engines/hollywood/runaway/scene4030.cpp
index 09397ad8384..789259eeb94 100644
--- a/engines/hollywood/runaway/scene4030.cpp
+++ b/engines/hollywood/runaway/scene4030.cpp
@@ -28,7 +28,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1165, 594, 2, {322, 301}, {0, 0}, {1165, 594}}, // 1: Door.
+ {1165, 594, 2, {322, 301}, {0, 0}, {1165, 594}, 6}, // 1: Door.
{355, 595, 1, {302, 303}, {0, 1}, {430, 546}}, // 2: Pair of books.
{355, 595, 1, {304, 305}, {1, 0}, {430, 546}}, // 3: Crack.
{550, 647, 7, {306, 307}, {1, 0}, {492, 600}}, // 4: Money.
@@ -116,7 +116,7 @@ void Scene4030::applyCustomHotspotState() {
id = 0;
}
if (!_safeOpen && (id == 4 || id == 5 || id == 6 || id == 8)) {
- id = 0;
+ id = museumChapter() && _museum.safeUsed ? 8 : 0;
} else if (_safeOpen && id == 8) {
id = 0;
}
@@ -126,6 +126,13 @@ void Scene4030::applyCustomHotspotState() {
}
}
+void Scene4030::runCustomEntrySequence() {
+ if (!_museum.officeVisited) {
+ _museum.officeVisited = 1;
+ say(0);
+ }
+}
+
void Scene4030::drawCustomForegroundComposite(Graphics::ManagedSurface &viewport) {
const byte zone = walkZone();
if (zone == 3) {
diff --git a/engines/hollywood/runaway/scene4030.h b/engines/hollywood/runaway/scene4030.h
index fb5294690b9..01851d6c631 100644
--- a/engines/hollywood/runaway/scene4030.h
+++ b/engines/hollywood/runaway/scene4030.h
@@ -36,6 +36,7 @@ private:
bool loadCustomResources() override;
bool applyCustomBackgroundPatches() override;
void applyCustomHotspotState() override;
+ void runCustomEntrySequence() override;
void drawCustomForegroundComposite(Graphics::ManagedSurface &viewport) override;
ActionResult dispatchCustomSceneAction(uint16 action) override;
void finishCustomAnimation(uint16 action) override;
diff --git a/engines/hollywood/runaway/scene4050.cpp b/engines/hollywood/runaway/scene4050.cpp
index 58ce733e176..6b6c2f2813f 100644
--- a/engines/hollywood/runaway/scene4050.cpp
+++ b/engines/hollywood/runaway/scene4050.cpp
@@ -46,7 +46,7 @@ const byte kGrindCoffee[] = {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {227, 503, 7, {301, 339}, {0, 1}, {192, 484}}, // 1: Door.
+ {227, 503, 7, {301, 339}, {0, 1}, {192, 484}, 4}, // 1: Door.
{311, 493, 7, {302, 303}, {0, 0}, {291, 470}}, // 2: Shelves.
{382, 529, 1, {304, 305}, {0, 1}, {490, 508}}, // 3: Susan.
{395, 529, 1, {306, 307}, {0, 0}, {406, 493}}, // 4: Electric lathe.
@@ -120,7 +120,7 @@ const RunawayRoom kRunawayScene4050 = {
namespace Runaway {
Scene4050::Scene4050(RunawayAudio &audio, RunawayInventory &inventory, const RunawayStrings &strings, RunawayGameType game) :
- RunawayRoomScene(audio, inventory, strings, game) {}
+ RunawayRoomScene(audio, inventory, strings, game), _susanSpeech(audio, _random, RunawaySpeech::kRecordedLipSync) {}
const char *Scene4050::actionCaptionVariant(byte id, bool look, byte item) const {
if (item == 14 && id == 4) {
@@ -216,10 +216,14 @@ void Scene4050::resumeAmbientAudio(bool entering) {
}
void Scene4050::advanceCustomGameplayLoop(uint32 delta) {
+ if (_susanSpeech.finished(_now) || busy() || _inventoryOpen || _museum.susan != 1) {
+ stopAmbientSpeech();
+ }
+ const bool complaining = !_susanSpeech.subtitle().empty();
if (_museum.susan >= 2) {
_susanFrame = 1;
- } else if (speaker()) {
- _susanFrame = (_museum.susan == 1 ? 52 : 45) + speechFrame();
+ } else if (speaker() || complaining) {
+ _susanFrame = (_museum.susan == 1 ? 52 : 45) + (complaining ? _susanSpeech.frame(_now) : speechFrame());
_susanTalking = true;
_susanTick = _now;
} else if (_susanTalking) {
@@ -238,10 +242,23 @@ void Scene4050::advanceCustomGameplayLoop(uint32 delta) {
void Scene4050::advanceSusanIdle() {
if (_museum.susan == 1) {
- if (_susanFrame == 33 || _susanFrame == 83) {
- _susanFrame = _random.getRandomBit() ? 0 : 84;
- } else if (_susanFrame == 101) {
- _susanFrame = 0;
+ const bool idle = !busy() && !_walkPath.active() && !_inventoryOpen;
+ if (_susanFrame == 33 || _susanFrame == 83 || _susanFrame == 101) {
+ if (idle && _camera.x > 22 && !_random.getRandomNumber(7)) {
+ _susanFrame = 34;
+ } else {
+ _susanFrame = _susanFrame == 101 || _random.getRandomBit() ? 0 : 84;
+ }
+ } else if (_susanFrame == 51) {
+ _susanFrame = 79;
+ if (idle) {
+ const SceneSpeechCue cue = _text.stageCue(33, _random.getRandomNumber(3));
+ if (cue.valid()) {
+ _susanSpeech.start(Common::U32String(_text.largeTextRecord(cue.textRecordId), Common::kDos850), cue.voiceSampleId, false, _now);
+ _susanFrame = 52;
+ _susanTalking = true;
+ }
+ }
} else {
++_susanFrame;
}
@@ -267,6 +284,19 @@ void Scene4050::advanceSusanIdle() {
}
}
+void Scene4050::stopAmbientSpeech() {
+ if (!_susanSpeech.subtitle().empty()) {
+ _susanSpeech.stop();
+ }
+}
+
+const Common::U32String &Scene4050::subtitle() const {
+ if (!_sequence.active() && !speaking() && !_susanSpeech.subtitle().empty()) {
+ return _susanSpeech.subtitle();
+ }
+ return RunawayRoomScene::subtitle();
+}
+
void Scene4050::drawCustomBackgroundComposite(Graphics::ManagedSurface &viewport) {
const bool movingSusan = museumChapter() && drawingRoomAnimation() &&
(_roomAction == 450 || _roomAction == 451 || _roomAction == 452 || _roomAction == 331 || _roomAction == 454);
@@ -421,8 +451,8 @@ RunawayRoomScene::ActionResult Scene4050::dispatchCustomSceneAction(uint16 actio
_museum.talcSeen = 1;
return kHandled;
case 339: // Leave the laboratory.
- _museum.leftLabOnce = 1;
- leaveMuseumRoom(4061, Common::Point(873, 311), 3, true);
+ // Alternate actor bank for the northwest-facing door handle gesture.
+ beginActorAnimation(339, 70, 11, 6);
return kHandled;
default:
break;
@@ -463,6 +493,10 @@ RunawayRoomScene::ActionResult Scene4050::dispatchCustomSceneAction(uint16 actio
void Scene4050::finishCustomAnimation(uint16 action) {
switch (action) {
+ case 339: // Return to the hall after opening the door.
+ _museum.leftLabOnce = 1;
+ leaveMuseumRoom(4061, Common::Point(873, 311), 3, true);
+ break;
case 326: // Leave the crucifix and collect the Mayan object.
_inventory.remove(7);
_inventory.add(8);
diff --git a/engines/hollywood/runaway/scene4050.h b/engines/hollywood/runaway/scene4050.h
index 1d604c952e9..d78e87f7b62 100644
--- a/engines/hollywood/runaway/scene4050.h
+++ b/engines/hollywood/runaway/scene4050.h
@@ -30,6 +30,7 @@ namespace Runaway {
class Scene4050 : public RunawayRoomScene {
public:
Scene4050(RunawayAudio &audio, RunawayInventory &inventory, const RunawayStrings &strings, RunawayGameType game);
+ const Common::U32String &subtitle() const override;
private:
const char *actionCaptionVariant(byte id, bool look, byte item) const override;
@@ -39,6 +40,7 @@ private:
void prepareCustomGameplayLoop() override;
void runCustomEntrySequence() override;
void resumeAmbientAudio(bool entering) override;
+ void stopAmbientSpeech() override;
void advanceCustomGameplayLoop(uint32 delta) override;
void drawCustomBackgroundComposite(Graphics::ManagedSurface &viewport) override;
void drawCustomForegroundComposite(Graphics::ManagedSurface &viewport) override;
@@ -56,6 +58,7 @@ private:
void advanceSusanIdle();
RunawayAnimation _susanAnimation, _susanLegsAnimation, _susanBenchPatch;
+ RunawaySpeech _susanSpeech;
byte _susanFrame = 0;
byte _susanWorkCycles = 0;
bool _susanTalking = false;
diff --git a/engines/hollywood/runaway/scene4060.cpp b/engines/hollywood/runaway/scene4060.cpp
index afe76f09b40..2068a547de4 100644
--- a/engines/hollywood/runaway/scene4060.cpp
+++ b/engines/hollywood/runaway/scene4060.cpp
@@ -37,21 +37,21 @@ const byte kCoffeeCupFrames[] = {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {-25, 319, 7, {301, 302}, {0, 1}, {68, 371}}, // 1: Stairs.
+ {-25, 319, 7, {301, 302}, {0, 1}, {68, 371}, 7}, // 1: Stairs.
{218, 379, 7, {321, 322}, {1, 1}, {180, 245}}, // 2: Coffee machines.
- {607, 323, 7, {311, 312}, {0, 1}, {606, 322}}, // 3: Clive's office door.
+ {607, 323, 7, {311, 312}, {0, 1}, {606, 322}, 4}, // 3: Clive's office door.
{696, 319, 7, {332, 333}, {0, 0}, {676, 164}}, // 4: Fire extinguisher.
{696, 319, 7, {313, 314}, {1, 1}, {668, 280}}, // 5: Wastepaper basket.
- {873, 311, 7, {315, 316}, {0, 1}, {872, 310}}, // 6: Door to the restoration laboratory.
+ {873, 311, 7, {315, 316}, {0, 1}, {872, 310}, 4}, // 6: Door to the restoration laboratory.
{1118, 309, 7, {317, 318}, {1, 1}, {1094, 299}}, // 7: Security door.
{1153, 297, 7, {319, 320}, {1, 1}, {1152, 296}}, // 8: Panel.
- {1220, 280, 7, {301, 303}, {0, 1}, {1279, 290}}, // 9: Stairs.
+ {1220, 280, 7, {301, 303}, {0, 1}, {1279, 290}, 7}, // 9: Stairs.
{1473, 312, 7, {324, 325}, {0, 1}, {1440, 188}}, // 10: Telephone.
{1596, 351, 1, {326, 327}, {0, 0}, {1694, 186}}, // 11: Display case.
- {140, 504, 7, {304, 305}, {0, 1}, {206, 618}}, // 12: Stairs.
- {1085, 411, 7, {304, 306}, {0, 1}, {1140, 446}}, // 13: Stairs.
+ {140, 504, 7, {304, 305}, {0, 1}, {206, 618}, 4}, // 12: Stairs.
+ {1085, 411, 7, {304, 306}, {0, 1}, {1140, 446}, 4}, // 13: Stairs.
{921, 813, 7, {307, 308}, {0, 1}, {840, 730}}, // 14: Maintenance worker.
- {1588, 506, 7, {309, 310}, {0, 1}, {1610, 450}}, // 15: Mayan exhibition.
+ {1588, 506, 7, {309, 310}, {0, 1}, {1610, 450}, 5}, // 15: Mayan exhibition.
{711, 797, 7, {328, 329}, {1, 0}, {670, 726}}, // 16: Plaque.
{1060, 730, 7, {330, 331}, {1, 0}, {984, 638}}, // 17: Plaque.
};
@@ -137,6 +137,13 @@ namespace Runaway {
Scene4060::Scene4060(RunawayAudio &audio, RunawayInventory &inventory, const RunawayStrings &strings, RunawayGameType game) :
RunawayRoomScene(audio, inventory, strings, game) {}
+byte Scene4060::exitCursor(byte id) const {
+ if (id == 7) {
+ return _museum.keypad == 4 ? 4 : 0;
+ }
+ return RunawayRoomScene::exitCursor(id);
+}
+
const char *Scene4060::actionCaptionVariant(byte id, bool look, byte item) const {
if (!look && !item) {
if (id == 1 || id == 9 || id == 12 || id == 13) {
@@ -196,8 +203,14 @@ void Scene4060::runCustomEntrySequence() {
if (_museum.keypad == 1) {
say(26, 2);
} else if (_museum.keypad == 4) {
- leaveMuseumRoom(4100, Common::Point(141, 468), 3);
+ finishCustomAnimation(470);
}
+ } else if (_entryScene == 4062) {
+ beginRoomAnimationRange(473, 4, 13, 12, 0, false);
+ _audio.playEffectAt(32, Common::Point(1138, 200), 204);
+ } else if (_entryScene == 4061 && _museum.susan == 2) {
+ say(40);
+ deferMuseumAction(316);
}
}
@@ -227,6 +240,11 @@ RunawayRoomScene::ActionResult Scene4060::dispatchCustomSceneAction(uint16 actio
case 308: // Talk to Willy.
leaveMuseumRoom(4070, Common::Point(548, 580), 7);
return kHandled;
+ case 312: // Open Clive's office door.
+ case 316: // Open the restoration laboratory door.
+ // RESOURCE.001 bank 64: reach for the handle, facing northwest.
+ beginActorAnimation(action, 64, 11, 6);
+ return kHandled;
case 313: // Look in the wastepaper basket.
if (!_museum.basketSeen) {
say(6);
@@ -252,15 +270,18 @@ RunawayRoomScene::ActionResult Scene4060::dispatchCustomSceneAction(uint16 actio
say(9, _museum.analysisDoorSeen);
_museum.analysisDoorSeen = 1;
return kHandled;
- case 318: // Enter the analysis laboratory.
+ case 318: { // Enter the code to open the analysis laboratory.
if (_museum.keypad != 4) {
say(13);
- } else if (_inventory.museum().restoredCrucifix) {
- startMuseumFilm(kMuseumExitFilm);
} else {
- leaveMuseumRoom(4100, Common::Point(141, 468));
+ static const byte frames[] = {
+ 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
+ 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
+ };
+ beginRoomAnimation(470, 10, 19, frames, ARRAYSIZE(frames));
}
return kHandled;
+ }
case 320: // Examine the keypad close up.
if (_museum.willyInLab == 1) {
say(15, 5);
@@ -288,6 +309,11 @@ RunawayRoomScene::ActionResult Scene4060::dispatchCustomSceneAction(uint16 actio
if (!_inventory.contains(13)) {
say(15);
} else if (_museum.willyInLab == 1) {
+ if (!_museum.phoneUsed && !_museum.phonePlanExplained) {
+ _museum.phonePlanExplained = 1;
+ say(15, 1);
+ say(15, 8);
+ }
say(15, 7);
} else if (_museum.keypad > 1) {
say(15, 6);
@@ -368,6 +394,28 @@ RunawayRoomScene::ActionResult Scene4060::dispatchCustomSceneAction(uint16 actio
void Scene4060::finishCustomAnimation(uint16 action) {
switch (action) {
+ case 312: // Enter Clive's office after opening the door.
+ leaveMuseumRoom(4030, Common::Point(934, 563), 3, true);
+ break;
+ case 316: // Enter the restoration laboratory after opening the door.
+ leaveMuseumRoom(4050, Common::Point(382, 529), 3, true);
+ break;
+ case 470: // Open the unlocked security door.
+ beginRoomAnimation(471, 4, 13, nullptr, 0, false);
+ _audio.playEffectAt(32, Common::Point(1138, 200), 204);
+ break;
+ case 471: // Keep the door open while Brian walks through it.
+ _actionAnimation.draw(_background, 12, 0, 0);
+ walkTo(Common::Point(980, 275), 7, true);
+ deferMuseumAction(472);
+ break;
+ case 472: // Enter the analysis laboratory or start the museum escape.
+ if (_inventory.museum().restoredCrucifix) {
+ startMuseumFilm(kMuseumExitFilm);
+ } else {
+ leaveMuseumRoom(4100, Common::Point(141, 468));
+ }
+ break;
case 460: // Willy approaches the security door.
_camera.y = 0;
beginRoomAnimationRange(461, 16, 216, 0, 178, false);
@@ -391,9 +439,17 @@ void Scene4060::finishCustomAnimation(uint16 action) {
break;
case 466: // React to Willy entering the code.
updateCamera();
- say(_museum.sawCode == 1 ? 38 : 15, _museum.sawCode == 1 ? 2 : 5);
+ if (_museum.sawCode == 1) {
+ say(38, 2);
+ } else {
+ walkTo(Common::Point(1474, 312), 5, true);
+ deferMuseumAction(475);
+ }
updateMaps();
break;
+ case 475: // Come out of hiding after the telephone distraction.
+ say(15, 5);
+ break;
case 462: // Follow Willy to the coffee machine.
say(36, 4);
walkTo(Common::Point(140, 504), 7, true);
@@ -414,6 +470,11 @@ void Scene4060::finishCustomAnimation(uint16 action) {
case 325: // Start the telephone conversation.
startMuseumFilm(kPhoneFilm);
break;
+ case 474: // Hide after putting down the telephone.
+ say(15, 4);
+ walkTo(Common::Point(1440, 271), 7, true);
+ deferMuseumAction(460);
+ break;
case 337: // Show the varnished keypad.
_museum.keypad = 1;
leaveMuseumRoom(4141, Common::Point(382, 529));
@@ -428,6 +489,8 @@ void Scene4060::finishCustomAnimation(uint16 action) {
void Scene4060::handleAnimationFrameHook() {
if (_roomAction == 461 && _actionStep == 156) {
_audio.playEffect(29);
+ } else if (_roomAction == 470 && _actionStep == 7) {
+ _audio.playEffectAt(29, Common::Point(1138, 200));
}
}
@@ -452,7 +515,7 @@ void Scene4060::finishCustomFilm() {
if (_museum.keypad == 1) {
_museum.keypad = 2;
}
- beginRoomAnimationRange(460, 13, 27, 26, 0);
+ beginRoomAnimationRange(474, 13, 27, 26, 0);
break;
case kMuseumExitFilm:
leaveMuseumRoom(4100, Common::Point(141, 468));
diff --git a/engines/hollywood/runaway/scene4060.h b/engines/hollywood/runaway/scene4060.h
index 406cbf516d6..5faac3f1b04 100644
--- a/engines/hollywood/runaway/scene4060.h
+++ b/engines/hollywood/runaway/scene4060.h
@@ -30,6 +30,7 @@ namespace Runaway {
class Scene4060 : public RunawayRoomScene {
public:
Scene4060(RunawayAudio &audio, RunawayInventory &inventory, const RunawayStrings &strings, RunawayGameType game);
+ byte exitCursor(byte id) const override;
private:
const char *actionCaptionVariant(byte id, bool look, byte item) const override;
diff --git a/engines/hollywood/runaway/scene4070.cpp b/engines/hollywood/runaway/scene4070.cpp
index 20f868994c5..7d7a2def25f 100644
--- a/engines/hollywood/runaway/scene4070.cpp
+++ b/engines/hollywood/runaway/scene4070.cpp
@@ -137,7 +137,11 @@ void Scene4070::finishCustomAnimation(uint16 action) {
deferMuseumAction(448);
break;
case 448: // Willy leaves the close-up.
- beginRoomAnimation(409, 6, 72, nullptr, 0, false);
+ beginRoomAnimation(458, 6, 72, nullptr, 0, false);
+ break;
+ case 458: // Comment after Willy leaves to fetch stock or refill the coffee machine.
+ holdRoomAnimation(409, 6, 72, 71, false);
+ say(_museum.willyInLab == 1 ? 38 : 36, _museum.willyInLab == 1 ? 0 : 2);
break;
case 409: // Return to the exhibition hall.
_upperFloor = false;
diff --git a/engines/hollywood/runaway/scene4090.cpp b/engines/hollywood/runaway/scene4090.cpp
index 688bb7115a3..4b13457ecef 100644
--- a/engines/hollywood/runaway/scene4090.cpp
+++ b/engines/hollywood/runaway/scene4090.cpp
@@ -28,7 +28,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1100, 204, 1, {302, 301}, {0, 3}, {1023, 251}}, // 1: Exhibition hall.
+ {1100, 204, 1, {302, 301}, {0, 3}, {1023, 251}, 5}, // 1: Exhibition hall.
{826, 442, 3, {303, 304}, {1, 0}, {838, 513}}, // 2: Statue.
{572, 420, 1, {305, 306}, {1, 0}, {657, 380}}, // 3: Statue.
{572, 420, 1, {307, 308}, {1, 1}, {657, 380}}, // 4: Mayan objects.
@@ -86,6 +86,13 @@ bool Scene4090::applyCustomBackgroundPatches() {
return !museumChapter() || !_museum.coffeeBeansTaken || applyPatch(4);
}
+void Scene4090::runCustomEntrySequence() {
+ if (!_museum.exhibitionVisited) {
+ _museum.exhibitionVisited = 1;
+ say(0);
+ }
+}
+
RunawayRoomScene::ActionResult Scene4090::dispatchCustomSceneAction(uint16 action) {
if (!museumChapter()) {
return kUnhandled;
diff --git a/engines/hollywood/runaway/scene4090.h b/engines/hollywood/runaway/scene4090.h
index 7b3ca425ce9..b3a6408da10 100644
--- a/engines/hollywood/runaway/scene4090.h
+++ b/engines/hollywood/runaway/scene4090.h
@@ -34,6 +34,7 @@ public:
private:
bool applyCustomBackgroundPatches() override;
+ void runCustomEntrySequence() override;
ActionResult dispatchCustomSceneAction(uint16 action) override;
float actorHeight() const override;
Common::U32String hotspotName(byte id) const override;
diff --git a/engines/hollywood/runaway/scene4100.cpp b/engines/hollywood/runaway/scene4100.cpp
index 199cebe76a6..bc463d6e3cb 100644
--- a/engines/hollywood/runaway/scene4100.cpp
+++ b/engines/hollywood/runaway/scene4100.cpp
@@ -42,7 +42,7 @@ const byte kFreezeBatteryFrames[] = {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {141, 468, 7, {301, 302}, {0, 1}, {43, 471}}, // 1: Door.
+ {141, 468, 7, {301, 302}, {0, 1}, {43, 471}, 4}, // 1: Door.
{196, 451, 1, {303, 304}, {0, 0}, {220, 420}}, // 2: First aid kit.
{310, 457, 0, {305, 306}, {1, 1}, {337, 425}}, // 3: Glass display case.
{204, 448, 1, {307, 308}, {1, 1}, {270, 421}}, // 4: Button.
@@ -229,8 +229,9 @@ RunawayRoomScene::ActionResult Scene4100::dispatchCustomSceneAction(uint16 actio
return kUnhandled;
}
switch (action) {
- case 302: // Return to the exhibition hall.
- leaveMuseumRoom(4062, Common::Point(1118, 309), 3);
+ case 302: // Open the security door to return to the hall.
+ beginRoomAnimation(450, 21, 13, nullptr, 0, false);
+ _audio.playEffectAt(32, Common::Point(43, 200));
return kHandled;
case 305: // Look inside the thermal chamber.
say(4, !_museum.cabinetSeen ? 0 : _museum.maskTaken ? 2 : 1);
@@ -330,6 +331,14 @@ RunawayRoomScene::ActionResult Scene4100::dispatchCustomSceneAction(uint16 actio
void Scene4100::finishCustomAnimation(uint16 action) {
switch (action) {
+ case 450: // Keep the security door open while Brian leaves.
+ _actionAnimation.draw(_background, 12, 0, 0);
+ walkTo(Common::Point(0, 465), 0xff, true);
+ deferMuseumAction(451);
+ break;
+ case 451: // Close the door from the hall side.
+ leaveMuseumRoom(4062, Common::Point(1095, 300), 3);
+ break;
case 340: // The voice lock asks for identification.
say(90, 0, false, 1);
deferMuseumAction(341);
diff --git a/engines/hollywood/runaway/scene5010.cpp b/engines/hollywood/runaway/scene5010.cpp
index 933334a0666..b5067467a97 100644
--- a/engines/hollywood/runaway/scene5010.cpp
+++ b/engines/hollywood/runaway/scene5010.cpp
@@ -27,12 +27,12 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {0, 0, 0, {1, 301}, {0, 0}, {0, 0}}, // 1: Unvisited Area.
- {0, 0, 0, {1, 302}, {0, 0}, {0, 0}}, // 2: Thugs' Cabin.
- {0, 0, 0, {1, 303}, {0, 0}, {0, 0}}, // 3: Unvisited Area.
- {0, 0, 0, {1, 304}, {0, 0}, {0, 0}}, // 4: Unvisited Area.
- {0, 0, 0, {1, 305}, {0, 0}, {0, 0}}, // 5: Unvisited Area.
- {0, 0, 0, {1, 306}, {0, 0}, {0, 0}}, // 6: Drag Queen Bus.
+ {0, 0, 0, {1, 301}, {0, 0}, {0, 0}, 4}, // 1: Unvisited Area.
+ {0, 0, 0, {1, 302}, {0, 0}, {0, 0}, 4}, // 2: Thugs' Cabin.
+ {0, 0, 0, {1, 303}, {0, 0}, {0, 0}, 5}, // 3: Unvisited Area.
+ {0, 0, 0, {1, 304}, {0, 0}, {0, 0}, 7}, // 4: Unvisited Area.
+ {0, 0, 0, {1, 305}, {0, 0}, {0, 0}, 5}, // 5: Unvisited Area.
+ {0, 0, 0, {1, 306}, {0, 0}, {0, 0}, 6}, // 6: Drag Queen Bus.
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}}, // 7: Oil Well.
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}}, // 8: Hangar.
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}}, // 9: Airplane Graveyard.
diff --git a/engines/hollywood/runaway/scene5020.cpp b/engines/hollywood/runaway/scene5020.cpp
index bb934c7ed33..2d98c17e96d 100644
--- a/engines/hollywood/runaway/scene5020.cpp
+++ b/engines/hollywood/runaway/scene5020.cpp
@@ -28,12 +28,12 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1123, 416, 3, {302, 301}, {0, 3}, {1123, 416}}, // 1: Path.
+ {1123, 416, 3, {302, 301}, {0, 3}, {1123, 416}, 6}, // 1: Path.
{456, 405, 7, {0, 1}, {0, 0}, {0, 0}},
{573, 400, 7, {304, 305}, {0, 0}, {533, 379}}, // 3: Rocking Chair.
{644, 397, 1, {310, 311}, {0, 0}, {677, 372}}, // 4: Tires.
{456, 405, 7, {306, 307}, {0, 0}, {428, 336}}, // 5: Door.
- {618, 386, 0, {308, 309}, {1, 1}, {623, 383}}, // 6: Trap Door.
+ {618, 386, 0, {308, 309}, {1, 1}, {623, 383}, 5}, // 6: Trap Door.
{605, 399, 7, {312, 313}, {1, 1}, {576, 384}}, // 7: Bucket.
};
diff --git a/engines/hollywood/runaway/scene5050.cpp b/engines/hollywood/runaway/scene5050.cpp
index 63d375da4d8..585dcdb8e9a 100644
--- a/engines/hollywood/runaway/scene5050.cpp
+++ b/engines/hollywood/runaway/scene5050.cpp
@@ -27,7 +27,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {-100, 510, 0, {302, 301}, {0, 1}, {0, 495}}, // 1: Path.
+ {-100, 510, 0, {302, 301}, {0, 1}, {0, 495}, 7}, // 1: Path.
{303, 534, 1, {303, 304}, {0, 1}, {341, 510}}, // 2: Helmet.
{251, 420, 1, {305, 306}, {0, 1}, {276, 406}}, // 3: Hanging Bullet Belt.
{251, 420, 1, {307, 308}, {0, 1}, {336, 337}}, // 4: Machine Gun.
diff --git a/engines/hollywood/runaway/scene5060.cpp b/engines/hollywood/runaway/scene5060.cpp
index 7f1b4ca87e4..ee03f93b273 100644
--- a/engines/hollywood/runaway/scene5060.cpp
+++ b/engines/hollywood/runaway/scene5060.cpp
@@ -45,10 +45,10 @@ const byte kMariolaRestFrames[] = {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1479, 599, 0, {301, 302}, {0, 1}, {1379, 587}}, // 1: Path.
+ {1479, 599, 0, {301, 302}, {0, 1}, {1379, 587}, 6}, // 1: Path.
{349, 442, 7, {303, 304}, {0, 1}, {238, 424}}, // 2: Lula.
{878, 477, 0, {305, 306}, {0, 0}, {866, 445}}, // 3: Mariola.
- {679, 448, 1, {307, 308}, {0, 1}, {710, 431}}, // 4: Inside Of The Bus.
+ {679, 448, 1, {307, 308}, {0, 1}, {710, 431}, 5}, // 4: Inside Of The Bus.
{376, 445, 1, {309, 310}, {1, 1}, {413, 417}}, // 5: Trunk.
{878, 477, 0, {311, 312}, {1, 1}, {840, 466}}, // 6: Bottle.
{383, 446, 5, {313, 314}, {0, 0}, {298, 476}}, // 7: Chair.
diff --git a/engines/hollywood/runaway/scene5070.cpp b/engines/hollywood/runaway/scene5070.cpp
index 19731d85c0a..08ec5871b72 100644
--- a/engines/hollywood/runaway/scene5070.cpp
+++ b/engines/hollywood/runaway/scene5070.cpp
@@ -27,7 +27,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1472, 495, 0, {302, 301}, {0, 1}, {1472, 495}}, // 1: Path.
+ {1472, 495, 0, {302, 301}, {0, 1}, {1472, 495}, 5}, // 1: Path.
{0, 0, 7, {1, 1}, {0, 0}, {0, 0}}, // 2: Mariola.
{1122, 509, 7, {305, 306}, {0, 0}, {1076, 456}}, // 3: Detonator.
{301, 264, 7, {307, 308}, {0, 0}, {230, 253}}, // 4: Oil Well.
diff --git a/engines/hollywood/runaway/scene5080.cpp b/engines/hollywood/runaway/scene5080.cpp
index 2b94377eee1..d01b5df9c95 100644
--- a/engines/hollywood/runaway/scene5080.cpp
+++ b/engines/hollywood/runaway/scene5080.cpp
@@ -28,14 +28,14 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {-100, 484, 7, {302, 301}, {0, 3}, {0, 504}}, // 1: Path.
+ {-100, 484, 7, {302, 301}, {0, 3}, {0, 504}, 4}, // 1: Path.
{103, 518, 1, {303, 304}, {1, 0}, {156, 494}}, // 2: Wooden Box.
{301, 478, 7, {305, 307}, {0, 1}, {243, 446}}, // 3: Shed.
{301, 478, 7, {306, 307}, {0, 1}, {243, 446}}, // 4: Door.
{301, 478, 7, {308, 309}, {0, 1}, {243, 446}}, // 5: Explosives.
{620, 357, 7, {310, 311}, {0, 0}, {557, 320}}, // 6: Water Tank.
{987, 378, 1, {312, 313}, {0, 1}, {1027, 350}}, // 7: Train Car.
- {987, 378, 1, {312, 313}, {1, 1}, {1027, 350}}, // 8: Train Car Interior.
+ {987, 378, 1, {312, 313}, {1, 1}, {1027, 350}, 5}, // 8: Train Car Interior.
{67, 512, 0, {316, 317}, {0, 0}, {66, 389}}, // 9: Ant-Hill.
{255, 546, 7, {318, 319}, {1, 0}, {212, 495}}, // 10: Sign.
{620, 357, 7, {320, 321}, {0, 0}, {610, 339}}, // 11: Ladder.
diff --git a/engines/hollywood/runaway/scene5100.cpp b/engines/hollywood/runaway/scene5100.cpp
index 69c4de7cc49..770487be94c 100644
--- a/engines/hollywood/runaway/scene5100.cpp
+++ b/engines/hollywood/runaway/scene5100.cpp
@@ -53,7 +53,7 @@ const byte kCanThrows[][2] = {{0, 19}, {21, 40}, {42, 71}, {72, 88}};
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1279, 267, 0, {301, 302}, {0, 1}, {1449, 255}}, // 1: Path.
+ {1279, 267, 0, {301, 302}, {0, 1}, {1449, 255}, 4}, // 1: Path.
{1259, 354, 7, {303, 304}, {1, 0}, {1101, 298}}, // 2: Barn Doors.
{0, 0, 0, {305, 306}, {1, 1}, {274, 484}}, // 3: Bottle.
{1279, 267, 4, {1, 302}, {0, 1}, {0, 0}}, // 4: Window.
diff --git a/engines/hollywood/runaway/scene5110.cpp b/engines/hollywood/runaway/scene5110.cpp
index 5539714d236..35ddd5d2f64 100644
--- a/engines/hollywood/runaway/scene5110.cpp
+++ b/engines/hollywood/runaway/scene5110.cpp
@@ -27,7 +27,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {327, 441, 7, {301, 302}, {0, 1}, {247, 373}}, // 1: Outside Of Train Car.
+ {327, 441, 7, {301, 302}, {0, 1}, {247, 373}, 4}, // 1: Outside Of Train Car.
{574, 434, 1, {303, 304}, {1, 0}, {618, 400}}, // 2: Barrels.
{801, 441, 3, {305, 306}, {0, 0}, {835, 467}}, // 3: Chain.
{517, 374, 0, {307, 308}, {0, 0}, {517, 353}}, // 4: Contraptions.
diff --git a/engines/hollywood/runaway/scene5160.cpp b/engines/hollywood/runaway/scene5160.cpp
index aa4195916a2..45c50f961cc 100644
--- a/engines/hollywood/runaway/scene5160.cpp
+++ b/engines/hollywood/runaway/scene5160.cpp
@@ -27,7 +27,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {556, 310, 0, {301, 302}, {0, 1}, {566, 252}}, // 1: Front Of The Bus.
+ {556, 310, 0, {301, 302}, {0, 1}, {566, 252}, 5}, // 1: Front Of The Bus.
{629, 403, 1, {303, 304}, {0, 0}, {755, 340}}, // 2: Refrigerator.
{578, 466, 5, {305, 306}, {0, 1}, {320, 559}}, // 3: Carla.
{488, 415, 5, {307, 308}, {0, 0}, {443, 527}}, // 4: Glass.
@@ -36,7 +36,7 @@ const RunawayHotspot kHotspots[] = {
{629, 403, 1, {315, 316}, {0, 0}, {755, 340}}, // 7: Bull.
{229, 475, 7, {317, 318}, {0, 0}, {171, 422}}, // 8: Painting.
{229, 475, 7, {313, 314}, {1, 1}, {171, 422}}, // 9: Needle And Thread.
- {556, 310, 0, {301, 302}, {0, 1}, {566, 252}}, // 10: Front Of The Bus.
+ {556, 310, 0, {301, 302}, {0, 1}, {566, 252}, 4}, // 10: Front Of The Bus.
};
const RunawayResponse kResponses[] = {
diff --git a/engines/hollywood/runaway/scene5170.cpp b/engines/hollywood/runaway/scene5170.cpp
index 73ccc52bc11..120e3c7e7b1 100644
--- a/engines/hollywood/runaway/scene5170.cpp
+++ b/engines/hollywood/runaway/scene5170.cpp
@@ -28,7 +28,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
{339, 512, 7, {301, 302}, {0, 0}, {113, 540}}, // 1: Outside Of The Bus.
- {666, 303, 0, {303, 304}, {0, 1}, {679, 290}}, // 2: Back Of The Bus.
+ {666, 303, 0, {303, 304}, {0, 1}, {679, 290}, 5}, // 2: Back Of The Bus.
{727, 436, 1, {305, 306}, {1, 1}, {800, 400}}, // 3: Right-Hand Shelf.
{649, 499, 4, {307, 308}, {0, 1}, {649, 500}}, // 4: Axle.
{113, 540, 5, {309, 310}, {-1, 1}, {71, 552}}, // 5: Pocket.
@@ -36,7 +36,7 @@ const RunawayHotspot kHotspots[] = {
{462, 448, 7, {313, 314}, {1, 1}, {424, 414}}, // 7: Item Under Bed.
{727, 436, 1, {315, 316}, {1, 0}, {800, 400}}, // 8: Middle Shelf.
{727, 436, 1, {317, 318}, {1, 0}, {800, 400}}, // 9: Left-Hand Shelf.
- {666, 303, 0, {303, 304}, {0, 1}, {679, 290}}, // 10: Back Of The Bus.
+ {666, 303, 0, {303, 304}, {0, 1}, {679, 290}, 4}, // 10: Back Of The Bus.
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}}, // 11: Door.
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}}, // 12: Pile Of Lipstick.
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}}, // 13: Makeshift Crank.
diff --git a/engines/hollywood/runaway/scene6080.cpp b/engines/hollywood/runaway/scene6080.cpp
index f38d5b38f55..c3c149e5b2c 100644
--- a/engines/hollywood/runaway/scene6080.cpp
+++ b/engines/hollywood/runaway/scene6080.cpp
@@ -28,7 +28,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {0, 550, 0, {301, 302}, {0, 3}, {-100, 550}}, // 1: Path.
+ {0, 550, 0, {301, 302}, {0, 3}, {-100, 550}, 7}, // 1: Path.
{95, 358, 7, {305, 306}, {0, 1}, {76, 335}}, // 2: Recipient.
{483, 318, 0, {303, 304}, {1, 1}, {483, 299}}, // 3: Hole that Gina fell into.
{656, 347, 1, {307, 308}, {0, 0}, {732, 337}}, // 4: Stone.
diff --git a/engines/hollywood/runaway/scene6090.cpp b/engines/hollywood/runaway/scene6090.cpp
index c8bb3c6ccb3..ecf86d7fa76 100644
--- a/engines/hollywood/runaway/scene6090.cpp
+++ b/engines/hollywood/runaway/scene6090.cpp
@@ -28,13 +28,13 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {910, 599, 3, {301, 302}, {0, 3}, {1023, 599}}, // 1: Oil well area.
- {686, 510, 0, {303, 304}, {0, -1}, {668, 390}}, // 2: Entrance to the house.
+ {910, 599, 3, {301, 302}, {0, 3}, {1023, 599}, 6}, // 1: Oil well area.
+ {686, 510, 0, {303, 304}, {0, -1}, {668, 390}, 4}, // 2: Entrance to the house.
{846, 509, 0, {305, 306}, {0, 0}, {837, 455}}, // 3: Sign.
{676, 510, 7, {307, 308}, {0, 1}, {517, 463}}, // 4: Big dude.
{244, 416, 7, {309, 310}, {0, 0}, {216, 394}}, // 5: Ladder.
{180, 446, 0, {312, 313}, {0, 1}, {180, 425}}, // 6: Vessel.
- {50, 599, 5, {315, 316}, {0, 3}, {0, 599}} // 7: Path.
+ {50, 599, 5, {315, 316}, {0, 3}, {0, 599}, 7} // 7: Path.
};
const RunawayResponse kResponses[] = {
diff --git a/engines/hollywood/runaway/scene6130.cpp b/engines/hollywood/runaway/scene6130.cpp
index 3cf824abddf..c33d4625b4b 100644
--- a/engines/hollywood/runaway/scene6130.cpp
+++ b/engines/hollywood/runaway/scene6130.cpp
@@ -27,8 +27,8 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {0, 599, 5, {301, 302}, {0, 3}, {-100, 599}}, // 1: Path.
- {402, 374, 1, {303, 304}, {0, 3}, {637, 237}}, // 2: House.
+ {0, 599, 5, {301, 302}, {0, 3}, {-100, 599}, 7}, // 1: Path.
+ {402, 374, 1, {303, 304}, {0, 3}, {637, 237}, 5}, // 2: House.
{491, 495, 3, {305, 306}, {0, 0}, {715, 540}}, // 3: Well.
{486, 519, 3, {307, 308}, {1, 1}, {527, 550}}, // 4: Stone.
{0, 0, 0, {309, 310}, {0, 0}, {323, 544}} // 5: Skull.
diff --git a/engines/hollywood/runaway/scene6180.cpp b/engines/hollywood/runaway/scene6180.cpp
index d9d3839e8a2..a814159d0fe 100644
--- a/engines/hollywood/runaway/scene6180.cpp
+++ b/engines/hollywood/runaway/scene6180.cpp
@@ -27,8 +27,8 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {202, 526, 7, {301, 302}, {0, 3}, {189, 517}}, // 1: Street.
- {780, 527, 1, {303, 304}, {0, -1}, {1023, 519}}, // 2: Inside the saloon.
+ {202, 526, 7, {301, 302}, {0, 3}, {189, 517}, 4}, // 1: Street.
+ {780, 527, 1, {303, 304}, {0, -1}, {1023, 519}, 5}, // 2: Inside the saloon.
{405, 427, 7, {305, 306}, {0, 0}, {375, 402}}, // 3: Trough.
{780, 527, 1, {307, 308}, {0, -1}, {1023, 519}}, // 4: Floor board.
{643, 457, 1, {309, 310}, {0, 0}, {729, 434}} // 5: Window.
diff --git a/engines/hollywood/runaway/scene6190.cpp b/engines/hollywood/runaway/scene6190.cpp
index 865779c4933..0c392531a0c 100644
--- a/engines/hollywood/runaway/scene6190.cpp
+++ b/engines/hollywood/runaway/scene6190.cpp
@@ -28,7 +28,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1250, 347, 3, {301, 302}, {0, 3}, {1459, 435}}, // 1: Town.
+ {1250, 347, 3, {301, 302}, {0, 3}, {1459, 435}, 6}, // 1: Town.
{560, 282, 0, {303, 304}, {1, 0}, {550, 255}}, // 2: Bucket of paint.
{757, 446, 5, {306, 307}, {1, 0}, {656, 528}}, // 3: Hole.
{778, 314, 7, {308, 309}, {1, 1}, {747, 290}}, // 4: Shelves.
diff --git a/engines/hollywood/runaway/scene6200.cpp b/engines/hollywood/runaway/scene6200.cpp
index bfa6f5c2a10..6dada46cf25 100644
--- a/engines/hollywood/runaway/scene6200.cpp
+++ b/engines/hollywood/runaway/scene6200.cpp
@@ -27,7 +27,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1379, 491, 0, {301, 302}, {0, 3}, {1379, 491}}, // 1: Town.
+ {1379, 491, 0, {301, 302}, {0, 3}, {1379, 491}, 5}, // 1: Town.
{285, 501, 0, {303, 304}, {1, 0}, {258, 427}}, // 2: Cell.
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
{536, 504, 0, {306, 307}, {0, 1}, {536, 425}}, // 4: Firewood.
diff --git a/engines/hollywood/runaway/scene6210.cpp b/engines/hollywood/runaway/scene6210.cpp
index 8a03f348443..79ef927b9d0 100644
--- a/engines/hollywood/runaway/scene6210.cpp
+++ b/engines/hollywood/runaway/scene6210.cpp
@@ -27,8 +27,8 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {430, 540, 4, {301, 302}, {0, 3}, {430, 599}}, // 1: Door.
- {430, 540, 4, {301, 302}, {0, 3}, {430, 599}}, // 2: Door.
+ {430, 540, 4, {301, 302}, {0, 3}, {430, 599}, 6}, // 1: Door.
+ {430, 540, 4, {301, 302}, {0, 3}, {430, 599}, 7}, // 2: Door.
{294, 513, 0, {303, 304}, {1, 1}, {288, 471}}, // 3: Doctor's bag.
{449, 504, 0, {305, 306}, {0, 0}, {449, 467}}, // 4: Dead body.
{757, 508, 1, {307, 308}, {1, 0}, {794, 450}}, // 5: Bucket.
diff --git a/engines/hollywood/runaway/scene6220.cpp b/engines/hollywood/runaway/scene6220.cpp
index 899bdf8261b..c09ecfebf52 100644
--- a/engines/hollywood/runaway/scene6220.cpp
+++ b/engines/hollywood/runaway/scene6220.cpp
@@ -28,15 +28,15 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {188, 599, 5, {301, 302}, {0, 3}, {188, 599}}, // 1: Path.
- {778, 512, 3, {303, 304}, {0, 1}, {778, 512}}, // 2: Saloon.
- {125, 441, 7, {305, 306}, {0, 1}, {79, 399}}, // 3: Hotel.
- {388, 284, 7, {307, 308}, {0, 1}, {388, 284}}, // 4: Sheriff's office.
- {574, 242, 7, {309, 310}, {0, 1}, {526, 216}}, // 5: Liquor store.
- {647, 198, 0, {311, 312}, {0, 3}, {646, 195}}, // 6: Bank.
- {722, 192, 0, {313, 314}, {0, 1}, {722, 192}}, // 7: Locomotive.
+ {188, 599, 5, {301, 302}, {0, 3}, {188, 599}, 7}, // 1: Path.
+ {778, 512, 3, {303, 304}, {0, 1}, {778, 512}, 6}, // 2: Saloon.
+ {125, 441, 7, {305, 306}, {0, 1}, {79, 399}, 4}, // 3: Hotel.
+ {388, 284, 7, {307, 308}, {0, 1}, {388, 284}, 4}, // 4: Sheriff's office.
+ {574, 242, 7, {309, 310}, {0, 1}, {526, 216}, 4}, // 5: Liquor store.
+ {647, 198, 0, {311, 312}, {0, 3}, {646, 195}, 4}, // 6: Bank.
+ {722, 192, 0, {313, 314}, {0, 1}, {722, 192}, 5}, // 7: Locomotive.
{293, 350, 7, {315, 316}, {1, 0}, {285, 340}}, // 8: Wagon.
- {722, 192, 0, {318, 319}, {0, 3}, {722, 192}} // 9: North side of town.
+ {722, 192, 0, {318, 319}, {0, 3}, {722, 192}, 5} // 9: North side of town.
};
const RunawayResponse kResponses[] = {
diff --git a/engines/hollywood/runaway/scene6226.cpp b/engines/hollywood/runaway/scene6226.cpp
index 9b382eaeec9..e7f32588071 100644
--- a/engines/hollywood/runaway/scene6226.cpp
+++ b/engines/hollywood/runaway/scene6226.cpp
@@ -28,9 +28,9 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1023, 331, 3, {301, 302}, {0, 1}, {1023, 331}}, // 1: Door.
- {1001, 245, 3, {301, 303}, {0, 1}, {1001, 245}}, // 2: Door.
- {983, 216, 3, {301, 304}, {0, 1}, {983, 216}}, // 3: Door.
+ {1023, 331, 3, {301, 302}, {0, 1}, {1023, 331}, 5}, // 1: Door.
+ {1001, 245, 3, {301, 303}, {0, 1}, {1001, 245}, 5}, // 2: Door.
+ {983, 216, 3, {301, 304}, {0, 1}, {983, 216}, 5}, // 3: Door.
{834, 370, 7, {305, 306}, {0, 0}, {0, 0}}, // 4: Street.
{857, 326, 1, {309, 310}, {0, 1}, {872, 312}} // 5: Object on the floor.
};
diff --git a/engines/hollywood/runaway/scene6240.cpp b/engines/hollywood/runaway/scene6240.cpp
index a31fcc7f948..325a1f0cf0c 100644
--- a/engines/hollywood/runaway/scene6240.cpp
+++ b/engines/hollywood/runaway/scene6240.cpp
@@ -28,8 +28,8 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {0, 453, 5, {301, 302}, {0, 3}, {0, 453}}, // 1: Door.
- {782, 408, 7, {303, 304}, {0, 1}, {625, 391}}, // 2: Stairs.
+ {0, 453, 5, {301, 302}, {0, 3}, {0, 453}, 7}, // 1: Door.
+ {782, 408, 7, {303, 304}, {0, 1}, {625, 391}, 4}, // 2: Stairs.
{504, 452, 1, {305, 306}, {1, 1}, {567, 418}}, // 3: Flower pot.
{1286, 435, 0, {307, 308}, {0, 0}, {1286, 405}}, // 4: Watering can.
{742, 332, 5, {309, 310}, {0, 0}, {821, 340}}, // 5: Small room.
diff --git a/engines/hollywood/runaway/scene6250.cpp b/engines/hollywood/runaway/scene6250.cpp
index 3b0a55a7dd4..354e1aedd26 100644
--- a/engines/hollywood/runaway/scene6250.cpp
+++ b/engines/hollywood/runaway/scene6250.cpp
@@ -28,7 +28,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
{516, 314, 1, {301, 302}, {0, 0}, {564, 286}}, // 1: Statue.
- {516, 314, 1, {305, 306}, {0, 1}, {564, 286}}, // 2: Hole.
+ {516, 314, 1, {305, 306}, {0, 1}, {564, 286}, 5}, // 2: Hole.
{462, 312, 7, {303, 304}, {0, 1}, {0, 0}}, // 3: Safe.
{0, 0, 4, {307, 307}, {0, 0}, {512, 599}}, // 4: Rubble.
{462, 312, 7, {308, 309}, {0, 1}, {512, 599}} // 5: Combination dial.
diff --git a/engines/hollywood/runaway/scene6260.cpp b/engines/hollywood/runaway/scene6260.cpp
index 854488e2464..3cb1eca15e5 100644
--- a/engines/hollywood/runaway/scene6260.cpp
+++ b/engines/hollywood/runaway/scene6260.cpp
@@ -27,13 +27,13 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {0, 510, 5, {301, 302}, {0, 3}, {0, 510}}, // 1: Town.
- {363, 395, 7, {303, 304}, {0, 1}, {273, 286}}, // 2: Driver's cab.
+ {0, 510, 5, {301, 302}, {0, 3}, {0, 510}, 7}, // 1: Town.
+ {363, 395, 7, {303, 304}, {0, 1}, {273, 286}, 7}, // 2: Driver's cab.
{495, 433, 1, {305, 306}, {0, 1}, {582, 344}}, // 3: Smokestack.
{432, 411, 0, {307, 308}, {0, 0}, {435, 351}}, // 4: Water tank opening.
{413, 485, 7, {309, 310}, {1, 1}, {392, 465}}, // 5: Key.
{257, 430, 1, {311, 312}, {0, 0}, {257, 397}}, // 6: Whistle.
- {1023, 437, 2, {315, 316}, {0, 3}, {1100, 400}} // 7: Outskirts of town.
+ {1023, 437, 2, {315, 316}, {0, 3}, {1100, 400}, 5} // 7: Outskirts of town.
};
const RunawayResponse kResponses[] = {
diff --git a/engines/hollywood/runaway/scene6263.cpp b/engines/hollywood/runaway/scene6263.cpp
index 19c96fa7f2c..247ccb76e08 100644
--- a/engines/hollywood/runaway/scene6263.cpp
+++ b/engines/hollywood/runaway/scene6263.cpp
@@ -28,7 +28,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {252, 492, 0, {301, 302}, {0, 1}, {233, 165}}, // 1: Window.
+ {252, 492, 0, {301, 302}, {0, 1}, {233, 165}, 5}, // 1: Window.
{223, 483, 1, {303, 304}, {0, 0}, {300, 443}}, // 2: Boiler.
{287, 505, 1, {305, 306}, {0, 1}, {340, 448}}, // 3: Lever.
{287, 505, 1, {307, 308}, {0, 1}, {340, 448}}, // 4: Wheel.
diff --git a/engines/hollywood/runaway/scene6280.cpp b/engines/hollywood/runaway/scene6280.cpp
index 639a4dfd68e..89471a4f22d 100644
--- a/engines/hollywood/runaway/scene6280.cpp
+++ b/engines/hollywood/runaway/scene6280.cpp
@@ -27,7 +27,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1023, 500, 3, {301, 302}, {0, 3}, {1023, 0}}, // 1: Outside the crater.
+ {1023, 500, 3, {301, 302}, {0, 3}, {1023, 0}, 5}, // 1: Outside the crater.
{662, 546, 7, {303, 304}, {0, 1}, {597, 512}}, // 2: Joshua's helmet.
{662, 546, 7, {305, 306}, {0, 0}, {597, 512}} // 3: Black mark.
};
diff --git a/engines/hollywood/runaway/scene6290.cpp b/engines/hollywood/runaway/scene6290.cpp
index 68e53e00c9e..d10c3a88967 100644
--- a/engines/hollywood/runaway/scene6290.cpp
+++ b/engines/hollywood/runaway/scene6290.cpp
@@ -32,8 +32,8 @@ const Common::Point kMotorcycleSoundPosition(1081, 200);
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {0, 537, 5, {301, 302}, {0, 3}, {-100, 537}}, // 1: Crater.
- {1739, 442, 3, {303, 304}, {0, 3}, {1839, 442}}, // 2: Trail.
+ {0, 537, 5, {301, 302}, {0, 3}, {-100, 537}, 7}, // 1: Crater.
+ {1739, 442, 3, {303, 304}, {0, 3}, {1839, 442}, 5}, // 2: Trail.
{440, 556, 7, {305, 306}, {0, 1}, {479, 468}}, // 3: Panel of buttons.
{607, 549, 7, {307, 308}, {0, 0}, {612, 506}}, // 4: Switch.
{1133, 434, 0, {309, 310}, {0, 0}, {1068, 422}}, // 5: Motorcycle.
diff --git a/engines/hollywood/runaway/scene6300.cpp b/engines/hollywood/runaway/scene6300.cpp
index e69ed7adcb2..a5feec1f752 100644
--- a/engines/hollywood/runaway/scene6300.cpp
+++ b/engines/hollywood/runaway/scene6300.cpp
@@ -29,10 +29,10 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1397, 456, 1, {301, 302}, {0, 3}, {1397, 456}}, // 1: Stairs.
- {40, 436, 7, {303, 304}, {0, 1}, {40, 436}}, // 2: Door.
- {389, 381, 7, {303, 305}, {0, 1}, {389, 381}}, // 3: Door.
- {644, 342, 7, {303, 306}, {0, 1}, {644, 342}}, // 4: Door.
+ {1397, 456, 1, {301, 302}, {0, 3}, {1397, 456}, 6}, // 1: Stairs.
+ {40, 436, 7, {303, 304}, {0, 1}, {40, 436}, 4}, // 2: Door.
+ {389, 381, 7, {303, 305}, {0, 1}, {389, 381}, 4}, // 3: Door.
+ {644, 342, 7, {303, 306}, {0, 1}, {644, 342}, 4}, // 4: Door.
{741, 518, 7, {307, 308}, {0, 0}, {726, 495}}, // 5: Crane controls.
{0, 0, 0, {309, 310}, {0, 0}, {778, 599}}, // 6: Statue.
{862, 438, 7, {311, 312}, {0, 0}, {930, 417}}, // 7: Apparatus.
diff --git a/engines/hollywood/runaway/scene6350.cpp b/engines/hollywood/runaway/scene6350.cpp
index efe0c32c03a..4b73b3d75b9 100644
--- a/engines/hollywood/runaway/scene6350.cpp
+++ b/engines/hollywood/runaway/scene6350.cpp
@@ -30,12 +30,12 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {0, 0, 0, {1, 301}, {0, 0}, {0, 0}}, // 1: Entrance to the mine.
- {0, 0, 0, {1, 302}, {0, 0}, {0, 0}}, // 2: Unknown place.
- {0, 0, 0, {1, 303}, {0, 0}, {0, 0}}, // 3: Unknown place.
- {0, 0, 0, {1, 304}, {0, 0}, {0, 0}}, // 4: Unknown place.
- {0, 0, 0, {1, 305}, {0, 0}, {0, 0}}, // 5: Unknown place.
- {0, 0, 0, {1, 306}, {0, 0}, {0, 0}} // 6: Locomotive.
+ {0, 0, 0, {1, 301}, {0, 0}, {0, 0}, 7}, // 1: Entrance to the mine.
+ {0, 0, 0, {1, 302}, {0, 0}, {0, 0}, 5}, // 2: Unknown place.
+ {0, 0, 0, {1, 303}, {0, 0}, {0, 0}, 6}, // 3: Unknown place.
+ {0, 0, 0, {1, 304}, {0, 0}, {0, 0}, 5}, // 4: Unknown place.
+ {0, 0, 0, {1, 305}, {0, 0}, {0, 0}, 4}, // 5: Unknown place.
+ {0, 0, 0, {1, 306}, {0, 0}, {0, 0}, 7} // 6: Locomotive.
};
} // End of anonymous namespace
diff --git a/engines/hollywood/runaway/scene7020.cpp b/engines/hollywood/runaway/scene7020.cpp
index 4bb314e7ab3..b59035625dc 100644
--- a/engines/hollywood/runaway/scene7020.cpp
+++ b/engines/hollywood/runaway/scene7020.cpp
@@ -30,23 +30,23 @@ const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
{0, 0, 0, {301, 302}, {0, 0}, {1052, 627}}, // 1: Gina.
{1500, 540, 0, {303, 304}, {0, 1}, {1554, 490}}, // 2: Statue.
- {1500, 540, 0, {305, 306}, {0, 3}, {1554, 490}}, // 3: Cave.
+ {1500, 540, 0, {305, 306}, {0, 3}, {1554, 490}, 4}, // 3: Cave.
{1132, 659, 7, {307, 308}, {0, 0}, {830, 674}}, // 4: Rope.
- {609, 291, 0, {1, 309}, {0, 0}, {103, 507}}, // 5: Lower part of the village.
+ {609, 291, 0, {1, 309}, {0, 0}, {103, 507}, 6}, // 5: Lower part of the village.
{0, 0, 0, {1, 1}, {0, 0}, {0, 0}}, // 6: Piece of rope.
- {609, 291, 0, {1, 309}, {0, 0}, {0, 0}}, // 7: Lower part of the village.
- {128, 501, 0, {310, 311}, {0, 1}, {103, 507}}, // 8: Door.
- {0, 0, 0, {312, 313}, {-1, -1}, {0, 0}}, // 9: Door.
- {0, 0, 0, {312, 314}, {-1, -1}, {186, 428}}, // 10: Door.
- {0, 0, 0, {312, 315}, {-1, -1}, {227, 421}}, // 11: Door.
- {0, 0, 0, {312, 316}, {-1, 0}, {0, 0}}, // 12: Door.
- {0, 0, 0, {312, 317}, {-1, -1}, {274, 304}}, // 13: Door.
- {0, 0, 0, {312, 318}, {-1, -1}, {300, 307}}, // 14: Door.
- {0, 0, 0, {312, 319}, {-1, -1}, {323, 311}}, // 15: Door.
- {0, 0, 0, {320, 321}, {0, -1}, {360, 293}}, // 16: Door at the back.
- {0, 0, 0, {312, 322}, {-1, -1}, {424, 280}}, // 17: Door.
+ {609, 291, 0, {1, 309}, {0, 0}, {0, 0}, 7}, // 7: Lower part of the village.
+ {128, 501, 0, {310, 311}, {0, 1}, {103, 507}, 5}, // 8: Door.
+ {0, 0, 0, {312, 313}, {-1, -1}, {0, 0}, 4}, // 9: Door.
+ {0, 0, 0, {312, 314}, {-1, -1}, {186, 428}, 4}, // 10: Door.
+ {0, 0, 0, {312, 315}, {-1, -1}, {227, 421}, 4}, // 11: Door.
+ {0, 0, 0, {312, 316}, {-1, 0}, {0, 0}, 5}, // 12: Door.
+ {0, 0, 0, {312, 317}, {-1, -1}, {274, 304}, 4}, // 13: Door.
+ {0, 0, 0, {312, 318}, {-1, -1}, {300, 307}, 4}, // 14: Door.
+ {0, 0, 0, {312, 319}, {-1, -1}, {323, 311}, 4}, // 15: Door.
+ {0, 0, 0, {320, 321}, {0, -1}, {360, 293}, 5}, // 16: Door at the back.
+ {0, 0, 0, {312, 322}, {-1, -1}, {424, 280}, 5}, // 17: Door.
{0, 0, 0, {323, 324}, {0, 0}, {1590, 536}}, // 18: Kiva.
- {0, 785, 0, {325, 326}, {0, 1}, {0, 745}} // 19: Unexplored area.
+ {0, 785, 0, {325, 326}, {0, 1}, {0, 745}, 7} // 19: Unexplored area.
};
const RunawayResponse kResponses[] = {
diff --git a/engines/hollywood/runaway/scene7030.cpp b/engines/hollywood/runaway/scene7030.cpp
index 3c1f4a5a695..6ddbfe1159d 100644
--- a/engines/hollywood/runaway/scene7030.cpp
+++ b/engines/hollywood/runaway/scene7030.cpp
@@ -27,8 +27,8 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {0, 0, 0, {301, 302}, {0, 0}, {0, 0}}, // 1: Hopi village.
- {0, 0, 0, {303, 304}, {0, 0}, {0, 0}} // 2: Hopi sanctuary.
+ {0, 0, 0, {301, 302}, {0, 0}, {0, 0}, 4}, // 1: Hopi village.
+ {0, 0, 0, {303, 304}, {0, 0}, {0, 0}, 6} // 2: Hopi sanctuary.
};
const Common::Point kVillageTrail[] = {
diff --git a/engines/hollywood/runaway/scene7040.cpp b/engines/hollywood/runaway/scene7040.cpp
index e7b32524597..16db40243b6 100644
--- a/engines/hollywood/runaway/scene7040.cpp
+++ b/engines/hollywood/runaway/scene7040.cpp
@@ -32,8 +32,8 @@ const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
{446, 486, 1, {301, 302}, {0, 0}, {510, 451}}, // 1: Monolith.
{446, 486, 1, {303, 304}, {0, 1}, {510, 451}}, // 2: Monolith's mouth.
- {0, 599, 5, {305, 306}, {0, 3}, {-100, 650}}, // 3: Path.
- {705, 340, 1, {307, 308}, {0, 0}, {524, 438}}, // 4: Cave in the rock.
+ {0, 599, 5, {305, 306}, {0, 3}, {-100, 650}, 7}, // 3: Path.
+ {705, 340, 1, {307, 308}, {0, 0}, {524, 438}, 5}, // 4: Cave in the rock.
{109, 491, 0, {309, 310}, {0, 1}, {109, 450}} // 5: Bush.
};
diff --git a/engines/hollywood/runaway/scene7050.cpp b/engines/hollywood/runaway/scene7050.cpp
index 07d69b794e9..edfd47966a0 100644
--- a/engines/hollywood/runaway/scene7050.cpp
+++ b/engines/hollywood/runaway/scene7050.cpp
@@ -29,10 +29,10 @@ const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
{428, 518, 1, {301, 302}, {1, 1}, {531, 472}}, // 1: Statue.
{717, 541, 0, {303, 304}, {1, 1}, {717, 517}}, // 2: Object resting on the stone.
- {60, 599, 5, {305, 306}, {0, 0}, {0, 650}}, // 3: Inside of the cave.
+ {60, 599, 5, {305, 306}, {0, 0}, {0, 650}, 7}, // 3: Inside of the cave.
{356, 501, 7, {307, 308}, {1, 0}, {321, 470}}, // 4: Cross.
{664, 536, 1, {309, 310}, {1, 0}, {715, 477}}, // 5: Cross.
- {467, 445, 1, {311, 312}, {0, 3}, {453, 424}} // 6: Village.
+ {467, 445, 1, {311, 312}, {0, 3}, {453, 424}, 5} // 6: Village.
};
const RunawayResponse kResponses[] = {
diff --git a/engines/hollywood/runaway/scene8090.cpp b/engines/hollywood/runaway/scene8090.cpp
index 97c975b1c36..dd3c988e241 100644
--- a/engines/hollywood/runaway/scene8090.cpp
+++ b/engines/hollywood/runaway/scene8090.cpp
@@ -29,14 +29,14 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {910, 599, 3, {301, 302}, {0, 3}, {1023, 599}}, // 1: Oil well area.
- {696, 510, 0, {303, 304}, {0, 0}, {668, 390}}, // 2: Entrance to the house.
+ {910, 599, 3, {301, 302}, {0, 3}, {1023, 599}, 6}, // 1: Oil well area.
+ {696, 510, 0, {303, 304}, {0, 0}, {668, 390}, 4}, // 2: Entrance to the house.
{846, 509, 0, {305, 306}, {0, 0}, {837, 455}}, // 3: Sign.
{676, 510, 7, {307, 308}, {0, 1}, {517, 463}}, // 4: Oscar.
{244, 416, 7, {309, 310}, {0, 0}, {216, 394}}, // 5: Ladder.
- {696, 510, 0, {312, 313}, {0, 1}, {668, 390}}, // 6: Entrance to the house.
+ {696, 510, 0, {312, 313}, {0, 1}, {668, 390}, 5}, // 6: Entrance to the house.
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {50, 599, 5, {326, 327}, {0, 3}, {0, 599}} // 8: Path.
+ {50, 599, 5, {326, 327}, {0, 3}, {0, 599}, 7} // 8: Path.
};
const RunawayResponse kResponses[] = {
diff --git a/engines/hollywood/runaway/scene8130.cpp b/engines/hollywood/runaway/scene8130.cpp
index d7e87828e10..a01f641d503 100644
--- a/engines/hollywood/runaway/scene8130.cpp
+++ b/engines/hollywood/runaway/scene8130.cpp
@@ -27,8 +27,8 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {0, 599, 5, {301, 302}, {0, 3}, {-100, 599}}, // 1: Path.
- {402, 374, 1, {303, 304}, {0, 3}, {637, 237}}, // 2: House.
+ {0, 599, 5, {301, 302}, {0, 3}, {-100, 599}, 7}, // 1: Path.
+ {402, 374, 1, {303, 304}, {0, 3}, {637, 237}, 5}, // 2: House.
{491, 495, 3, {305, 306}, {0, 0}, {715, 540}}, // 3: Well.
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
{0, 0, 0, {309, 310}, {0, 0}, {323, 544}} // 5: Skull.
diff --git a/engines/hollywood/runaway/scene8180.cpp b/engines/hollywood/runaway/scene8180.cpp
index c9c91b7c4a6..57cefb2ea26 100644
--- a/engines/hollywood/runaway/scene8180.cpp
+++ b/engines/hollywood/runaway/scene8180.cpp
@@ -27,8 +27,8 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {202, 526, 7, {301, 302}, {0, 3}, {189, 517}}, // 1: Street.
- {780, 527, 1, {303, 304}, {0, -1}, {1023, 519}}, // 2: Inside the saloon.
+ {202, 526, 7, {301, 302}, {0, 3}, {189, 517}, 4}, // 1: Street.
+ {780, 527, 1, {303, 304}, {0, -1}, {1023, 519}, 5}, // 2: Inside the saloon.
{405, 427, 7, {305, 306}, {0, 0}, {375, 402}}, // 3: Trough.
{780, 527, 1, {307, 308}, {0, -1}, {1023, 519}}, // 4: Floor board.
{643, 457, 1, {309, 310}, {0, 0}, {729, 434}} // 5: Window.
diff --git a/engines/hollywood/runaway/scene8190.cpp b/engines/hollywood/runaway/scene8190.cpp
index 08f0f0521db..128864a78df 100644
--- a/engines/hollywood/runaway/scene8190.cpp
+++ b/engines/hollywood/runaway/scene8190.cpp
@@ -27,7 +27,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1250, 347, 3, {301, 302}, {0, 3}, {1459, 435}}, // 1: Town.
+ {1250, 347, 3, {301, 302}, {0, 3}, {1459, 435}, 6}, // 1: Town.
{560, 282, 0, {303, 305}, {1, 1}, {550, 255}}, // 2: Entrance to the basement.
{757, 446, 5, {306, 307}, {1, 0}, {656, 528}}, // 3: Hole.
{778, 314, 7, {308, 309}, {1, 1}, {747, 290}}, // 4: Shelves.
diff --git a/engines/hollywood/runaway/scene8200.cpp b/engines/hollywood/runaway/scene8200.cpp
index 03a0552e4a5..bb0824aadc7 100644
--- a/engines/hollywood/runaway/scene8200.cpp
+++ b/engines/hollywood/runaway/scene8200.cpp
@@ -27,7 +27,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1379, 491, 0, {301, 302}, {0, 3}, {1379, 491}}, // 1: Street.
+ {1379, 491, 0, {301, 302}, {0, 3}, {1379, 491}, 5}, // 1: Street.
{285, 501, 0, {303, 305}, {1, 0}, {258, 427}}, // 2: Cell.
{1020, 483, 0, {315, 316}, {0, 1}, {1020, 480}}, // 3: Bag holding the thugs' stuff.
{0, 0, 0, {0, 0}, {0, 0}, {536, 425}},
diff --git a/engines/hollywood/runaway/scene8210.cpp b/engines/hollywood/runaway/scene8210.cpp
index 841f3bffb73..882c9c37d5a 100644
--- a/engines/hollywood/runaway/scene8210.cpp
+++ b/engines/hollywood/runaway/scene8210.cpp
@@ -27,8 +27,8 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {430, 540, 4, {301, 302}, {0, 3}, {430, 599}}, // 1: Door.
- {430, 540, 4, {301, 302}, {0, 3}, {430, 599}}, // 2: Door.
+ {430, 540, 4, {301, 302}, {0, 3}, {430, 599}, 6}, // 1: Door.
+ {430, 540, 4, {301, 302}, {0, 3}, {430, 599}, 7}, // 2: Door.
{294, 513, 0, {303, 304}, {1, 1}, {288, 471}}, // 3: Doctor's bag.
{449, 504, 0, {305, 306}, {0, 0}, {449, 467}}, // 4: Dead body.
{757, 508, 1, {307, 308}, {1, 0}, {794, 450}}, // 5: Bucket.
diff --git a/engines/hollywood/runaway/scene8220.cpp b/engines/hollywood/runaway/scene8220.cpp
index 650d10ff86b..fbf070216f4 100644
--- a/engines/hollywood/runaway/scene8220.cpp
+++ b/engines/hollywood/runaway/scene8220.cpp
@@ -29,17 +29,17 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {188, 599, 5, {301, 302}, {0, 3}, {188, 599}}, // 1: Path.
- {778, 512, 3, {303, 304}, {0, 1}, {778, 512}}, // 2: Saloon.
- {125, 441, 7, {305, 306}, {0, 1}, {79, 399}}, // 3: Hotel.
- {388, 284, 7, {307, 308}, {0, 1}, {388, 284}}, // 4: Sheriff's office.
- {574, 242, 7, {309, 310}, {0, 1}, {526, 216}}, // 5: Liquor store.
- {647, 198, 0, {311, 312}, {0, 3}, {646, 195}}, // 6: Bank.
- {722, 192, 0, {313, 314}, {0, 1}, {722, 192}}, // 7: Locomotive.
+ {188, 599, 5, {301, 302}, {0, 3}, {188, 599}, 7}, // 1: Path.
+ {778, 512, 3, {303, 304}, {0, 1}, {778, 512}, 6}, // 2: Saloon.
+ {125, 441, 7, {305, 306}, {0, 1}, {79, 399}, 4}, // 3: Hotel.
+ {388, 284, 7, {307, 308}, {0, 1}, {388, 284}, 4}, // 4: Sheriff's office.
+ {574, 242, 7, {309, 310}, {0, 1}, {526, 216}, 4}, // 5: Liquor store.
+ {647, 198, 0, {311, 312}, {0, 3}, {646, 195}, 4}, // 6: Bank.
+ {722, 192, 0, {313, 314}, {0, 1}, {722, 192}, 5}, // 7: Locomotive.
{293, 350, 7, {315, 316}, {1, 0}, {285, 340}}, // 8: Wagon.
{450, 345, 7, {318, 319}, {0, 1}, {404, 302}}, // 9: Oscar.
{456, 271, 1, {320, 321}, {0, 0}, {472, 254}}, // 10: Car.
- {722, 192, 0, {322, 323}, {0, 3}, {722, 192}} // 11: North side of town.
+ {722, 192, 0, {322, 323}, {0, 3}, {722, 192}, 5} // 11: North side of town.
};
const RunawayResponse kResponses[] = {
diff --git a/engines/hollywood/runaway/scene8226.cpp b/engines/hollywood/runaway/scene8226.cpp
index 3b57f44598c..7bc7640b142 100644
--- a/engines/hollywood/runaway/scene8226.cpp
+++ b/engines/hollywood/runaway/scene8226.cpp
@@ -27,9 +27,9 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1023, 331, 3, {301, 302}, {0, 1}, {1023, 331}}, // 1: Door.
- {1001, 245, 3, {301, 303}, {0, 1}, {1001, 245}}, // 2: Door.
- {983, 216, 3, {301, 304}, {0, 1}, {983, 216}}, // 3: Door.
+ {1023, 331, 3, {301, 302}, {0, 1}, {1023, 331}, 5}, // 1: Door.
+ {1001, 245, 3, {301, 303}, {0, 1}, {1001, 245}, 5}, // 2: Door.
+ {983, 216, 3, {301, 304}, {0, 1}, {983, 216}, 5}, // 3: Door.
{834, 370, 7, {305, 306}, {0, 0}, {0, 0}} // 4: Street.
};
diff --git a/engines/hollywood/runaway/scene8240.cpp b/engines/hollywood/runaway/scene8240.cpp
index dc3c05d369f..7998063425c 100644
--- a/engines/hollywood/runaway/scene8240.cpp
+++ b/engines/hollywood/runaway/scene8240.cpp
@@ -29,8 +29,8 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {0, 453, 5, {301, 302}, {0, 3}, {0, 453}}, // 1: Door.
- {782, 408, 7, {303, 304}, {0, 1}, {625, 391}}, // 2: Stairs.
+ {0, 453, 5, {301, 302}, {0, 3}, {0, 453}, 7}, // 1: Door.
+ {782, 408, 7, {303, 304}, {0, 1}, {625, 391}, 4}, // 2: Stairs.
{395, 402, 7, {305, 306}, {0, 3}, {346, 260}}, // 3: Rutger.
{1286, 435, 0, {307, 308}, {0, 0}, {1286, 405}}, // 4: Watering can.
{742, 332, 5, {309, 310}, {0, 0}, {821, 340}}, // 5: Gardening shed.
diff --git a/engines/hollywood/runaway/scene8260.cpp b/engines/hollywood/runaway/scene8260.cpp
index 2fe27480434..3ce31bdd17d 100644
--- a/engines/hollywood/runaway/scene8260.cpp
+++ b/engines/hollywood/runaway/scene8260.cpp
@@ -28,13 +28,13 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {0, 510, 5, {301, 302}, {0, 3}, {0, 510}}, // 1: Town.
- {363, 395, 7, {303, 304}, {0, 1}, {273, 286}}, // 2: Driver's cab.
+ {0, 510, 5, {301, 302}, {0, 3}, {0, 510}, 7}, // 1: Town.
+ {363, 395, 7, {303, 304}, {0, 1}, {273, 286}, 7}, // 2: Driver's cab.
{495, 433, 1, {305, 306}, {0, 1}, {582, 344}}, // 3: Smokestack.
{432, 411, 0, {307, 308}, {0, 0}, {435, 351}}, // 4: Water tank opening.
{413, 485, 7, {309, 310}, {1, 1}, {392, 465}}, // 5: Object.
{257, 430, 1, {311, 312}, {0, 0}, {257, 397}}, // 6: Whistle.
- {1023, 437, 0, {315, 316}, {0, 3}, {1100, 400}} // 7: Outskirts of town.
+ {1023, 437, 0, {315, 316}, {0, 3}, {1100, 400}, 5} // 7: Outskirts of town.
};
const RunawayResponse kResponses[] = {
diff --git a/engines/hollywood/runaway/scene8263.cpp b/engines/hollywood/runaway/scene8263.cpp
index bcbd7d7ac22..f5e2277c04d 100644
--- a/engines/hollywood/runaway/scene8263.cpp
+++ b/engines/hollywood/runaway/scene8263.cpp
@@ -27,7 +27,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {252, 492, 0, {301, 302}, {0, 1}, {233, 165}}, // 1: Window.
+ {252, 492, 0, {301, 302}, {0, 1}, {233, 165}, 5}, // 1: Window.
{223, 483, 1, {303, 304}, {0, 0}, {300, 443}}, // 2: Boiler.
{287, 505, 1, {305, 306}, {0, 1}, {340, 448}}, // 3: Steam outlet lever.
{287, 505, 1, {307, 308}, {0, 1}, {340, 448}}, // 4: Pressure wheel.
diff --git a/engines/hollywood/runaway/scene8300.cpp b/engines/hollywood/runaway/scene8300.cpp
index 126e23990f6..d09d8f2b37a 100644
--- a/engines/hollywood/runaway/scene8300.cpp
+++ b/engines/hollywood/runaway/scene8300.cpp
@@ -27,10 +27,10 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1397, 456, 1, {301, 302}, {0, 3}, {1397, 456}}, // 1: Stairs.
- {40, 436, 7, {303, 304}, {0, 1}, {40, 436}}, // 2: Door.
- {389, 381, 7, {303, 305}, {0, 1}, {389, 381}}, // 3: Door.
- {644, 342, 7, {303, 306}, {0, 1}, {644, 342}}, // 4: Door.
+ {1397, 456, 1, {301, 302}, {0, 3}, {1397, 456}, 6}, // 1: Stairs.
+ {40, 436, 7, {303, 304}, {0, 1}, {40, 436}, 4}, // 2: Door.
+ {389, 381, 7, {303, 305}, {0, 1}, {389, 381}, 4}, // 3: Door.
+ {644, 342, 7, {303, 306}, {0, 1}, {644, 342}, 4}, // 4: Door.
{741, 518, 7, {307, 308}, {0, 0}, {726, 495}}, // 5: Crane controls.
{0, 0, 0, {0, 0}, {0, 0}, {778, 599}},
{862, 438, 7, {311, 312}, {0, 0}, {930, 417}}, // 7: Catapult.
diff --git a/engines/hollywood/runaway/scene8350.cpp b/engines/hollywood/runaway/scene8350.cpp
index 2aee1bc7d18..5b79a4baaf3 100644
--- a/engines/hollywood/runaway/scene8350.cpp
+++ b/engines/hollywood/runaway/scene8350.cpp
@@ -27,12 +27,12 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {0, 0, 0, {1, 301}, {0, 0}, {0, 0}}, // 1: Entrance to the mine.
- {0, 0, 0, {1, 302}, {0, 0}, {0, 0}}, // 2: Douglasville.
- {0, 0, 0, {1, 303}, {0, 0}, {0, 0}}, // 3: Mama Dorita's house.
- {0, 0, 0, {1, 304}, {0, 0}, {0, 0}}, // 4: Crater.
- {0, 0, 0, {1, 305}, {0, 0}, {0, 0}}, // 5: Path to the trailer.
- {0, 0, 0, {1, 306}, {0, 0}, {0, 0}} // 6: Locomotive.
+ {0, 0, 0, {1, 301}, {0, 0}, {0, 0}, 7}, // 1: Entrance to the mine.
+ {0, 0, 0, {1, 302}, {0, 0}, {0, 0}, 5}, // 2: Douglasville.
+ {0, 0, 0, {1, 303}, {0, 0}, {0, 0}, 6}, // 3: Mama Dorita's house.
+ {0, 0, 0, {1, 304}, {0, 0}, {0, 0}, 5}, // 4: Crater.
+ {0, 0, 0, {1, 305}, {0, 0}, {0, 0}, 4}, // 5: Path to the trailer.
+ {0, 0, 0, {1, 306}, {0, 0}, {0, 0}, 7} // 6: Locomotive.
};
} // End of anonymous namespace
diff --git a/engines/hollywood/runaway/scene8370.cpp b/engines/hollywood/runaway/scene8370.cpp
index a28946d5c51..83d8496d6f5 100644
--- a/engines/hollywood/runaway/scene8370.cpp
+++ b/engines/hollywood/runaway/scene8370.cpp
@@ -27,16 +27,16 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {1443, 648, 1, {301, 302}, {0, 3}, {1374, 626}}, // 1: Street.
- {775, 466, 0, {303, 304}, {0, -1}, {1006, 656}}, // 2: Stairs.
+ {1443, 648, 1, {301, 302}, {0, 3}, {1374, 626}, 5}, // 1: Street.
+ {775, 466, 0, {303, 304}, {0, -1}, {1006, 656}, 4}, // 2: Stairs.
{0, 0, 0, {305, 306}, {0, 0}, {828, 695}}, // 3: Front desk.
{423, 664, 0, {307, 308}, {0, 0}, {424, 653}}, // 4: Fireplace.
{0, 0, 0, {309, 310}, {0, 0}, {424, 653}}, // 5: Rifles.
{467, 678, 1, {311, 312}, {0, 1}, {504, 645}}, // 6: Poker.
{757, 716, 0, {313, 314}, {0, 1}, {757, 716}}, // 7: Bell.
- {920, 345, 7, {315, 316}, {0, 1}, {0, 0}}, // 8: Sushi's work area.
+ {920, 345, 7, {315, 316}, {0, 1}, {0, 0}, 4}, // 8: Sushi's work area.
{1124, 348, 1, {317, 318}, {0, 1}, {1138, 336}}, // 9: Rifle.
- {0, 0, 0, {319, 320}, {0, -1}, {965, 616}}, // 10: Downstairs.
+ {0, 0, 0, {319, 320}, {0, -1}, {965, 616}, 6}, // 10: Downstairs.
{828, 710, 0, {321, 322}, {1, 0}, {828, 695}} // 11: Check-in book.
};
diff --git a/engines/hollywood/runaway/scene8380.cpp b/engines/hollywood/runaway/scene8380.cpp
index 72eb1c3b95b..c9c61b72238 100644
--- a/engines/hollywood/runaway/scene8380.cpp
+++ b/engines/hollywood/runaway/scene8380.cpp
@@ -29,8 +29,8 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {866, 268, 0, {301, 302}, {0, 3}, {798, 250}}, // 1: Stairs.
- {1023, 318, 0, {303, 304}, {0, 1}, {1123, 300}}, // 2: Other side.
+ {866, 268, 0, {301, 302}, {0, 3}, {798, 250}, 7}, // 1: Stairs.
+ {1023, 318, 0, {303, 304}, {0, 1}, {1123, 300}, 6}, // 2: Other side.
{520, 410, 7, {305, 306}, {0, 1}, {442, 338}}, // 3: Sushi.
{553, 363, 0, {307, 308}, {0, 0}, {616, 346}}, // 4: Table.
{0, 0, 0, {319, 321}, {0, 0}, {641, 214}}, // 5: Machines.
diff --git a/engines/hollywood/runaway/scene8400.cpp b/engines/hollywood/runaway/scene8400.cpp
index df204e35f9d..6c2c1dccaab 100644
--- a/engines/hollywood/runaway/scene8400.cpp
+++ b/engines/hollywood/runaway/scene8400.cpp
@@ -33,7 +33,7 @@ const Common::Point kDoor(1104, 377);
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {2591, 229, 0, {301, 302}, {0, 0}, {2662, 186}}, // 1: Path to the trailer.
+ {2591, 229, 0, {301, 302}, {0, 0}, {2662, 186}, 5}, // 1: Path to the trailer.
{0, 0, 0, {303, 304}, {0, 0}, {1063, 351}}, // 2: Trailer.
{1104, 377, 7, {305, 306}, {0, -1}, {1063, 351}}, // 3: Door.
{1138, 373, 0, {308, 309}, {1, 1}, {1138, 357}}, // 4: Tray.
diff --git a/engines/hollywood/runaway/scene8410.cpp b/engines/hollywood/runaway/scene8410.cpp
index 38d66b883a5..d907432c3c4 100644
--- a/engines/hollywood/runaway/scene8410.cpp
+++ b/engines/hollywood/runaway/scene8410.cpp
@@ -27,7 +27,7 @@ namespace {
const RunawayHotspot kHotspots[] = {
{0, 0, 0, {0, 0}, {0, 0}, {0, 0}},
- {678, 442, 1, {301, 302}, {0, 3}, {706, 433}}, // 1: Outside the trailer.
+ {678, 442, 1, {301, 302}, {0, 3}, {706, 433}, 6}, // 1: Outside the trailer.
{655, 445, 3, {303, 304}, {0, 1}, {761, 486}}, // 2: Garment to the right.
{417, 433, 1, {305, 306}, {1, 0}, {496, 406}}, // 3: Trunk.
{352, 403, 0, {307, 308}, {0, 0}, {346, 349}}, // 4: Bed.
diff --git a/engines/hollywood/runaway/scene_data.h b/engines/hollywood/runaway/scene_data.h
index 5ed5d164dd1..9eb6d284aca 100644
--- a/engines/hollywood/runaway/scene_data.h
+++ b/engines/hollywood/runaway/scene_data.h
@@ -40,11 +40,17 @@ enum RunawayRoomId {
};
struct RunawayHotspot {
+ constexpr RunawayHotspot() : x(0), y(0), facing(0), action{0, 0}, approach{0, 0}, exitCursor(0) {}
+ constexpr RunawayHotspot(int16 xPos, int16 yPos, byte direction, const uint16 (&actions)[2],
+ const int8 (&approaches)[2], Common::Point lookAt, byte cursor = 0) :
+ x(xPos), y(yPos), facing(direction), action{actions[0], actions[1]},
+ approach{approaches[0], approaches[1]}, lookPosition(lookAt), exitCursor(cursor) {}
int16 x, y;
byte facing;
uint16 action[2]; // Look, use; IDs from the original room's action table.
int8 approach[2]; // -1: keep facing; 0: face lookPosition; 1: walk and turn; 2/3: walk without turning.
Common::Point lookPosition;
+ byte exitCursor; // 0: ordinary hotspot; 4..7: northwest, northeast, southeast, southwest.
};
struct RunawayItemAction {
diff --git a/engines/hollywood/runaway/ui.cpp b/engines/hollywood/runaway/ui.cpp
index e360e9bd153..8f2a00799fa 100644
--- a/engines/hollywood/runaway/ui.cpp
+++ b/engines/hollywood/runaway/ui.cpp
@@ -145,15 +145,18 @@ bool RunawayUI::inViewport() const {
_mouse.y >= kRunawayViewportTop && _mouse.y < kRunawayViewportTop + kRunawayViewportHeight;
}
-void RunawayUI::setVerb(RunawayVerb verb) {
- if (_verb != verb) {
+void RunawayUI::setVerb(RunawayVerb verb, byte exitCursor) {
+ const byte cursor = verb == kVerbUse && exitCursor ? exitCursor : (byte)verb;
+ if (_verb != verb || _cursorType != cursor) {
if (_pointerSound && (_inventoryOpen || _roomHasVerbs) && !_blocked && !_speaking && !busy()) {
_audio.playPointer();
}
- _previousVerb = _verb;
+ _previousCursor = _cursorType;
+ _cursorType = cursor;
_verb = verb;
_verbStarted = _now;
}
+ _exitCursor = exitCursor;
}
void RunawayUI::captureState(RunawaySaveState &state) const {
@@ -169,7 +172,9 @@ void RunawayUI::restoreState(const RunawaySaveState &state, uint32 now) {
_blocked = _speaking = _inventoryPresentation = _returnAfterPickup = _pickupSoundPlayed = false;
_inventoryOpen = state.inventoryOpen;
_enteredInventory = false;
- _verb = _previousVerb = (RunawayVerb)state.verb;
+ _verb = (RunawayVerb)state.verb;
+ _cursorType = _previousCursor = state.verb;
+ _exitCursor = 0;
_cursorKey = -1;
// The options cursor may still be on top of the stack. Rebuild ours
// on the next gameplay update, after the menu has popped its cursor.
@@ -204,7 +209,7 @@ bool RunawayUI::cancel() {
}
void RunawayUI::update(uint32 now, Common::Point mouse, byte roomHotspot, bool blocked, bool speaking,
- bool inventoryPresentation, byte speechFrame, bool roomHasVerbs) {
+ bool inventoryPresentation, byte speechFrame, bool roomHasVerbs, byte exitCursor) {
_now = now;
_mouse = mouse;
_blocked = blocked;
@@ -248,10 +253,14 @@ void RunawayUI::update(uint32 now, Common::Point mouse, byte roomHotspot, bool b
setInventoryOpen(false);
}
const byte hovered = _inventoryOpen ? itemAt(mouse) : roomHotspot;
- if (_hovered != hovered || _roomHasVerbs != roomHasVerbs) {
+ if (_inventoryOpen || !roomHasVerbs || _museum) {
+ exitCursor = 0;
+ }
+ if (_hovered != hovered || _roomHasVerbs != roomHasVerbs || _exitCursor != exitCursor) {
_hovered = hovered;
_roomHasVerbs = roomHasVerbs;
- setVerb(hovered && (_inventoryOpen || _roomHasVerbs) ? (_inventoryOpen ? kVerbUse : kVerbLook) : kVerbWalk);
+ setVerb(hovered && (_inventoryOpen || _roomHasVerbs) ?
+ (_inventoryOpen || exitCursor ? kVerbUse : kVerbLook) : kVerbWalk, exitCursor);
}
if (now - _buttonTick >= 20) {
const uint steps = MIN<uint>(6, (now - _buttonTick) / 20);
@@ -320,7 +329,7 @@ RunawayUI::Command RunawayUI::click(bool right) {
if (_inventory.selected()) {
_inventory.select(0);
} else if (_hovered && (_inventoryOpen || _roomHasVerbs)) {
- setVerb(_verb == kVerbLook ? kVerbUse : kVerbLook);
+ setVerb(_verb == kVerbLook ? kVerbUse : kVerbLook, _exitCursor);
}
return command;
}
@@ -366,7 +375,7 @@ void RunawayUI::updateCursor() {
const bool useVerbs = _inventoryOpen || _roomHasVerbs;
const byte item = _choices.empty() && useVerbs ? _inventory.selected() : 0;
const RunawayVerb verb = useVerbs ? _verb : kVerbWalk;
- uint tile = _museum ? (verb == kVerbWalk ? 0 : verb == kVerbLook ? 6 : 7) : (uint)verb;
+ uint tile = _museum ? (verb == kVerbWalk ? 0 : verb == kVerbLook ? 6 : 7) : useVerbs ? _cursorType : 0;
uint shade = 0;
if (item) {
tile = _inventory.cursor(item) + (_hovered != 0);
@@ -375,8 +384,8 @@ void RunawayUI::updateCursor() {
// Close-ups such as the keypad keep the plain pointer, without verb morphs.
if (useVerbs && !_museum && phase < 10) {
// Four cels collapse the old verb to a ball; four expand the new one.
- tile = !phase ? (uint)_previousVerb : phase < 5 ? _previousVerb * 4 + 8 + phase :
- phase == 5 ? 8 : _verb * 4 + 18 - phase;
+ tile = !phase ? _previousCursor : phase < 5 ? _previousCursor * 4 + 8 + phase :
+ phase == 5 ? 8 : _cursorType * 4 + 18 - phase;
} else {
const byte pulse[] = {0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9, 8, 7, 6, 5, 4, 3, 2, 1};
shade = pulse[(_now / 50) % ARRAYSIZE(pulse)];
diff --git a/engines/hollywood/runaway/ui.h b/engines/hollywood/runaway/ui.h
index 5754d523875..90d80283800 100644
--- a/engines/hollywood/runaway/ui.h
+++ b/engines/hollywood/runaway/ui.h
@@ -46,7 +46,7 @@ public:
bool load(RunawayGameType game, byte chapter);
bool loadChapter(byte chapter);
void update(uint32 now, Common::Point mouse, byte roomHotspot, bool blocked, bool speaking,
- bool inventoryPresentation = false, byte speechFrame = 0, bool roomHasVerbs = true);
+ bool inventoryPresentation = false, byte speechFrame = 0, bool roomHasVerbs = true, byte exitCursor = 0);
void setDialogueChoices(const Common::Array<Common::U32String> &choices);
Command click(bool right);
void toggleInventory();
@@ -69,7 +69,7 @@ private:
bool overOptions() const;
bool inViewport() const;
void setInventoryOpen(bool open);
- void setVerb(RunawayVerb verb);
+ void setVerb(RunawayVerb verb, byte exitCursor = 0);
void updateCursor();
Common::U32String inventoryCaption() const;
void drawInventory(Graphics::ManagedSurface &screen);
@@ -86,7 +86,8 @@ private:
Common::Point _mouse;
Common::Array<Common::Array<Common::U32String> > _choices;
Common::Array<Common::Rect> _choiceRects;
- RunawayVerb _verb = kVerbWalk, _previousVerb = kVerbWalk;
+ RunawayVerb _verb = kVerbWalk;
+ byte _cursorType = 0, _previousCursor = 0, _exitCursor = 0;
byte _hovered = 0, _buttonFrame = 0, _optionsFrame = 0, _pickupItem = 0;
bool _inventoryOpen = false, _enteredInventory = false, _returnAfterPickup = false;
bool _inventoryPresentation = false;
Commit: 332dac519b836272250d2446d252ebbec10de26e
https://github.com/scummvm/scummvm/commit/332dac519b836272250d2446d252ebbec10de26e
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2026-11-21T20:53:01+01:00
Commit Message:
HOLLYWOOD: RUNAWAY: added restored content in chapter 2
Changed paths:
engines/hollywood/runaway/detection_tables.h
engines/hollywood/runaway/scene4050.cpp
diff --git a/engines/hollywood/runaway/detection_tables.h b/engines/hollywood/runaway/detection_tables.h
index 27f0a1c6a48..3dd52d614e6 100644
--- a/engines/hollywood/runaway/detection_tables.h
+++ b/engines/hollywood/runaway/detection_tables.h
@@ -33,7 +33,7 @@
Common::EN_ANY,
Common::kPlatformWindows,
ADGF_UNSTABLE,
- GUIO1(GUIO_NOMIDI)
+ GUIO2(GUIO_NOMIDI, GAMEOPTION_RESTORED_CONTENT)
},
// English GOG release, with Bink movies.
{
@@ -45,7 +45,7 @@
Common::EN_ANY,
Common::kPlatformWindows,
ADGF_UNSTABLE,
- GUIO1(GUIO_NOMIDI)
+ GUIO2(GUIO_NOMIDI, GAMEOPTION_RESTORED_CONTENT)
},
// Spanish DVD release, with Bink movies.
{
@@ -57,7 +57,7 @@
Common::ES_ESP,
Common::kPlatformWindows,
ADGF_UNSTABLE,
- GUIO1(GUIO_NOMIDI)
+ GUIO2(GUIO_NOMIDI, GAMEOPTION_RESTORED_CONTENT)
},
// English museum demo (2000). Gameplay POC; movies are not supported.
{
diff --git a/engines/hollywood/runaway/scene4050.cpp b/engines/hollywood/runaway/scene4050.cpp
index 6b6c2f2813f..e05cdf3e66b 100644
--- a/engines/hollywood/runaway/scene4050.cpp
+++ b/engines/hollywood/runaway/scene4050.cpp
@@ -19,6 +19,7 @@
*
*/
+#include "common/config-manager.h"
#include "common/util.h"
#include "hollywood/runaway/scene4050.h"
#include "hollywood/runaway/strings.h"
@@ -528,6 +529,9 @@ void Scene4050::finishCustomAnimation(uint16 action) {
case 454: // Finish the exchange with Susan.
say(26, 1);
say(26, 2, false, 1);
+ if (ConfMan.getBool("restored_content")) {
+ say(26, 3);
+ }
deferMuseumAction(453);
break;
case 333: // Collect the ground coffee.
@@ -673,6 +677,12 @@ void Scene4050::startSusanConversation() {
memcpy(_dialogue[10], susan[1], sizeof(susan[1]));
memcpy(_dialogue[11], susan[2], sizeof(susan[2]));
memcpy(_dialogue[20], susan[3], sizeof(susan[3]));
+ if (ConfMan.getBool("restored_content")) {
+ // Follow Susan's first mention of the laser, then return to her work topic.
+ _dialogue[11][0].node = 0;
+ _dialogue[11][0].transition = 1;
+ _dialogue[20][0].node = 1;
+ }
say(80, 15);
say(90, 15, false, 1);
}
More information about the Scummvm-git-logs
mailing list