ScummVM API documentation
room701.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_SECTION7_ROOM701_H
23 #define M4_RIDDLE_ROOMS_SECTION7_ROOM701_H
24 
25 #include "m4/riddle/rooms/room.h"
26 
27 namespace M4 {
28 namespace Riddle {
29 namespace Rooms {
30 
31 class Room701 : public Room {
32 public:
33  Room701() : Room() {}
34  ~Room701() override {}
35 
36  void preload() override;
37  void init() override;
38  void pre_parser() override;
39  void parser() override;
40  void daemon() override;
41 
42 private:
43  void conv701a();
44  void updateCounter();
45  int32 inventoryCheck();
46 
47  const char *_field58_digiName = nullptr;
48  const char *_field5C_digiName = nullptr;
49  const char *_field60_digiName = nullptr; // Useless: Never set
50  const char *_field64_digiName = nullptr; // Useless: Never set
51 
52  const char *_itemDigiName = nullptr;
53  Common::String _convDigiName_1 = ""; // Useless: Assigned but not used?
54  Common::String _convDigiName_2 = "";
55 
56  bool _field88 = false;
57  bool _field8C_unusedFl = false; // Set but never used
58  bool _field90 = false;
59  bool _fieldBC_unusedFl = false;
60  bool _field130 = false;
61  bool _alreadyBeenHereFl = false;
62 
63  int32 _field50_counter = 0;
64  int32 _field68_mode = 0;
65  int32 _field6C_should = 0;
66  int32 _field72_triggerNum = -1; // Useless : always -1
67  int32 _field94_mode = 0;
68  int32 _field98_should = 0;
69  int32 _field9E_triggerNum = -1; // Useless : always -1
70  int32 _conv701aNode = 0;
71  int32 _travelDest = 0;
72  int32 _lastInventoryCheck = 0;
73  int32 _fieldC8 = 0; // Useless: Set but never used
74  int32 _inventoryCheckArray[12] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; // Useless: Most likely a residual of debug trace
75  int32 _inventoryCheckCounter = 0;
76  int32 _hasCrystalSkull = 0;
77  int32 _hasStickAnsShellMap = 0;
78  int32 _hasWheeledToy = 0;
79  int32 _hasRebusAmulet = 0;
80  int32 _hasShrunkenHead = 0;
81  int32 _hasSilverButterfly = 0;
82  int32 _hasPostageStamp = 0;
83  int32 _hasGermanBankNote = 0;
84  int32 _hasWhaleBoneHorn = 0;
85  int32 _hasChisel = 0;
86  int32 _hasIncenseBurner = 0;
87  int32 _hasRomanovEmerald = 0;
88 
89  int32 _701rp01Series = 0;
90  int32 _701rp99Series = 0;
91  int32 _agentExchangeMoneySeries = 0;
92  int32 _agentGetTelegramSeries = 0;
93  int32 _agentGiveParcelSeries = 0;
94  int32 _agentShowMapSeries = 0;
95  int32 _agentSignsForMoneySeries = 0;
96  int32 _agentTalkLoopTjSeries = 0;
97  int32 _ripSketchingInNotebookPos3Series = 0;
98  int32 _ripTrekHandTalkPos3Series = 0;
99  int32 _ripTrekMedReachPos3Series = 0;
100  int32 _ripTrekTalkerPos3Series = 0;
101 
102  machine *_agentPoshExpressMach = nullptr;
103  machine *_agentPoshExpressMach02 = nullptr;
104  machine *_agentPoshExpressMach03 = nullptr;
105  machine *_ripTalksAgentMach = nullptr;
106  machine *_safariShadow3Mach = nullptr;
107 };
108 
109 
110 } // namespace Rooms
111 } // namespace Riddle
112 } // namespace M4
113 
114 #endif
Definition: ws_machine.h:153
Definition: str.h:59
Definition: database.h:28
Definition: room.h:39
Definition: room701.h:31