22 #ifndef MOHAWK_RIVEN_H 23 #define MOHAWK_RIVEN_H 25 #include "mohawk/installer_archive.h" 26 #include "mohawk/mohawk.h" 28 #include "common/hashmap.h" 29 #include "common/hash-str.h" 30 #include "common/random.h" 31 #include "common/rect.h" 33 #include "graphics/surface.h" 41 class OptionsContainerWidget;
46 struct MohawkGameDescription;
52 class RivenOptionsWidget;
56 class RivenScriptManager;
57 class RivenSoundManager;
59 class RivenVideoManager;
73 kStackFirst = kStackOspit,
74 kStackLast = kStackAspit
79 kRivenDebugScript = (1 << 0),
80 kRivenDebugPatches = (1 << 1)
86 bool operator== (
const ZipMode& z)
const;
122 void applyGameSettings()
override;
125 bool isInteractive()
const;
132 const char **listExpectedDatafiles()
const;
133 void loadLanguageDatafile(
char prefix, uint16 stackId);
134 bool checkDatafiles();
148 uint32 _lastSaveTime;
154 void pauseEngineIntern(
bool)
override;
159 void changeToCard(uint16 dest);
160 void changeToStack(uint16 stackId);
161 void reloadCurrentCard();
162 RivenCard *getCard()
const {
return _card; }
163 RivenStack *getStack()
const {
return _stack; }
167 void addZipVisitedCard(uint16 cardId, uint16 cardNameId);
171 RivenVariableMap _vars;
172 uint32 &getStackVar(uint32 index);
179 void delay(uint32 ms);
180 void runOptionsDialog();
183 bool canSaveAutosaveCurrently()
override;
188 bool hasGameEnded()
const;
197 void resumeFromMainMenu();
198 bool isInMainMenu()
const;
199 bool isGameStarted()
const;
EngineFeature
Definition: engine.h:253
static String format(MSVC_PRINTF const char *fmt,...) GCC_PRINTF(1
Definition: riven_saveload.h:59
Definition: riven_graphics.h:61
Definition: installer_archive.h:35
Definition: riven_metaengine.h:30
Definition: riven_stack.h:89
Definition: riven_scripts.h:164
Definition: riven_sound.h:65
Definition: algorithm.h:29
Common::String getSaveStateName(int slot) const override
Definition: riven.h:113
Definition: riven_video.h:130
Definition: riven_inventory.h:36
Definition: riven_card.h:44
Definition: resource.h:171
Definition: detection.h:65
Language
Definition: language.h:45