From 0e9e6cda40ee0bf739e6c7a6320a81307df7c8b9 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 22 Apr 2014 23:00:41 -0400 Subject: MADS: Beginnings of savegame synchronisation --- engines/mads/player.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/mads/player.h') diff --git a/engines/mads/player.h b/engines/mads/player.h index 6df1159ad4..97fc3e75cd 100644 --- a/engines/mads/player.h +++ b/engines/mads/player.h @@ -25,6 +25,7 @@ #include "common/scummsys.h" #include "common/str.h" +#include "common/serializer.h" namespace MADS { @@ -110,7 +111,7 @@ public: bool _spritesChanged; bool _visible; bool _priorVisible; - bool _visible3; + bool _beenVisible; bool _walkAnywhere; int _frameNumber; bool _loadsFirst; @@ -122,7 +123,6 @@ public: Common::Point _prepareWalkPos; bool _moving; int _walkOffScreen, _walkOffScreenSceneId; - int _next; int _special; int _ticksAmount; uint32 _priorTimer; @@ -211,6 +211,11 @@ public: */ void releasePlayerSprites(); + /** + * Serialize the data of the player + */ + void synchronize(Common::Serializer &s); + static void preloadSequences(const Common::String &prefix, int level) { // No implementation in ScummVM } -- cgit v1.2.3