aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular
diff options
context:
space:
mode:
authorStrangerke2014-05-21 19:43:28 +0200
committerStrangerke2014-05-21 19:43:28 +0200
commit39f5f0a093c8bbf7b6962d2c58b7ef9062687d58 (patch)
tree32f21532b0c9016ca9910111f92da90bb37bc541 /engines/mads/nebular
parent4804be16c222e847b0f5a37d0c58cbbcede94a3f (diff)
downloadscummvm-rg350-39f5f0a093c8bbf7b6962d2c58b7ef9062687d58.tar.gz
scummvm-rg350-39f5f0a093c8bbf7b6962d2c58b7ef9062687d58.tar.bz2
scummvm-rg350-39f5f0a093c8bbf7b6962d2c58b7ef9062687d58.zip
MADS: Move some contructors from .h to .cpp in scene group 1
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r--engines/mads/nebular/nebular_scenes1.cpp30
-rw-r--r--engines/mads/nebular/nebular_scenes1.h10
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();