aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap/scenes/scene54.cpp
blob: 76bc66b9f3f3c59f7f985a88e32e53fb156e6f00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/* ScummVM - Graphic Adventure Engine
 *
 * ScummVM is the legal property of its developers, whose names
 * are too numerous to list here. Please refer to the COPYRIGHT
 * file distributed with this source distribution.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 *
 */

#include "gnap/gnap.h"
#include "gnap/gamesys.h"
#include "gnap/resource.h"

namespace Gnap {

void GnapEngine::scene54_initCutscene1() {
	_s99_dword_47F370[0] = 0x1BE;
	_s99_dword_47F370[1] = 0x1BF;
	_s99_dword_47F370[2] = 0x1BA;
	_s99_dword_47F370[3] = 0x1BB;
	_s99_dword_47F370[4] = 0x1BD;
	_s99_dword_47F370[5] = 0x1BC;
	_s99_dword_47F2F0[0] = 0x3C;
	_s99_dword_47F2F0[1] = 0x43;
	_s99_dword_47F2F0[2] = 0x44;
	if (isFlag(20))
		_s99_dword_47F2F0[3] = 0x47;
	else
		_s99_dword_47F2F0[3] = 0x46;
	_s99_dword_47F2F0[4] = 0x45;
	_s99_dword_47F330[0] = 1;
	_s99_dword_47F330[1] = 1;
	_s99_dword_47F330[2] = 1;
	_s99_dword_47F330[3] = 2;
	_s99_dword_47F330[4] = 1;
	_s99_canSkip[0] = 0;
	_s99_canSkip[1] = 0;
	_s99_canSkip[2] = 0;
	_s99_canSkip[3] = 0;
	_s99_canSkip[4] = 0;
	_s99_itemsCount = 5;
}

void GnapEngine::scene54_initCutscene2() {
	_s99_dword_47F370[0] = 0x1C9;
	_s99_dword_47F370[1] = 0x1C7;
	_s99_dword_47F370[2] = 0x1CC;
	_s99_dword_47F370[3] = 0x1C8;
	_s99_dword_47F370[4] = 0x1CB;
	_s99_dword_47F370[5] = 0x1C0;
	_s99_dword_47F370[6] = 0x1CA;
	_s99_dword_47F370[7] = 0x1CE;
	_s99_dword_47F370[8] = 0x1CD;
	_s99_dword_47F370[9] = 0x1C1;
	_s99_dword_47F370[10] = 0x1C2;
	_s99_dword_47F370[11] = 0x1C3;
	_s99_dword_47F370[12] = 0x1C4;
	_s99_dword_47F370[13] = 0x1C6;
	_s99_dword_47F370[14] = 0x1C5;
	_s99_dword_47F370[15] = 0x1D0;
	_s99_dword_47F370[16] = 0x1D0;
	_s99_dword_47F370[17] = 0x1D0;
	_s99_dword_47F2F0[0] = 0xD5;
	_s99_dword_47F2F0[1] = 0x14C;
	_s99_dword_47F2F0[2] = 0xD5;
	_s99_dword_47F2F0[3] = 0xBF;
	_s99_dword_47F2F0[4] = 0xD6;
	_s99_dword_47F2F0[5] = 0x154;
	_s99_dword_47F2F0[6] = 0x155;
	_s99_dword_47F2F0[7] = 0xB9;
	_s99_dword_47F2F0[8] = 0xBA;
	_s99_dword_47F2F0[9] = 0x17B;
	_s99_dword_47F2F0[10] = 0x17A;
	_s99_dword_47F2F0[11] = 0x17C;
	_s99_dword_47F2F0[12] = 0x17A;
	_s99_dword_47F2F0[13] = 0x1B7;
	_s99_dword_47F2F0[14] = 0x1B8;
	_s99_dword_47F2F0[15] = 0x1B9;
	_s99_dword_47F330[0] = 2;
	_s99_dword_47F330[1] = 1;
	_s99_dword_47F330[2] = 2;
	_s99_dword_47F330[3] = 1;
	_s99_dword_47F330[4] = 1;
	_s99_dword_47F330[5] = 1;
	_s99_dword_47F330[6] = 1;
	_s99_dword_47F330[7] = 1;
	_s99_dword_47F330[8] = 1;
	_s99_dword_47F330[9] = 1;
	_s99_dword_47F330[10] = 1;
	_s99_dword_47F330[11] = 1;
	_s99_dword_47F330[12] = 1;
	_s99_dword_47F330[13] = 1;
	_s99_dword_47F330[14] = 1;
	_s99_dword_47F330[15] = 1;
	_s99_canSkip[0] = 0;
	_s99_canSkip[1] = 0;
	_s99_canSkip[2] = 0;
	_s99_canSkip[3] = 0;
	_s99_canSkip[4] = 0;
	_s99_canSkip[5] = 0;
	_s99_canSkip[6] = 0;
	_s99_canSkip[7] = 0;
	_s99_canSkip[8] = 0;
	_s99_canSkip[9] = 0;
	_s99_canSkip[10] = 0;
	_s99_canSkip[11] = 0;
	_s99_canSkip[12] = 0;
	_s99_canSkip[13] = 1;
	_s99_canSkip[14] = 1;
	_s99_canSkip[15] = 0;
	_s99_itemsCount = 16;
}

} // End of namespace Gnap