ScummVM API documentation
room507.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_SECTION5_ROOM507_H
23#define M4_BURGER_ROOMS_SECTION5_ROOM507_H
24
25#include "m4/burger/rooms/section5/section5_room.h"
26
27namespace M4 {
28namespace Burger {
29namespace Rooms {
30
31class Room507 : public Section5Room {
32private:
33 static const char *SAID[][4];
34 static const seriesPlayBreak PLAY1[];
35 static const seriesPlayBreak PLAY2[];
36 static const seriesPlayBreak PLAY3[];
37 static const seriesPlayBreak PLAY4[];
38 static const seriesPlayBreak PLAY5[];
39 static const seriesPlayBreak PLAY6[];
40 static const seriesPlayBreak PLAY7[];
41 static const seriesPlayBreak PLAY8[];
42 static const seriesPlayBreak PLAY9[];
43 static const seriesPlayBreak PLAY10[];
44 static const seriesPlayBreak PLAY11[];
45 static const seriesPlayBreak PLAY12[];
46 static const seriesPlayBreak PLAY13[];
47 static const seriesPlayBreak PLAY14[];
48 static const seriesPlayBreak PLAY15[];
49 static const seriesPlayBreak PLAY16[];
50 static const seriesPlayBreak PLAY17[];
51 static const seriesPlayBreak PLAY18[];
52 static int32 _state1;
53 static int32 _state2;
54 static int32 _state3;
55 static int32 _state4;
56 static int32 _state5;
57 machine *_series1 = nullptr;
58 machine *_series2 = nullptr;
59 machine *_series3 = nullptr;
60 machine *_series4 = nullptr;
61 int _ctr = 0;
62 int _triggers[5];
63 bool _flag1 = false;
64 bool _flag2 = false;
65 int _val1 = 0;
66 int _val2 = 0;
67 int _val3 = 0;
68 int _val4 = 0;
69 int _val5 = 0;
70 int _val6 = 0;
71 int _itemNum = 0;
72
73 void loadSeries();
74
75public:
76 Room507();
77 ~Room507() override {}
78
79 void init() override;
80 void daemon() override;
81 void pre_parser() override;
82 void parser() override;
83};
84
85} // namespace Rooms
86} // namespace Burger
87} // namespace M4
88
89#endif
Definition: room507.h:31
Definition: section5_room.h:31
Definition: database.h:28
Definition: play_break.h:32
Definition: ws_machine.h:156