diff options
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r-- | engines/mads/nebular/nebular_scenes1.cpp | 30 | ||||
-rw-r--r-- | engines/mads/nebular/nebular_scenes1.h | 10 |
2 files changed, 34 insertions, 6 deletions
diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp index ab7339851e..0277af2878 100644 --- a/engines/mads/nebular/nebular_scenes1.cpp +++ b/engines/mads/nebular/nebular_scenes1.cpp @@ -99,6 +99,16 @@ void Scene1xx::setPlayerSpritesPrefix() { /*------------------------------------------------------------------------*/ +Scene101::Scene101(MADSEngine *vm) : Scene1xx(vm) { + _sittingFl = false; + _panelOpened = false; + _messageNum = 0; + _posY = 0; + _shieldSpriteIdx = 0; + _chairHotspotId = 0; + _oldSpecial = 0; +} + void Scene101::setup() { _scene->_animationData->preLoad(formAnimName('A', -1), 3); setPlayerSpritesPrefix(); @@ -617,6 +627,16 @@ void Scene101::synchronize(Common::Serializer &s) { /*------------------------------------------------------------------------*/ +Scene102::Scene102(MADSEngine *vm) : Scene1xx(vm) { + _fridgeOpenedFl = false; + _fridgeOpenedDescr = false; + _fridgeFirstOpenFl = false; + _chairDescrFl = false; + _drawerDescrFl = false; + _activeMsgFl = false; + _fridgeCommentCount = 0; +} + void Scene102::setup() { _scene->_animationData->preLoad(formAnimName('A', -1), 3); setPlayerSpritesPrefix(); @@ -1223,6 +1243,11 @@ void Scene102::synchronize(Common::Serializer &s) { /*------------------------------------------------------------------------*/ +Scene103::Scene103(MADSEngine *vm) : Scene1xx(vm) { + _sayHiToBinky = false; + _updateClock = 0; +} + void Scene103::setup() { setPlayerSpritesPrefix(); setAAName(); @@ -1548,6 +1573,11 @@ void Scene103::synchronize(Common::Serializer &s) { /*------------------------------------------------------------------------*/ +Scene104::Scene104(MADSEngine *vm) : Scene1xx(vm) { + _kargShootingFl = false; + _loseFl = false; +} + void Scene104::setup() { // Preloading has been skipped setPlayerSpritesPrefix(); diff --git a/engines/mads/nebular/nebular_scenes1.h b/engines/mads/nebular/nebular_scenes1.h index 80df7f9e4d..15357728f0 100644 --- a/engines/mads/nebular/nebular_scenes1.h +++ b/engines/mads/nebular/nebular_scenes1.h @@ -66,8 +66,7 @@ private: void sayDang(); public: - Scene101(MADSEngine *vm) : Scene1xx(vm), _sittingFl(false), _panelOpened(false), _messageNum(0), - _posY(0), _shieldSpriteIdx(0), _chairHotspotId(0), _oldSpecial(0) {} + Scene101(MADSEngine *vm); virtual void setup(); virtual void enter(); @@ -91,8 +90,7 @@ private: void addRandomMessage(); public: - Scene102(MADSEngine *vm) : Scene1xx(vm), _fridgeOpenedFl(false), _fridgeOpenedDescr(false), _fridgeFirstOpenFl(false), - _chairDescrFl(false), _drawerDescrFl(false), _activeMsgFl(false), _fridgeCommentCount(0) {} + Scene102(MADSEngine *vm); virtual void setup(); virtual void enter(); @@ -108,7 +106,7 @@ private: bool _sayHiToBinky; uint32 _updateClock; public: - Scene103(MADSEngine *vm) : Scene1xx(vm) {} + Scene103(MADSEngine *vm); virtual void setup(); virtual void enter(); @@ -124,7 +122,7 @@ private: bool _loseFl; public: - Scene104(MADSEngine *vm) : Scene1xx(vm), _kargShootingFl(false), _loseFl(false) {} + Scene104(MADSEngine *vm); virtual void setup(); virtual void enter(); |