aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2011-10-27 00:45:55 +0200
committerStrangerke2011-10-27 00:45:55 +0200
commitf4a938d0f8535203ebb917dc78d181b3adf24c97 (patch)
tree8c7b3c48eb59fdcabaad800bd44dddd10d160429 /engines
parentb679f19de36db99a8f08ccea3ac08b111c86de28 (diff)
downloadscummvm-rg350-f4a938d0f8535203ebb917dc78d181b3adf24c97.tar.gz
scummvm-rg350-f4a938d0f8535203ebb917dc78d181b3adf24c97.tar.bz2
scummvm-rg350-f4a938d0f8535203ebb917dc78d181b3adf24c97.zip
TSAGE: Blue Force - Gang arrest: Fix a glitch, add some comments
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/blue_force/blueforce_scenes4.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes4.cpp b/engines/tsage/blue_force/blueforce_scenes4.cpp
index a800ea60ee..0c7e6fbf79 100644
--- a/engines/tsage/blue_force/blueforce_scenes4.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes4.cpp
@@ -35,6 +35,7 @@ namespace BlueForce {
*
*--------------------------------------------------------------------------*/
+// Talk to driver with backup
void Scene410::Action1::signal() {
Scene410 *scene = (Scene410 *)BF_GLOBALS._sceneManager._scene;
@@ -62,6 +63,7 @@ void Scene410::Action1::signal() {
}
}
+// Talk to passenger with backup
void Scene410::Action2::signal() {
Scene410 *scene = (Scene410 *)BF_GLOBALS._sceneManager._scene;
BF_GLOBALS._player.disableControl();
@@ -98,6 +100,7 @@ void Scene410::Action2::signal() {
}
}
+// Talk to passenger without backup
void Scene410::Action3::signal() {
Scene410 *scene = (Scene410 *)BF_GLOBALS._sceneManager._scene;
if (BF_GLOBALS.getFlag(fTalkedShooterNoBkup)) {
@@ -111,6 +114,7 @@ void Scene410::Action3::signal() {
}
}
+// Talk to driver without backup
void Scene410::Action4::signal() {
Scene410 *scene = (Scene410 *)BF_GLOBALS._sceneManager._scene;
@@ -128,6 +132,7 @@ void Scene410::Action4::signal() {
}
}
+// Talk to passenger
void Scene410::Action5::signal() {
Scene410 *scene = (Scene410 *)BF_GLOBALS._sceneManager._scene;
@@ -158,6 +163,7 @@ void Scene410::Action5::signal() {
}
}
+// Talk to driver
void Scene410::Action6::signal() {
Scene410 *scene = (Scene410 *)BF_GLOBALS._sceneManager._scene;
@@ -780,9 +786,10 @@ void Scene410::signal() {
setAction(&_sequenceManager1, this, 4108, &_harrison, NULL);
break;
case 4109:
+ // Harrison puts handcuffs to driver
if ((BF_GLOBALS._player._position.x > 116) && (BF_GLOBALS._player._position.x != 195) &&
(BF_GLOBALS._player._position.y != 139)) {
- ADD_PLAYER_MOVER(195, 139);
+ ADD_PLAYER_MOVER_NULL(BF_GLOBALS._player, 195, 139);
}
BF_GLOBALS._walkRegions.proc2(22);