aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/macventure.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/macventure/macventure.h')
-rw-r--r--engines/macventure/macventure.h28
1 files changed, 27 insertions, 1 deletions
diff --git a/engines/macventure/macventure.h b/engines/macventure/macventure.h
index b8d065b876..ffc1c2a9f2 100644
--- a/engines/macventure/macventure.h
+++ b/engines/macventure/macventure.h
@@ -50,6 +50,27 @@ enum {
// the current limitation is 32 debug levels (1 << 31 is the last one)
};
+struct GlobalSettings {
+ uint16 numObjects; // number of game objects defined
+ uint16 numGlobals; // number of globals defined
+ uint16 numCommands; // number of commands defined
+ uint16 numAttributes; // number of attributes
+ uint16 numGroups; // number of object groups
+ uint16 invTop; // inventory window bounds
+ uint16 invLeft;
+ uint16 invHeight;
+ uint16 invWidth;
+ uint16 invOffsetY; // positioning offset for
+ uint16 invOffsetX; // new inventory windows
+ uint16 defaultFont; // default font
+ uint16 defaultSize; // default font size
+ uint8 *attrIndices; // attribute indices into attribute table
+ uint16 *attrMasks; // attribute masks
+ uint8 *attrShifts; // attribute bit shifts
+ uint8 *cmdArgCnts; // command argument counts
+ uint8 *commands; // command buttons
+};
+
class MacVentureEngine : public Engine {
public:
@@ -61,6 +82,9 @@ public:
void requestQuit();
void requestUnpause();
+ // Data loading
+ bool loadGlobalSettings();
+
// Data retrieval
bool isPaused();
Common::String getCommandsPausedString();
@@ -76,10 +100,12 @@ private: // Attributes
Common::MacResManager *_resourceManager;
Console *_debugger;
-
Gui *_gui;
+ // Engine state
+ GlobalSettings _globalSettings;
bool _shouldQuit;
+ bool _paused;
private: // Methods