diff options
author | Paul Gilbert | 2014-04-23 22:09:15 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-04-23 22:09:15 -0400 |
commit | 0f1cb2a5c123e44c6a21c168fd25ef1a06c911b6 (patch) | |
tree | 9c0ae2cb92d2534e576f820d197fd2984bbcb4f4 /engines/mads/scene_data.h | |
parent | 1495f04bbcbe26bb3f2b93131e3d89c30ea47279 (diff) | |
download | scummvm-rg350-0f1cb2a5c123e44c6a21c168fd25ef1a06c911b6.tar.gz scummvm-rg350-0f1cb2a5c123e44c6a21c168fd25ef1a06c911b6.tar.bz2 scummvm-rg350-0f1cb2a5c123e44c6a21c168fd25ef1a06c911b6.zip |
MADS: Add a synchronize method to some of the group 1 scenes
Diffstat (limited to 'engines/mads/scene_data.h')
-rw-r--r-- | engines/mads/scene_data.h | 11 |
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 { |