aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap/scenes/scene47.cpp
diff options
context:
space:
mode:
authorStrangerke2016-03-20 23:37:05 +0100
committerEugene Sandulenko2016-05-10 09:54:21 +0200
commitcb69189a50abb8771fc7196c07b8bcfa93c06547 (patch)
tree37b36cd95fdfc8b6bf22571d30951e96cbfe828b /engines/gnap/scenes/scene47.cpp
parentb357844bde5e805aaca53ee51adcaee016e53d7c (diff)
downloadscummvm-rg350-cb69189a50abb8771fc7196c07b8bcfa93c06547.tar.gz
scummvm-rg350-cb69189a50abb8771fc7196c07b8bcfa93c06547.tar.bz2
scummvm-rg350-cb69189a50abb8771fc7196c07b8bcfa93c06547.zip
GNAP: Renaming in cutscenes
Diffstat (limited to 'engines/gnap/scenes/scene47.cpp')
-rw-r--r--engines/gnap/scenes/scene47.cpp158
1 files changed, 79 insertions, 79 deletions
diff --git a/engines/gnap/scenes/scene47.cpp b/engines/gnap/scenes/scene47.cpp
index f4aa91feda..bb5f53286f 100644
--- a/engines/gnap/scenes/scene47.cpp
+++ b/engines/gnap/scenes/scene47.cpp
@@ -27,21 +27,21 @@
namespace Gnap {
void GnapEngine::scene47_initCutscene1() {
- _s99_dword_47F370[0] = 0x301;
- _s99_dword_47F370[1] = 0x305;
- _s99_dword_47F370[2] = 0x302;
- _s99_dword_47F370[3] = 0x304;
- _s99_dword_47F370[4] = 0x300;
- _s99_dword_47F2F0[0] = 3;
- _s99_dword_47F2F0[1] = 0;
- _s99_dword_47F2F0[2] = 1;
- _s99_dword_47F2F0[3] = 0;
- _s99_dword_47F2F0[4] = 2;
- _s99_dword_47F330[0] = 1;
- _s99_dword_47F330[1] = 1;
- _s99_dword_47F330[2] = 1;
- _s99_dword_47F330[3] = 1;
- _s99_dword_47F330[4] = 1;
+ _s99_sequenceIdArr[0] = 0x301;
+ _s99_sequenceIdArr[1] = 0x305;
+ _s99_sequenceIdArr[2] = 0x302;
+ _s99_sequenceIdArr[3] = 0x304;
+ _s99_sequenceIdArr[4] = 0x300;
+ _s99_resourceIdArr[0] = 3;
+ _s99_resourceIdArr[1] = 0;
+ _s99_resourceIdArr[2] = 1;
+ _s99_resourceIdArr[3] = 0;
+ _s99_resourceIdArr[4] = 2;
+ _s99_sequenceCountArr[0] = 1;
+ _s99_sequenceCountArr[1] = 1;
+ _s99_sequenceCountArr[2] = 1;
+ _s99_sequenceCountArr[3] = 1;
+ _s99_sequenceCountArr[4] = 1;
_s99_canSkip[0] = 0;
_s99_canSkip[1] = 0;
_s99_canSkip[2] = 0;
@@ -51,19 +51,19 @@ void GnapEngine::scene47_initCutscene1() {
}
void GnapEngine::scene47_initCutscene2() {
- _s99_dword_47F370[0] = 0x306;
- _s99_dword_47F370[1] = 0x309;
- _s99_dword_47F370[2] = 0x307;
- _s99_dword_47F370[3] = 0x308;
- _s99_dword_47F370[4] = 0x30A;
- _s99_dword_47F2F0[0] = 0x8E;
- _s99_dword_47F2F0[1] = 0x90;
- _s99_dword_47F2F0[2] = 0x8F;
- _s99_dword_47F2F0[3] = 0x91;
- _s99_dword_47F330[0] = 2;
- _s99_dword_47F330[1] = 1;
- _s99_dword_47F330[2] = 1;
- _s99_dword_47F330[3] = 1;
+ _s99_sequenceIdArr[0] = 0x306;
+ _s99_sequenceIdArr[1] = 0x309;
+ _s99_sequenceIdArr[2] = 0x307;
+ _s99_sequenceIdArr[3] = 0x308;
+ _s99_sequenceIdArr[4] = 0x30A;
+ _s99_resourceIdArr[0] = 0x8E;
+ _s99_resourceIdArr[1] = 0x90;
+ _s99_resourceIdArr[2] = 0x8F;
+ _s99_resourceIdArr[3] = 0x91;
+ _s99_sequenceCountArr[0] = 2;
+ _s99_sequenceCountArr[1] = 1;
+ _s99_sequenceCountArr[2] = 1;
+ _s99_sequenceCountArr[3] = 1;
_s99_canSkip[0] = 0;
_s99_canSkip[1] = 0;
_s99_canSkip[2] = 0;
@@ -72,27 +72,27 @@ void GnapEngine::scene47_initCutscene2() {
}
void GnapEngine::scene47_initCutscene3() {
- _s99_dword_47F370[0] = 0x320;
- _s99_dword_47F370[1] = 0x321;
- _s99_dword_47F2F0[0] = 0x142;
- _s99_dword_47F2F0[1] = 0x143;
- _s99_dword_47F330[0] = 1;
- _s99_dword_47F330[1] = 1;
+ _s99_sequenceIdArr[0] = 0x320;
+ _s99_sequenceIdArr[1] = 0x321;
+ _s99_resourceIdArr[0] = 0x142;
+ _s99_resourceIdArr[1] = 0x143;
+ _s99_sequenceCountArr[0] = 1;
+ _s99_sequenceCountArr[1] = 1;
_s99_canSkip[0] = 0;
_s99_canSkip[1] = 0;
_s99_itemsCount = 2;
}
void GnapEngine::scene47_initCutscene4() {
- _s99_dword_47F370[0] = 0x30C;
- _s99_dword_47F370[1] = 0x30D;
- _s99_dword_47F370[2] = 0x30B;
- _s99_dword_47F2F0[0] = 0x142;
- _s99_dword_47F2F0[1] = 0x141;
- _s99_dword_47F2F0[2] = 0x177;
- _s99_dword_47F330[0] = 1;
- _s99_dword_47F330[1] = 1;
- _s99_dword_47F330[2] = 1;
+ _s99_sequenceIdArr[0] = 0x30C;
+ _s99_sequenceIdArr[1] = 0x30D;
+ _s99_sequenceIdArr[2] = 0x30B;
+ _s99_resourceIdArr[0] = 0x142;
+ _s99_resourceIdArr[1] = 0x141;
+ _s99_resourceIdArr[2] = 0x177;
+ _s99_sequenceCountArr[0] = 1;
+ _s99_sequenceCountArr[1] = 1;
+ _s99_sequenceCountArr[2] = 1;
_s99_canSkip[0] = 0;
_s99_canSkip[1] = 0;
_s99_canSkip[2] = 0;
@@ -100,24 +100,24 @@ void GnapEngine::scene47_initCutscene4() {
}
void GnapEngine::scene47_initCutscene5() {
- _s99_dword_47F370[0] = 0x30E;
- _s99_dword_47F370[1] = 0x30F;
- _s99_dword_47F370[2] = 0x310;
- _s99_dword_47F370[3] = 0x311;
- _s99_dword_47F2F0[0] = 0x206;
- _s99_dword_47F2F0[1] = 0x207;
- _s99_dword_47F330[0] = 3;
- _s99_dword_47F330[1] = 1;
+ _s99_sequenceIdArr[0] = 0x30E;
+ _s99_sequenceIdArr[1] = 0x30F;
+ _s99_sequenceIdArr[2] = 0x310;
+ _s99_sequenceIdArr[3] = 0x311;
+ _s99_resourceIdArr[0] = 0x206;
+ _s99_resourceIdArr[1] = 0x207;
+ _s99_sequenceCountArr[0] = 3;
+ _s99_sequenceCountArr[1] = 1;
_s99_canSkip[0] = 0;
_s99_canSkip[1] = 0;
_s99_itemsCount = 2;
}
void GnapEngine::scene47_initCutscene6() {
- _s99_dword_47F370[0] = 0x31E;
- _s99_dword_47F370[1] = 0x31F;
- _s99_dword_47F2F0[0] = 0x2FA;
- _s99_dword_47F330[0] = 2;
+ _s99_sequenceIdArr[0] = 0x31E;
+ _s99_sequenceIdArr[1] = 0x31F;
+ _s99_resourceIdArr[0] = 0x2FA;
+ _s99_sequenceCountArr[0] = 2;
_s99_canSkip[0] = 0;
_s99_itemsCount = 1;
}
@@ -125,41 +125,41 @@ void GnapEngine::scene47_initCutscene6() {
void GnapEngine::scene47_initCutscene7() {
int v0, v4, v2, v3;
- _s99_dword_47F370[0] = 0x316;
- _s99_dword_47F370[1] = 0x31A;
- _s99_dword_47F370[2] = 0x314;
- _s99_dword_47F370[3] = 0x31B;
+ _s99_sequenceIdArr[0] = 0x316;
+ _s99_sequenceIdArr[1] = 0x31A;
+ _s99_sequenceIdArr[2] = 0x314;
+ _s99_sequenceIdArr[3] = 0x31B;
int v1 = 4;
if (!isFlag(3)) {
- _s99_dword_47F370[4] = 0x31C;
+ _s99_sequenceIdArr[4] = 0x31C;
v1 = 5;
}
if (!isFlag(26))
- _s99_dword_47F370[v1++] = 0x31D;
+ _s99_sequenceIdArr[v1++] = 0x31D;
v4 = v1;
- _s99_dword_47F370[v1] = 0x319;
+ _s99_sequenceIdArr[v1] = 0x319;
v0 = v1 + 1;
v3 = v0;
- _s99_dword_47F370[v0++] = 0x317;
- _s99_dword_47F370[v0++] = 0x312;
- _s99_dword_47F370[v0] = 0x31A;
+ _s99_sequenceIdArr[v0++] = 0x317;
+ _s99_sequenceIdArr[v0++] = 0x312;
+ _s99_sequenceIdArr[v0] = 0x31A;
v2 = v0 + 1;
if (!isFlag(3))
- _s99_dword_47F370[v2++] = 0x31C;
+ _s99_sequenceIdArr[v2++] = 0x31C;
if (!isFlag(26))
- _s99_dword_47F370[v2++] = 0x31D;
- _s99_dword_47F370[v2] = 0x313;
- _s99_dword_47F370[v2 + 1] = 0x315;
- _s99_dword_47F2F0[0] = 0x2B8;
- _s99_dword_47F2F0[1] = 0x20C;
- _s99_dword_47F2F0[2] = 0x2B8;
- _s99_dword_47F2F0[3] = 0x20B;
- _s99_dword_47F2F0[4] = 0x20B;
- _s99_dword_47F330[0] = v4;
- _s99_dword_47F330[1] = 1;
- _s99_dword_47F330[2] = v2 - v3;
- _s99_dword_47F330[3] = 1;
- _s99_dword_47F330[4] = 1;
+ _s99_sequenceIdArr[v2++] = 0x31D;
+ _s99_sequenceIdArr[v2] = 0x313;
+ _s99_sequenceIdArr[v2 + 1] = 0x315;
+ _s99_resourceIdArr[0] = 0x2B8;
+ _s99_resourceIdArr[1] = 0x20C;
+ _s99_resourceIdArr[2] = 0x2B8;
+ _s99_resourceIdArr[3] = 0x20B;
+ _s99_resourceIdArr[4] = 0x20B;
+ _s99_sequenceCountArr[0] = v4;
+ _s99_sequenceCountArr[1] = 1;
+ _s99_sequenceCountArr[2] = v2 - v3;
+ _s99_sequenceCountArr[3] = 1;
+ _s99_sequenceCountArr[4] = 1;
_s99_canSkip[0] = 0;
_s99_canSkip[1] = 0;
_s99_canSkip[2] = 0;