aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/globals.h
diff options
context:
space:
mode:
authorPaul Gilbert2011-08-11 22:05:44 +1000
committerPaul Gilbert2011-08-11 22:05:44 +1000
commit744f04bf5001bf4220ecec40adc299e00b5792a4 (patch)
treebe3baac9e51ed3a92dda4157f5987dc0b8a4233f /engines/tsage/globals.h
parentc9034110363ebc031a37784af913ba107411376d (diff)
downloadscummvm-rg350-744f04bf5001bf4220ecec40adc299e00b5792a4.tar.gz
scummvm-rg350-744f04bf5001bf4220ecec40adc299e00b5792a4.tar.bz2
scummvm-rg350-744f04bf5001bf4220ecec40adc299e00b5792a4.zip
TSAGE: Implemented new Globals for Blue Force, and beginnings of implementation of Scene 100 (Title Screen)
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;