ScummVM API documentation
room407.h
1/* ScummVM - Graphic Adventure Engine
2 *
3 * ScummVM is the legal property of its developers, whose names
4 * are too numerous to list here. Please refer to the COPYRIGHT
5 * file distributed with this source distribution.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef M4_BURGER_ROOMS_SECTION4_ROOM407_H
23#define M4_BURGER_ROOMS_SECTION4_ROOM407_H
24
25#include "m4/burger/rooms/section4/section4_room.h"
26#include "m4/burger/walker.h"
27
28namespace M4 {
29namespace Burger {
30namespace Rooms {
31
32class Room407 : public Section4Room {
33private:
34 static const char *SAID[][4];
35 static const WilburMatch MATCH[];
36 static const seriesPlayBreak PLAY1[];
37 static const seriesPlayBreak PLAY2[];
38 static const seriesPlayBreak PLAY3[];
39 static const seriesPlayBreak PLAY4[];
40 static const seriesPlayBreak PLAY5[];
41 static const seriesPlayBreak PLAY6[];
42 static const seriesPlayBreak PLAY7[];
43 static const seriesPlayBreak PLAY8[];
44 static const seriesPlayBreak PLAY9[];
45 static const seriesPlayBreak PLAY10[];
46 static const seriesPlayBreak PLAY11[];
47 static const seriesPlayBreak PLAY12[];
48 static const seriesPlayBreak PLAY13[];
49 static const seriesPlayBreak PLAY14[];
50 static const seriesPlayBreak PLAY15[];
51 static const seriesPlayBreak PLAY16[];
52 static const seriesPlayBreak PLAY17[];
53 static const seriesPlayBreak PLAY18[];
54 static int32 _speechNum;
55 Series _vp02;
56 Series _dz;
57 int _dzS1 = 0, _dzS2 = 0;
58 machine *_rx = nullptr;
59 noWalkRect *_walk1 = nullptr;
60 Common::String _digiName;
61 bool _flag1 = false;
62 int _val1 = 0;
63 int _drumzShould = 0;
64 int _roxyShould = 0;
65 int _roxyState = 0;
66 int _vipeShould = 0;
67 //int _digiTrigger = 0;
68
69 void loadSeries();
70 void conv87();
71 void conv88();
72 int getDrumzShould() const;
73 void freeDz();
74 void playConvSound();
75
76public:
77 Room407();
78 ~Room407() override {}
79
80 void init() override;
81 void daemon() override;
82 void pre_parser() override;
83 void parser() override;
84};
85
86} // namespace Rooms
87} // namespace Burger
88} // namespace M4
89
90#endif
Definition: str.h:59
Definition: room407.h:32
Definition: section4_room.h:31
Definition: database.h:28
Definition: walker.h:33
Definition: play_break.h:32
Definition: gr_series.h:49
Definition: ws_machine.h:156
Definition: adv.h:68