aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tsage/globals.h')
-rw-r--r--engines/tsage/globals.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/tsage/globals.h b/engines/tsage/globals.h
index 7cfec718e2..9d12669fa7 100644
--- a/engines/tsage/globals.h
+++ b/engines/tsage/globals.h
@@ -96,8 +96,23 @@ public:
void dispatchSounds();
};
+class BlueForceGlobals: public Globals {
+public:
+ ASound _sound1, _sound2, _sound3;
+ int _v4CEA2;
+ int _v51C44;
+ int _v51C24;
+
+ BlueForceGlobals();
+ virtual Common::String getClassName() { return "BFGlobals"; }
+ virtual void synchronize(Serializer &s);
+};
+
extern Globals *_globals;
+#define GLOBALS (*_globals)
+#define BF_GLOBALS (*((BlueForceGlobals *)_globals))
+
// Note: Currently this can't be part of the _globals structure, since it needs to be constructed
// prior to many of the fields in Globals execute their constructors
extern ResourceManager *_resourceManager;