aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-08 18:48:34 +0200
committerEugene Sandulenko2014-01-08 18:48:34 +0200
commit67c70168ad71c2dc0da4139bf2bb74533eae9efe (patch)
tree5a811ec25c180ef056e7ad7362fbde379e6e044b
parent71c8d5edd033dd4f36fab7a9632ff295e929ad8b (diff)
downloadscummvm-rg350-67c70168ad71c2dc0da4139bf2bb74533eae9efe.tar.gz
scummvm-rg350-67c70168ad71c2dc0da4139bf2bb74533eae9efe.tar.bz2
scummvm-rg350-67c70168ad71c2dc0da4139bf2bb74533eae9efe.zip
FULLPIPE: Rest of destructor stubs
-rw-r--r--engines/fullpipe/gfx.cpp4
-rw-r--r--engines/fullpipe/gfx.h2
-rw-r--r--engines/fullpipe/motion.cpp4
-rw-r--r--engines/fullpipe/motion.h2
-rw-r--r--engines/fullpipe/sound.cpp3
-rw-r--r--engines/fullpipe/sound.h4
-rw-r--r--engines/fullpipe/statics.cpp8
-rw-r--r--engines/fullpipe/statics.h7
8 files changed, 31 insertions, 3 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index cbd9532118..6e6e35f17a 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -156,6 +156,10 @@ PictureObject::PictureObject() {
_objtype = kObjTypePictureObject;
}
+PictureObject::~PictureObject() {
+ warning("STUB: PictureObject::~PictureObject()");
+}
+
PictureObject::PictureObject(PictureObject *src) : GameObject(src) {
_picture = src->_picture;
_ox2 = _ox;
diff --git a/engines/fullpipe/gfx.h b/engines/fullpipe/gfx.h
index 231ad99663..6e32c94164 100644
--- a/engines/fullpipe/gfx.h
+++ b/engines/fullpipe/gfx.h
@@ -158,7 +158,9 @@ class PictureObject : public GameObject {
public:
PictureObject();
+
PictureObject(PictureObject *src);
+ virtual ~PictureObject();
virtual bool load(MfcArchive &file, bool bigPicture);
virtual bool load(MfcArchive &file) { assert(0); return false; } // Disable base class
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index dc1b76ae2f..c855e99d05 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -463,6 +463,10 @@ MovGraph::MovGraph() {
_objtype = kObjTypeMovGraph;
}
+MovGraph::~MovGraph() {
+ warning("STUB: MovGraph::~MovGraph()");
+}
+
bool MovGraph::load(MfcArchive &file) {
debug(5, "MovGraph::load()");
diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h
index e87763f9ba..dc0e8e7168 100644
--- a/engines/fullpipe/motion.h
+++ b/engines/fullpipe/motion.h
@@ -326,6 +326,8 @@ public:
public:
MovGraph();
+ virtual ~MovGraph();
+
virtual bool load(MfcArchive &file);
virtual void addObject(StaticANIObject *obj);
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp
index da9e7e3984..cf66cb40a1 100644
--- a/engines/fullpipe/sound.cpp
+++ b/engines/fullpipe/sound.cpp
@@ -82,6 +82,9 @@ Sound::Sound() {
_description = 0;
}
+Sound::~Sound() {
+ warning("STUB: Sound::~Sound()");
+}
bool Sound::load(MfcArchive &file, NGIArchive *archive) {
debug(5, "Sound::load()");
diff --git a/engines/fullpipe/sound.h b/engines/fullpipe/sound.h
index 07830e9617..ca64832c04 100644
--- a/engines/fullpipe/sound.h
+++ b/engines/fullpipe/sound.h
@@ -34,8 +34,10 @@ class Sound : public MemoryObject {
byte *_soundData;
Audio::SoundHandle _handle;
- public:
+public:
Sound();
+ virtual ~Sound();
+
virtual bool load(MfcArchive &file, NGIArchive *archive);
virtual bool load(MfcArchive &file) { assert(0); return false; } // Disable base class
void updateVolume();
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp
index c6edce9621..e5464ebfd3 100644
--- a/engines/fullpipe/statics.cpp
+++ b/engines/fullpipe/statics.cpp
@@ -127,6 +127,10 @@ StaticANIObject::StaticANIObject() {
_objtype = kObjTypeStaticANIObject;
}
+StaticANIObject::~StaticANIObject() {
+ warning("STUB: StaticANIObject::~StaticANIObject()");
+}
+
StaticANIObject::StaticANIObject(StaticANIObject *src) : GameObject(src) {
_shadowsOn = src->_shadowsOn;
_field_30 = src->_field_30;
@@ -1210,6 +1214,10 @@ Movement::Movement() {
_somePoint.y = 0;
}
+Movement::~Movement() {
+ warning("STUB: Movement::~Movement()");
+}
+
Movement::Movement(Movement *src, StaticANIObject *ani) {
_lastFrameSpecialFlag = 0;
_flipFlag = src->_flipFlag;
diff --git a/engines/fullpipe/statics.h b/engines/fullpipe/statics.h
index 258752edd1..50001e84e4 100644
--- a/engines/fullpipe/statics.h
+++ b/engines/fullpipe/statics.h
@@ -132,6 +132,8 @@ class Movement : public GameObject {
public:
Movement();
+ virtual ~Movement();
+
Movement(Movement *src, StaticANIObject *ani);
Movement(Movement *src, int *flag1, int flag2, StaticANIObject *ani);
@@ -187,11 +189,12 @@ class StaticANIObject : public GameObject {
int _counter;
int _someDynamicPhaseIndex;
- public:
+public:
int16 _sceneId;
- public:
+public:
StaticANIObject();
+ virtual ~StaticANIObject();
StaticANIObject(StaticANIObject *src);
virtual bool load(MfcArchive &file);