ScummVM API documentation
room171.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_SECTION1_ROOM171_H
23 #define M4_BURGER_ROOMS_SECTION1_ROOM171_H
24 
25 #include "m4/burger/rooms/room.h"
26 
27 namespace M4 {
28 namespace Burger {
29 namespace Rooms {
30 
31 class Room171 : public Room {
32  static const seriesPlayBreak PLAY1[];
33  static const seriesPlayBreak PLAY2[];
34  static const seriesPlayBreak PLAY3[];
35  static const seriesPlayBreak PLAY4[];
36  static const seriesPlayBreak PLAY5[];
37  static const seriesPlayBreak PLAY6[];
38  static const seriesPlayBreak PLAY7[];
39  static const seriesPlayBreak PLAY8[];
40  static const seriesPlayBreak PLAY9[];
41  static const seriesPlayBreak PLAY10[];
42  static const seriesPlayBreak PLAY11[];
43  static const seriesPlayBreak PLAY12[];
44  static const seriesPlayBreak PLAY13[];
45  static const seriesPlayBreak PLAY14[];
46  static const seriesPlayBreak PLAY15[];
47  static const seriesPlayBreak PLAY16[];
48  static const seriesPlayBreak PLAY17[];
49 
50 private:
51  Series _series;
52  Series _chair;
53  machine *_series3 = nullptr;
54  machine *_lid = nullptr;
55  const char *_digi1 = nullptr;
56  bool _flag1 = false;
57  bool _doorFlag = false;
58  int _val1 = 0;
59  int _pollyShould = 0;
60 
61  void loadSeries1();
62  void loadSeries2();
63  void loadSeries3();
64  void loadSeries4();
65  void loadSeries5();
66  void freeSeries();
67  void frontDoor();
68  void conv40();
69 
70 public:
71  Room171() : Room() {}
72  ~Room171() override {}
73 
74  void init() override;
75  void daemon() override;
76  void pre_parser() override;
77  void parser() override;
78 };
79 
80 } // namespace Rooms
81 } // namespace Burger
82 } // namespace M4
83 
84 #endif
Definition: ws_machine.h:130
Definition: gr_series.h:58
Definition: room171.h:31
Definition: room.h:38
Definition: database.h:28
Definition: play_break.h:32