ScummVM API documentation
riddle.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_RIDDLE_H
23 #define M4_RIDDLE_RIDDLE_H
24 
25 #include "m4/m4.h"
26 #include "m4/riddle/rooms/section2/section2.h"
27 #include "m4/riddle/rooms/section3/section3.h"
28 #include "m4/riddle/rooms/section4/section4.h"
29 #include "m4/riddle/rooms/section5/section5.h"
30 #include "m4/riddle/rooms/section6/section6.h"
31 #include "m4/riddle/rooms/section7/section7.h"
32 #include "m4/riddle/rooms/section8/section8.h"
33 #include "m4/riddle/rooms/section9/section9.h"
34 
35 namespace M4 {
36 namespace Riddle {
37 
38 class RiddleEngine : public M4Engine {
39 private:
40  Rooms::Section1 _section1;
41  Rooms::Section2 _section2;
42  Rooms::Section3 _section3;
43  Rooms::Section4 _section4;
44  Rooms::Section5 _section5;
45  Rooms::Section6 _section6;
46  Rooms::Section7 _section7;
47  Rooms::Section8 _section8;
48  Rooms::Section9 _section9;
49 
50 protected:
54  M4::Vars *createVars() override;
55 
59  void setupConsole() override;
60 
61 public:
62  RiddleEngine(OSystem *syst, const M4GameDescription *gameDesc);
63  ~RiddleEngine() override {}
64 
68  void showEngineInfo() override;
69 
70  void syncFlags(Common::Serializer &s) override;
71 
72  void global_daemon() override;
73  void global_pre_parser() override;
74  void global_parser() override;
75 };
76 
77 } // namespace Riddle
78 } // namespace M4
79 
80 #endif
Definition: section4.h:52
Definition: detection.h:57
Definition: vars.h:69
Definition: section8.h:50
Definition: section.h:47
Definition: serializer.h:79
Definition: section5.h:38
Definition: riddle.h:38
Definition: section2.h:37
void showEngineInfo() override
Definition: section9.h:40
Definition: section6.h:69
Definition: database.h:28
Definition: section3.h:48
Definition: system.h:161
M4::Vars * createVars() override
Definition: m4.h:45
Definition: section7.h:41
void setupConsole() override