ScummVM API documentation
room102.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_ROOM102_H
23#define M4_BURGER_ROOMS_SECTION1_ROOM102_H
24
25#include "m4/burger/rooms/room.h"
26
27namespace M4 {
28namespace Burger {
29namespace Rooms {
30
31class Room102 : public Room {
32private:
33 int _val1 = 0;
34 int _val3 = -1;
35 int32 _val4 = 0;
36 int _val5 = 0;
37 int _val6 = 0;
38 int _val8 = 0;
39 int _val9 = 0;
40 uint32 _val10 = 99999;
41 int _harryMode = 0;
42 int _harryShould = 0;
43 int _wilburChairShould = 0;
44 int _wilburChairMode = 0;
45 int _val16 = 0;
46 int _trigger = -1;
47 KernelTriggerType _triggerMode = KT_DAEMON;
48 machine *_series1 = nullptr;
49 machine *_series1s = nullptr;
50 machine *_series3 = nullptr;
51 Series _wilburChair;
52 machine *_series6 = nullptr;
53 machine *_series7 = nullptr;
54 machine *_laz1 = nullptr;
55 machine *_laz2 = nullptr;
56 machine *_stream1 = nullptr;
57 int _index1 = 0, _index2 = 0;
58 int _index3 = 0, _index4 = 0;
59 int _index5 = 0;
60 const char *_play1 = nullptr;
61 bool _flag1 = false;
62
63 void setup(int val1 = 0, int val2 = 1);
64 void setupWax();
65 void setupLaz();
66 const char *getDigi1(int num) const;
67 const char *getDigi2(int num) const;
68 void freeWilburChair();
69 void queuePlay(const char *filename, int trigger = 29, KernelTriggerType triggerMode = KT_DAEMON);
70 void freshen();
71 void conv04();
72 void conv05();
73 void conv06();
74 void flagAction(const char *name1, const char *name2);
75
76public:
77 Room102() : Room() {}
78 ~Room102() 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: room102.h:31
Definition: room.h:36
Definition: database.h:28
Definition: gr_series.h:49
Definition: ws_machine.h:156