23 #ifndef HADESCH_HADESCH_H 24 #define HADESCH_HADESCH_H 26 #include "common/random.h" 27 #include "common/stream.h" 28 #include "common/savefile.h" 29 #include "common/list.h" 31 #include "engines/engine.h" 32 #include "engines/savestate.h" 34 #include "gui/debugger.h" 35 #include "graphics/cursor.h" 36 #include "hadesch/pod_file.h" 37 #include "hadesch/video.h" 38 #include "hadesch/enums.h" 39 #include "hadesch/event.h" 40 #include "hadesch/herobelt.h" 41 #include "hadesch/persistent.h" 48 class SeekableReadStream;
50 class TranslationManager;
54 struct WinCursorGroup;
66 virtual bool handleClickWithItem(
const Common::String &name, InventoryItem item) {
69 virtual void handleEvent(
int eventId) = 0;
72 virtual void frameCallback() {}
73 virtual void handleKeypress(uint32 ucode) {}
74 virtual void prepareRoom() = 0;
129 void moveToRoom(RoomId
id) {
130 _nextRoom.push_back(
id);
131 _heroBelt->clearHold();
135 int32 getCurrentTime() {
142 void cancelTimer(
int eventId);
148 RoomId getPreviousRoomId()
const {
149 return _persistent._previousRoomId;
152 bool isRoomVisited(RoomId
id)
const {
153 return _persistent._roomVisited[id];
166 int firstAvailableSlot();
170 void resetOptionsRoom();
172 void enterOptionsCredits();
177 void deleteSave(
int slot);
179 uint32 getSubtitleDelayPerChar()
const;
182 void fallbackClick();
186 int repeat,
bool skippable);
187 void moveToRoomReal(RoomId
id);
213 uint32 _optionsEnterTime;
214 uint32 _sceneStartTime;
230 int _subtitleDelayPerChar;
231 int _lastFallbackSound;
233 #ifdef USE_TRANSLATION
EngineFeature
Definition: engine.h:253
Definition: persistent.h:50
Definition: advancedDetector.h:163
ErrorCode
Definition: error.h:47
Definition: noncopyable.h:39
bool canSaveGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: hadesch.h:117
Definition: algorithm.h:29
Definition: translation.h:87
Definition: formatinfo.h:28
bool canLoadGameStateCurrently(Common::U32String *msg=nullptr) override
Definition: hadesch.h:116
Definition: hadesch.h:107