From b5949010a61e3d12f22ea762ed8d09cc1a79b850 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 1 May 2014 22:36:36 -0400 Subject: MADS: Implemented more savegame synchronization --- engines/mads/nebular/globals_nebular.h | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'engines/mads/nebular/globals_nebular.h') diff --git a/engines/mads/nebular/globals_nebular.h b/engines/mads/nebular/globals_nebular.h index 56fbc1b4ca..9a7873f5b5 100644 --- a/engines/mads/nebular/globals_nebular.h +++ b/engines/mads/nebular/globals_nebular.h @@ -26,6 +26,7 @@ #include "common/scummsys.h" #include "common/array.h" #include "mads/game.h" +#include "mads/resources.h" namespace MADS { @@ -281,28 +282,20 @@ enum { class NebularGlobals: public Globals { public: - Common::Array _spriteIndexes; - Common::Array _sequenceIndexes; + SynchronizedList _spriteIndexes; + SynchronizedList _sequenceIndexes; int _timebombClock, _timebombTimer; - /* - int _v0; - uint32 _frameTime; - int _v2; - int _v3; - int _v4; - int _v5; - int _v6; - uint32 _v7; - int _v8; - int _abortVal; - int _v84262, _v84264, _v84266, _v84268; - */ public: /** * Constructor */ NebularGlobals(); + + /** + * Synchronize the globals data + */ + virtual void synchronize(Common::Serializer &s); }; } // End of namespace Nebular -- cgit v1.2.3