aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/player.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-04-22 23:00:41 -0400
committerPaul Gilbert2014-04-22 23:00:41 -0400
commit0e9e6cda40ee0bf739e6c7a6320a81307df7c8b9 (patch)
treed69131833413f6bd75ef84e95c64cc54da568e8e /engines/mads/player.h
parent3f1a49b567aac10fe8a195f7a2b8e07603470a72 (diff)
downloadscummvm-rg350-0e9e6cda40ee0bf739e6c7a6320a81307df7c8b9.tar.gz
scummvm-rg350-0e9e6cda40ee0bf739e6c7a6320a81307df7c8b9.tar.bz2
scummvm-rg350-0e9e6cda40ee0bf739e6c7a6320a81307df7c8b9.zip
MADS: Beginnings of savegame synchronisation
Diffstat (limited to 'engines/mads/player.h')
-rw-r--r--engines/mads/player.h9
1 files changed, 7 insertions, 2 deletions
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
}