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" 37 #include "graphics/screen.h" 39 #include "mediastation/detection.h" 40 #include "mediastation/datafile.h" 41 #include "mediastation/boot.h" 42 #include "mediastation/context.h" 43 #include "mediastation/asset.h" 44 #include "mediastation/cursors.h" 48 struct MediaStationGameDescription;
56 static const char *
const directoryGlobs[] = {
68 uint32 getFeatures()
const;
71 const char *getAppName()
const;
77 bool isFirstGenerationEngine();
79 void refreshActiveHotspot();
82 void setPalette(
Asset *palette);
83 void addPlayingAsset(
Asset *assetToAdd);
85 Asset *getAssetById(uint assetId);
86 Asset *getAssetByChunkReference(uint chunkReference);
87 Function *getFunctionById(uint functionId);
95 Context *_currentContext =
nullptr;
99 bool _needsHotspotRefresh =
false;
102 const uint16 SCREEN_WIDTH = 640;
103 const uint16 SCREEN_HEIGHT = 480;
116 void setCursor(uint
id);
118 Boot *_boot =
nullptr;
121 Asset *_currentHotspot =
nullptr;
123 uint _requestedScreenBranchId = 0;
125 void doBranchToScreen();
127 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:253
Definition: advancedDetector.h:163