From 0f1cb2a5c123e44c6a21c168fd25ef1a06c911b6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 23 Apr 2014 22:09:15 -0400 Subject: MADS: Add a synchronize method to some of the group 1 scenes --- engines/mads/scene_data.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'engines/mads/scene_data.h') 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 { -- cgit v1.2.3