22#ifndef BURIED_BURIED_H
23#define BURIED_BURIED_H
25#include "common/scummsys.h"
26#include "common/array.h"
27#include "common/list.h"
28#include "common/hashmap.h"
29#include "common/path.h"
30#include "common/str-array.h"
32#include "engines/engine.h"
34#include "backends/keymapper/keymapper.h"
41class SeekableReadStream;
54 GF_TRUECOLOR = (1 << 1),
56 GF_COMPRESSED = (1 << 3),
63 kActionQuitToMainMenu,
64 kActionQuitToMainMenuInv,
78 kActionBiochipEvidence,
80 kActionBiochipInterface,
82 kActionBiochipTranslate,
107 bool isTrial()
const;
108 bool isTrueColor()
const;
109 bool isWin95()
const;
110 bool isCompressed()
const;
121 Common::Path getFilePath(
int timeZone,
int environment,
int fileOffset);
133 uint32 computeNavDBResourceID(
int timeZone,
int environment);
134 uint32 computeAnimDBResourceID(
int timeZone,
int environment);
135 uint32 computeAIDBResourceID(
int timeZone,
int environment);
136 uint32 computeFileNameResourceID(
int timeZone,
int environment,
int fileOffset);
145 uint createTimer(
Window *window, uint period);
146 bool killTimer(uint timer);
147 void removeAllTimers(
Window *window);
156 void sendAllMessages();
157 void processAudioVideoSkipMessages(
VideoWindow *video,
int soundId);
158 void removeKeyboardMessages(
Window *window);
159 void removeMouseMessages(
Window *window);
160 void removeActionMessages(
Window *window);
161 void removeAllMessages(
Window *window);
162 void removeMessages(
Window *window,
int messageBegin,
int messageEnd);
163 bool hasMessage(
Window *window,
int messageBegin,
int messageEnd)
const;
167 int getTransitionSpeed();
168 void setTransitionSpeed(
int newSpeed);
169 void releaseCapture() { _captureWindow = 0; }
170 bool runQuitDialog();
171 bool isControlDown()
const;
174 void enableCutsceneKeymap(
bool enable);
184 void handleSaveDialog();
185 void handleRestoreDialog();
199 uint32 _pauseStartTime;
205 bool _allowVideoSkip;
214 MessageQueue _messageQueue;
215 void pollForEvents();
222 void checkForOriginalSavedGames();
227#define MAKEVERSION(a, b, c, d) \
228 (((uint32)((a) & 0xFF) << 24) | ((uint32)((b) & 0xFF) << 16) | ((uint32)((c) & 0xFF) << 8) | ((uint32)((d) & 0xFF)))
Common::String getSaveStateName(int slot) const override
Definition: buried.h:179
Common::Error loadGameStream(Common::SeekableReadStream *stream) override
Common::Error saveGameStream(Common::WriteStream *stream, bool isAutosave=false) override
void pauseEngineIntern(bool pause) override
Common::Error run() override
bool hasFeature(EngineFeature f) const override
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: graphics.h:76
Definition: video_window.h:37
Definition: serializer.h:80
static String format(MSVC_PRINTF const char *fmt,...) GCC_PRINTF(1
EngineFeature
Definition: engine.h:282
Definition: graphics.h:38
Language
Definition: language.h:45
Definition: algorithm.h:29
Definition: formatinfo.h:28
Definition: advancedDetector.h:164
Definition: wincursor.h:54