Files
scummvm-cursorfix/engines/m4/burger/burger.h
2026-02-02 04:50:13 +01:00

101 lines
2.7 KiB
C++

/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef M4_BURGER_BURGER_H
#define M4_BURGER_BURGER_H
#include "m4/m4.h"
#include "m4/burger/rooms/section1/section1.h"
#include "m4/burger/rooms/section2/section2.h"
#include "m4/burger/rooms/section3/section3.h"
#include "m4/burger/rooms/section4/section4.h"
#include "m4/burger/rooms/section5/section5.h"
#include "m4/burger/rooms/section6/section6.h"
#include "m4/burger/rooms/section7/section7.h"
#include "m4/burger/rooms/section8/section8.h"
#include "m4/burger/rooms/section9/section9.h"
namespace M4 {
namespace Burger {
class BurgerEngine : public M4Engine {
private:
Rooms::Section1 _section1;
Rooms::Section2 _section2;
Rooms::Section3 _section3;
Rooms::Section4 _section4;
Rooms::Section5 _section5;
Rooms::Section6 _section6;
Rooms::Section7 _section7;
Rooms::Section8 _section8;
Rooms::Section9 _section9;
/**
* Tests for a bunch of words of interest during parsing
*/
bool saidofInterest() const;
void testDone();
void testDone1();
void testDone2();
void testDone3();
void testDone4();
void testDone5();
void wilburTeleported();
protected:
/**
* Creates the structure that holds all the global variables
*/
M4::Vars *createVars() override;
/**
* Sets up the debugging console
*/
void setupConsole() override;
public:
BurgerEngine(OSystem *syst, const M4GameDescription *gameDesc);
~BurgerEngine() override;
/**
* Show the engine information
*/
void showEngineInfo() override;
void syncFlags(Common::Serializer &s) override;
void showSaveScreen() override;
void showLoadScreen(LoadDialogSource source) override;
bool canLoadGameStateCurrently(Common::U32String *msg = nullptr) override;
void global_daemon() override;
void global_pre_parser() override;
void global_parser() override;
void handleTestDone();
};
} // namespace Burger
} // namespace M4
#endif