From 744f04bf5001bf4220ecec40adc299e00b5792a4 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 11 Aug 2011 22:05:44 +1000 Subject: TSAGE: Implemented new Globals for Blue Force, and beginnings of implementation of Scene 100 (Title Screen) --- engines/tsage/globals.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'engines/tsage/globals.h') 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; -- cgit v1.2.3