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_RIDDLE_ROOMS_SECTION4_ROOM402_H
23 #define M4_RIDDLE_ROOMS_SECTION4_ROOM402_H
24 
25 #include "m4/riddle/rooms/room.h"
26 
27 namespace M4 {
28 namespace Riddle {
29 namespace Rooms {
30 
31 class Room402 : public Room {
32 private:
33  int _val1 = 0;
34  int _val2 = 0;
35  int _val4 = 0;
36  int _val5 = 0;
37  int _val6 = 0;
38  int _val8 = 0;
39  int _currentNode = 0;
40  int _val10 = 0;
41  int _val11 = 0;
42  int _val12 = 0;
43  int _val13 = 0;
44  int _val14 = 0;
45  machine *_wolfie = nullptr;
46  machine *_wolfieMach = nullptr;
47  int _shadow3 = 0;
48  int _ripPaysWolfie = 0;
49  int _ripTalkWolf = 0;
50  int _ripTalker = 0;
51  int _wolfClipping = 0;
52  int _wolfClippersDown = 0;
53  int _wolfShakesHead = 0;
54  int _wolfWantsMoney = 0;
55  int _ripHeadTurn = 0;
56  int _ripDownStairs = 0;
57  machine *_ripEnterLeave = nullptr;
58  machine *_branch = nullptr;
59  int _wolfTurnsClipping = 0;
60  int _turtlePopup = 0;
61  int _ripLeanWall = 0;
62  machine *_wolfWalker = nullptr;
63  machine *_safariShadow = nullptr;
64  int _ripMessesBush = 0;
65  int _ripClimbKnock = 0;
66  int _doorOpens = 0;
67  machine *_castleDoor = nullptr;
68  machine *_machine1 = nullptr;
69  int _machine1Series = 0;
70  int _flags111 = 0;
71  machine *_turtlePopupMach = nullptr;
72  int _letter = 0;
73  Common::String _sound1;
74  Common::String _sound2;
75 
76  void conv402a();
77  void conv402a777();
78  void useTopiary();
79  void enterCastle();
80 
81 public:
82  Room402() : Room() {}
83  ~Room402() override {}
84 
85  void preload() override;
86  void init() override;
87  void daemon() override;
88  void pre_parser() override;
89  void parser() override;
90 };
91 
92 } // namespace Rooms
93 } // namespace Riddle
94 } // namespace M4
95 
96 #endif
Definition: ws_machine.h:130
Definition: str.h:59
Definition: database.h:28
Definition: room402.h:31
Definition: room.h:35