ScummVM API documentation
room402.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_ROOM402_H
23#define M4_BURGER_ROOMS_SECTION4_ROOM402_H
24
25#include "m4/burger/rooms/section4/section4_room.h"
26
27namespace M4 {
28namespace Burger {
29namespace Rooms {
30
31class Room402 : public Section4Room {
32private:
33 static const char *SAID[][4];
34 static const seriesStreamBreak SERIES1[];
35 static const seriesStreamBreak SERIES2[];
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 const char *_digiName = nullptr;
53 KernelTriggerType _newMode = KT_DAEMON;
54 bool _stolieSet = false;
55 Series _stolie;
56 bool _series2Set = false;
57 Series _series2;
58 Series _series3;
59 int _dr01 = -1, _dr01s = -1;
60 int _dr02 = -1, _dr02s = -1;
61 int _dr03 = -1, _dr03s = -1;
62 int _dr08 = -1, _dr08s = -1;
63 int _pe01 = -1, _pe01s = -1;
64 int _pe02 = -1, _pe02s = -1;
65 int _pe03 = -1, _pe03s = -1;
66 int _pe04 = -1, _pe04s = -1;
67 int _wi01 = -1, _wi01s = -1;
68 int _wi02 = -1, _wi02s = -1;
69 int _digiTrigger = 0;
70 int _stolieShould = 0;
71 int _elmoShould = 0;
72 int _val4 = 0;
73 int _elmoMode = 0;
74 int _stolieMode = 0;
75
76 void conv84();
77 void playDigiName();
78 void playRandom1();
79 void playRandom2();
80 void freeStolie();
81 void freeSeries2();
82 void loadDr1();
83 void freeDr1();
84 void loadDr2();
85 void freeDr2();
86 void loadDr8();
87 void freeDr8();
88 void loadPe1();
89 void freePe1();
90 void loadPe2();
91 void freePe2();
92 void loadPe3();
93 void freePe3();
94 void loadPe4();
95 void freePe4();
96
97public:
98 Room402() : Section4Room() {}
99 ~Room402() override {}
100
101 void init() override;
102 void daemon() override;
103 void pre_parser() override;
104 void parser() override;
105};
106
107} // namespace Rooms
108} // namespace Burger
109} // namespace M4
110
111#endif
Definition: room402.h:31
Definition: section4_room.h:31
Definition: database.h:28
Definition: play_break.h:32
Definition: stream_break.h:32
Definition: gr_series.h:49