ScummVM API documentation
room137.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_ROOM137_H
23 #define M4_BURGER_ROOMS_SECTION1_ROOM137_H
24 
25 #include "m4/burger/rooms/room.h"
26 
27 namespace M4 {
28 namespace Burger {
29 namespace Rooms {
30 
31 class Room137 : public Room {
32 private:
33  bool _flag1 = false;
34  bool _flag2 = false;
35  bool _arrested = false;
36  int _volume = 255;
37  int _deputyShould = 0;
38  int _deputyMode = 0;
39  int _sherrifShould = 0;
40  int _sherrifMode = 0;
41  const char *_digi1 = nullptr;
42  machine *_door = nullptr;
43  machine *_series2 = nullptr;
44  machine *_series3 = nullptr;
45 
46  void conv15();
47  void unloadAssets();
48  void jawz();
49  void movementCheck();
50  void startPoliceTalk();
51 
52 public:
53  Room137() : Room() {}
54  ~Room137() override {}
55 
56  void init() override;
57  void daemon() override;
58  void pre_parser() override;
59  void parser() override;
60 };
61 
62 } // namespace Rooms
63 } // namespace Burger
64 } // namespace M4
65 
66 #endif
Definition: ws_machine.h:130
Definition: room.h:38
Definition: database.h:28
Definition: room137.h:31