aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan3/instance.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-06-30 17:28:26 -0700
committerPaul Gilbert2019-07-06 15:27:08 -0700
commit18566feefcb9f4fa4d7395ffa6e6f2a6f0247d0e (patch)
tree38b0e02e10d0fb320947712a8b0650c97df0c4ef /engines/glk/alan3/instance.cpp
parentec979b8555cfc10cca3858df2cca635c04f240d2 (diff)
downloadscummvm-rg350-18566feefcb9f4fa4d7395ffa6e6f2a6f0247d0e.tar.gz
scummvm-rg350-18566feefcb9f4fa4d7395ffa6e6f2a6f0247d0e.tar.bz2
scummvm-rg350-18566feefcb9f4fa4d7395ffa6e6f2a6f0247d0e.zip
GLK: ALAN3: Implement savegame code
Diffstat (limited to 'engines/glk/alan3/instance.cpp')
-rw-r--r--engines/glk/alan3/instance.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/glk/alan3/instance.cpp b/engines/glk/alan3/instance.cpp
index 89e3659c93..05ccd694bf 100644
--- a/engines/glk/alan3/instance.cpp
+++ b/engines/glk/alan3/instance.cpp
@@ -52,6 +52,21 @@ AttributeEntry *attributes; /* Dynamic attribute values */
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+void AdminEntry::synchronize(Common::Serializer &s) {
+ s.syncAsUint32LE(location);
+
+ Aword attr = 0;
+ s.syncAsUint32LE(attr);
+
+ s.syncAsUint32LE(alreadyDescribed);
+ s.syncAsUint32LE(visitsCount);
+ s.syncAsUint32LE(script);
+ s.syncAsUint32LE(step);
+ s.syncAsUint32LE(waitCount);
+}
+
+/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+
/* Instance query methods */
/*======================================================================*/