24 #ifndef HOPKINS_BASE_H 25 #define HOPKINS_BASE_H 27 #include "hopkins/base_data.h" 28 #include "hopkins/base_engine.h" 30 #include "common/array.h" 31 #include "common/scummsys.h" 32 #include "common/str.h" 50 status(runStatus), roomId(resultRoom) {}
58 static bool hasRequiredResources(
Common::String *missingResources =
nullptr);
64 struct GraphicsStateBackup {
67 bool disableInventory;
74 byte paletteBuffer[256 * 2];
84 bool initializePresentation(GraphicsStateBackup &backup);
85 void restorePresentation(
const GraphicsStateBackup &backup);
86 void initializeAudio();
88 void switchKeymaps(
bool entering);
90 void handleAction(uint32 action,
bool pressed);
92 void refreshPresentation();
93 void processSoundEvents();
95 void setEngineActive(
bool active);
105 bool _audioLoaded[6];
106 bool _keymapsSwitched;
107 bool _defaultKeymapWasEnabled;
108 bool _shortcutKeymapWasEnabled;
109 bool _baseKeymapWasEnabled;
110 bool _inputSuspended;
111 bool _mainMenuRequested;
112 bool _presentationRefreshRequested;
113 bool _timingResetRequested;
119 #endif // HOPKINS_BASE_H
Definition: base_engine.h:55
Definition: base_renderer.h:39
Definition: base_types.h:181
Definition: base_data.h:35