From 8b9faf7de563b5c3a00cc9935eccb5e60b816632 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 29 Aug 2014 21:03:11 -0400 Subject: ACCESS: Add synchronize method for savegames --- engines/access/access.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'engines/access/access.h') diff --git a/engines/access/access.h b/engines/access/access.h index 55810e8a16..7d76be9039 100644 --- a/engines/access/access.h +++ b/engines/access/access.h @@ -27,6 +27,7 @@ #include "common/system.h" #include "common/error.h" #include "common/random.h" +#include "common/serializer.h" #include "common/util.h" #include "engines/engine.h" #include "graphics/surface.h" @@ -90,7 +91,6 @@ private: */ void setVGA(); - void dummyLoop(); protected: const AccessGameDescription *_gameDescription; Common::RandomSource _randomSource; @@ -110,6 +110,11 @@ protected: * Play the game */ virtual void playGame() = 0; + + /** + * Synchronize savegame data + */ + virtual void synchronize(Common::Serializer &s); public: AnimationManager *_animation; BubbleBox *_bubbleBox; @@ -177,8 +182,6 @@ public: int _currentMan; uint32 _newTime; uint32 _newDate; - int _intTim[3]; - int _timer[3]; int _flags[256]; byte _help1[366]; byte _help2[366]; -- cgit v1.2.3