ScummVM API documentation
burger.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_BURGER_H
23#define M4_BURGER_BURGER_H
24
25#include "m4/m4.h"
26#include "m4/burger/rooms/section1/section1.h"
27#include "m4/burger/rooms/section2/section2.h"
28#include "m4/burger/rooms/section3/section3.h"
29#include "m4/burger/rooms/section4/section4.h"
30#include "m4/burger/rooms/section5/section5.h"
31#include "m4/burger/rooms/section6/section6.h"
32#include "m4/burger/rooms/section7/section7.h"
33#include "m4/burger/rooms/section8/section8.h"
34#include "m4/burger/rooms/section9/section9.h"
35
36namespace M4 {
37namespace Burger {
38
39class BurgerEngine : public M4Engine {
40private:
41 Rooms::Section1 _section1;
42 Rooms::Section2 _section2;
43 Rooms::Section3 _section3;
44 Rooms::Section4 _section4;
45 Rooms::Section5 _section5;
46 Rooms::Section6 _section6;
47 Rooms::Section7 _section7;
48 Rooms::Section8 _section8;
49 Rooms::Section9 _section9;
50
54 bool saidofInterest() const;
55
56 void testDone();
57 void testDone1();
58 void testDone2();
59 void testDone3();
60 void testDone4();
61 void testDone5();
62 void wilburTeleported();
63
64protected:
68 M4::Vars *createVars() override;
69
73 void setupConsole() override;
74
75public:
76 BurgerEngine(OSystem *syst, const M4GameDescription *gameDesc);
77 ~BurgerEngine() override;
78
82 void showEngineInfo() override;
83
84 void syncFlags(Common::Serializer &s) override;
85
86 void showSaveScreen() override;
87 void showLoadScreen(LoadDialogSource source) override;
88 bool canLoadGameStateCurrently(Common::U32String *msg = nullptr) override;
89
90 void global_daemon() override;
91 void global_pre_parser() override;
92 void global_parser() override;
93
94 void handleTestDone();
95};
96
97} // namespace Burger
98} // namespace M4
99
100#endif
Definition: serializer.h:80
Definition: ustr.h:57
Definition: burger.h:39
void showEngineInfo() override
void showSaveScreen() override
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
void showLoadScreen(LoadDialogSource source) override
M4::Vars * createVars() override
void setupConsole() override
Definition: section1.h:60
Definition: section2.h:34
Definition: section3.h:41
Definition: section4.h:38
Definition: section5.h:46
Definition: section6.h:41
Definition: section7.h:35
Definition: section8.h:34
Definition: section9.h:37
Definition: m4.h:44
Definition: vars.h:68
Definition: system.h:166
Definition: database.h:28
Definition: detection.h:53