22 #ifndef MEDIASTATION_H 23 #define MEDIASTATION_H 25 #include "audio/mixer.h" 26 #include "common/scummsys.h" 27 #include "common/system.h" 28 #include "common/error.h" 29 #include "common/fs.h" 30 #include "common/hash-str.h" 31 #include "common/random.h" 32 #include "common/serializer.h" 33 #include "common/events.h" 34 #include "common/util.h" 35 #include "engines/engine.h" 36 #include "engines/savestate.h" 38 #include "mediastation/detection.h" 39 #include "mediastation/datafile.h" 40 #include "mediastation/boot.h" 41 #include "mediastation/context.h" 42 #include "mediastation/asset.h" 43 #include "mediastation/cursors.h" 44 #include "mediastation/graphics.h" 48 struct MediaStationGameDescription;
58 static const char *
const directoryGlobs[] = {
70 uint32 getFeatures()
const;
73 const char *getAppName()
const;
79 bool isFirstGenerationEngine();
81 void refreshActiveHotspot();
85 void registerAsset(
Asset *assetToAdd);
86 void scheduleScreenBranch(uint screenId);
87 void scheduleContextRelease(uint contextId);
89 Asset *getAssetById(uint assetId);
90 Asset *getAssetByChunkReference(uint chunkReference);
91 Function *getFunctionById(uint functionId);
98 Context *_currentContext =
nullptr;
101 bool _needsHotspotRefresh =
false;
115 void setCursor(uint
id);
119 Boot *_boot =
nullptr;
123 Asset *_currentHotspot =
nullptr;
124 uint _requestedScreenBranchId = 0;
127 void doBranchToScreen();
128 Context *loadContext(uint32 contextId);
129 void releaseContext(uint32 contextId);
130 Asset *findAssetToAcceptMouseEvents();
136 #define SHOULD_QUIT ::MediaStation::g_engine->shouldQuit() 140 #endif // MEDIASTATION_H
EngineFeature
Definition: engine.h:260
Definition: advancedDetector.h:164
void push_back(const T &element)
Definition: array.h:183