22#ifndef HOLLYWOOD_RUNAWAY_ENGINE_H
23#define HOLLYWOOD_RUNAWAY_ENGINE_H
25#include "common/array.h"
26#include "common/language.h"
27#include "common/ptr.h"
28#include "engines/engine.h"
29#include "hollywood/runaway/audio.h"
30#include "hollywood/runaway/intro.h"
31#include "hollywood/runaway/menu.h"
32#include "hollywood/runaway/saveload.h"
45class RunawayInventory;
81 bool hideCursorForHotspots()
const override {
return false; }
84 static void registerDefaultSettings();
89 bool sceneBusy()
const;
90 Common::Error playIntro(
RunawayMenu &menu,
byte chapter = 0, RunawayIntro::Mode mode = RunawayIntro::kCompleteIntro);
93 byte unlockedChapter()
const;
94 void unlockChapter(
byte chapter);
100 void updateSoundListener();
103 const RunawayGameType _game;
112 bool _inPresentation =
false, _gameStarted =
false, _loadedGame =
false;
113 bool _pendingDoorClose =
false;
EngineFeature
Definition: engine.h:293
Definition: hotspot_renderer.h:97
Definition: managed_surface.h:51
void syncSoundSettings() override
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
Common::Error saveGameStream(Common::WriteStream *stream, bool isAutosave=false) override
Common::Error run() override
void initializePath(const Common::FSNode &gamePath) override
Common::Error loadGameStream(Common::SeekableReadStream *stream) override
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
bool hasFeature(EngineFeature feature) const override
void getHotspotPositions(Common::Array< Graphics::HotspotInfo > &hotspots) override
Definition: presentation.h:50
Language
Definition: language.h:45
Definition: algorithm.h:29
Definition: formatinfo.h:28
Definition: saveload.h:32