aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2011-10-09 11:25:46 +0200
committerStrangerke2011-10-09 11:25:46 +0200
commit7cd8184237a2dea9bb7a54ed88c69fe611b92c4e (patch)
treeecd075ac7109503d5c3a897dcf074dd7d7b81521
parenta9abe40a124a6f7ab492906581674033d2d40942 (diff)
downloadscummvm-rg350-7cd8184237a2dea9bb7a54ed88c69fe611b92c4e.tar.gz
scummvm-rg350-7cd8184237a2dea9bb7a54ed88c69fe611b92c4e.tar.bz2
scummvm-rg350-7cd8184237a2dea9bb7a54ed88c69fe611b92c4e.zip
TsAGE: Add globals used in scene 910
-rw-r--r--engines/tsage/globals.cpp34
-rw-r--r--engines/tsage/globals.h8
2 files changed, 42 insertions, 0 deletions
diff --git a/engines/tsage/globals.cpp b/engines/tsage/globals.cpp
index 715bf552f0..dba65c16e9 100644
--- a/engines/tsage/globals.cpp
+++ b/engines/tsage/globals.cpp
@@ -198,6 +198,15 @@ void BlueForceGlobals::synchronize(Serializer &s) {
s.syncAsSint16LE(_v4CEC2);
s.syncAsSint16LE(_v4CEC4);
s.syncAsSint16LE(_v4CEC8);
+ s.syncAsSint16LE(_v4CECA);
+ s.syncAsSint16LE(_v4CECC);
+ for (int i = 0; i < 18; i++)
+ s.syncAsByte(_v4CECE[i]);
+ s.syncAsSint16LE(_v4CEE0);
+ s.syncAsSint16LE(_v4CEE2);
+ s.syncAsSint16LE(_v4CEE4);
+ s.syncAsSint16LE(_v4CEE6);
+ s.syncAsSint16LE(_v4CEE8);
s.syncAsSint16LE(_deziTopic);
s.syncAsSint16LE(_deathReason);
s.syncAsSint16LE(_driveFromScene);
@@ -246,6 +255,31 @@ void BlueForceGlobals::reset() {
_v4CEC2 = 0;
_v4CEC4 = 0;
_v4CEC8 = 1;
+ _v4CECA = 0;
+ _v4CECC = 0;
+ _v4CECE[0] = 2;
+ _v4CECE[1] = 2;
+ _v4CECE[2] = 2;
+ _v4CECE[3] = 1;
+ _v4CECE[4] = 2;
+ _v4CECE[5] = 2;
+ _v4CECE[6] = 2;
+ _v4CECE[7] = 2;
+ _v4CECE[8] = 2;
+ _v4CECE[9] = 2;
+ _v4CECE[10] = 2;
+ _v4CECE[11] = 2;
+ _v4CECE[12] = 1;
+ _v4CECE[13] = 1;
+ _v4CECE[14] = 2;
+ _v4CECE[15] = 2;
+ _v4CECE[16] = 3;
+ _v4CECE[17] = 0;
+ _v4CEE0 = 0;
+ _v4CEE2 = 0;
+ _v4CEE4 = 0;
+ _v4CEE6 = 0;
+ _v4CEE8 = 0;
_deziTopic = 0;
_deathReason = 0;
_v501FC = 0;
diff --git a/engines/tsage/globals.h b/engines/tsage/globals.h
index fa99e36ab9..a509366919 100644
--- a/engines/tsage/globals.h
+++ b/engines/tsage/globals.h
@@ -176,6 +176,14 @@ public:
int _v4CEC2;
int _v4CEC4;
int _v4CEC8;
+ int _v4CECA;
+ int _v4CECC;
+ int8 _v4CECE[18];
+ int _v4CEE0;
+ int _v4CEE2;
+ int _v4CEE4;
+ int _v4CEE6;
+ int _v4CEE8;
int _deziTopic;
int _deathReason;
int _driveFromScene;