aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/globals_nebular.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-01 22:36:36 -0400
committerPaul Gilbert2014-05-01 22:36:36 -0400
commitb5949010a61e3d12f22ea762ed8d09cc1a79b850 (patch)
tree099a9c3c0a3823c2ea870da5ca58c39ee85155a3 /engines/mads/nebular/globals_nebular.h
parent92ab7e87a0e0afc9db1612b4c7d16597fe6499a0 (diff)
downloadscummvm-rg350-b5949010a61e3d12f22ea762ed8d09cc1a79b850.tar.gz
scummvm-rg350-b5949010a61e3d12f22ea762ed8d09cc1a79b850.tar.bz2
scummvm-rg350-b5949010a61e3d12f22ea762ed8d09cc1a79b850.zip
MADS: Implemented more savegame synchronization
Diffstat (limited to 'engines/mads/nebular/globals_nebular.h')
-rw-r--r--engines/mads/nebular/globals_nebular.h23
1 files changed, 8 insertions, 15 deletions
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<int> _spriteIndexes;
- Common::Array<int> _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