diff options
author | Strangerke | 2014-05-20 07:20:31 +0200 |
---|---|---|
committer | Strangerke | 2014-05-20 07:20:31 +0200 |
commit | 3aa9dc3947900799bf69d5918eb36cc5d855506f (patch) | |
tree | 57f3bbf78bc55a53dea7551215b306448f411271 /engines/mads | |
parent | facbe1b177a4dc9cbf2ca26ff8c8f070aac5f066 (diff) | |
download | scummvm-rg350-3aa9dc3947900799bf69d5918eb36cc5d855506f.tar.gz scummvm-rg350-3aa9dc3947900799bf69d5918eb36cc5d855506f.tar.bz2 scummvm-rg350-3aa9dc3947900799bf69d5918eb36cc5d855506f.zip |
MADS: Add synchronize in scene 501
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/nebular/nebular_scenes5.cpp | 9 | ||||
-rw-r--r-- | engines/mads/nebular/nebular_scenes5.h | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/mads/nebular/nebular_scenes5.cpp b/engines/mads/nebular/nebular_scenes5.cpp index 02dc90dbc3..b218784275 100644 --- a/engines/mads/nebular/nebular_scenes5.cpp +++ b/engines/mads/nebular/nebular_scenes5.cpp @@ -99,6 +99,15 @@ void Scene501::setup() { _scene->addActiveVocab(0x18B); } +void Scene501::synchronize(Common::Serializer &s) { + Scene5xx::synchronize(s); + + s.syncAsSint16LE(_mainSequenceId); + s.syncAsSint16LE(_mainSpriteId); + s.syncAsSint16LE(_doorHotspotid); + s.syncAsByte(_rexPunched); +} + void Scene501::handleSlotActions() { switch (_game._trigger) { case 0: diff --git a/engines/mads/nebular/nebular_scenes5.h b/engines/mads/nebular/nebular_scenes5.h index bc22a62132..c49532dc8c 100644 --- a/engines/mads/nebular/nebular_scenes5.h +++ b/engines/mads/nebular/nebular_scenes5.h @@ -61,6 +61,7 @@ private: public: Scene501(MADSEngine *vm) : Scene5xx(vm) {} + void synchronize(Common::Serializer &s); virtual void setup(); virtual void enter(); |