diff options
author | Filippos Karapetis | 2014-05-07 21:04:38 +0300 |
---|---|---|
committer | Filippos Karapetis | 2014-05-07 21:04:38 +0300 |
commit | fdc3424eabaad59ec33f747556a11b282d3f8207 (patch) | |
tree | 5f9998f9a689057e34e91b34604244a39d71492e /engines/mads/nebular/nebular_scenes1.cpp | |
parent | 8dfddac863cb039f405fac6b1236c0c0e0004354 (diff) | |
download | scummvm-rg350-fdc3424eabaad59ec33f747556a11b282d3f8207.tar.gz scummvm-rg350-fdc3424eabaad59ec33f747556a11b282d3f8207.tar.bz2 scummvm-rg350-fdc3424eabaad59ec33f747556a11b282d3f8207.zip |
MADS: Synchronize local scene variables for Rex scene group 1
Diffstat (limited to 'engines/mads/nebular/nebular_scenes1.cpp')
-rw-r--r-- | engines/mads/nebular/nebular_scenes1.cpp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp index 08c5b08129..8dca4e9c6b 100644 --- a/engines/mads/nebular/nebular_scenes1.cpp +++ b/engines/mads/nebular/nebular_scenes1.cpp @@ -1893,6 +1893,11 @@ void Scene105::actions() { _action._inProgress = false; } +void Scene105::synchronize(Common::Serializer &s) { + Scene1xx::synchronize(s); + s.syncAsByte(_explosionFl); +} + /*------------------------------------------------------------------------*/ void Scene106::setup() { @@ -2100,6 +2105,14 @@ void Scene106::actions() { _action._inProgress = false; } +void Scene106::synchronize(Common::Serializer &s) { + Scene1xx::synchronize(s); + s.syncAsByte(_backToShipFl); + s.syncAsByte(_shadowFl); + s.syncAsByte(_firstEmergingFl); + s.syncAsSint32LE(_msgPosY); +} + /*------------------------------------------------------------------------*/ void Scene107::setup() { @@ -2212,6 +2225,12 @@ void Scene107::actions() { _action._inProgress = false; } +void Scene107::synchronize(Common::Serializer &s) { + Scene1xx::synchronize(s); + s.syncAsByte(_shootingFl); +} + + /*------------------------------------------------------------------------*/ void Scene108::setup() { @@ -2701,6 +2720,17 @@ void Scene109::actions() { _action._inProgress = false; } +void Scene109::synchronize(Common::Serializer &s) { + Scene1xx::synchronize(s); + s.syncAsByte(_rexThrowingObject); + s.syncAsByte(_hoovicDifficultFl); + s.syncAsByte(_beforeEatingRex); + s.syncAsByte(_eatingRex); + s.syncAsByte(_hungryFl); + s.syncAsByte(_eatingFirstFish); + s.syncAsSint32LE(_throwingObjectId); + s.syncAsSint32LE(_hoovicTrigger); +} /*------------------------------------------------------------------------*/ @@ -2824,6 +2854,11 @@ void Scene110::actions() { _action._inProgress = false; } +void Scene110::synchronize(Common::Serializer &s) { + Scene1xx::synchronize(s); + s.syncAsByte(_crabsFl); +} + /*------------------------------------------------------------------------*/ void Scene111::setup() { @@ -2966,6 +3001,14 @@ void Scene111::actions() { _action._inProgress = false; } +void Scene111::synchronize(Common::Serializer &s) { + Scene1xx::synchronize(s); + s.syncAsByte(_stampedFl); + s.syncAsByte(_launch1Fl); + s.syncAsByte(_launched2Fl); + s.syncAsByte(_rexDivingFl); +} + /*------------------------------------------------------------------------*/ void Scene112::setup() { |