aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/scene_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/scene_data.h')
-rw-r--r--engines/mads/scene_data.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/mads/scene_data.h b/engines/mads/scene_data.h
index 5b3d818b96..d59d746706 100644
--- a/engines/mads/scene_data.h
+++ b/engines/mads/scene_data.h
@@ -96,12 +96,12 @@ public:
/**
* Called one per frame
*/
- virtual void step() = 0;
+ virtual void step() {}
/**
* Called before an action is started
*/
- virtual void preActions() = 0;
+ virtual void preActions() {}
/**
* Handles scene actions
@@ -111,7 +111,12 @@ public:
/**
* Post-action handling
*/
- virtual void postActions() = 0;
+ virtual void postActions() {}
+
+ /**
+ * Synchronize any local data for the scene
+ */
+ virtual void synchronize(Common::Serializer &s) {}
};
struct ARTHeader {