aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/fullpipe/gfx.h4
-rw-r--r--engines/fullpipe/sound.h6
2 files changed, 7 insertions, 3 deletions
diff --git a/engines/fullpipe/gfx.h b/engines/fullpipe/gfx.h
index 1f7284a6eb..85b5998da6 100644
--- a/engines/fullpipe/gfx.h
+++ b/engines/fullpipe/gfx.h
@@ -157,7 +157,9 @@ class PictureObject : public GameObject {
PictureObject();
PictureObject(PictureObject *src);
- bool load(MfcArchive &file, bool bigPicture);
+ virtual bool load(MfcArchive &file, bool bigPicture);
+ virtual bool load(MfcArchive &file) { assert(0); } // Disable base class
+
Common::Point *getDimensions(Common::Point *p);
void draw();
void drawAt(int x, int y);
diff --git a/engines/fullpipe/sound.h b/engines/fullpipe/sound.h
index ea6987aae6..205f8f3e46 100644
--- a/engines/fullpipe/sound.h
+++ b/engines/fullpipe/sound.h
@@ -35,7 +35,8 @@ class Sound : public MemoryObject {
public:
Sound();
- bool load(MfcArchive &file, NGIArchive *archive);
+ virtual bool load(MfcArchive &file, NGIArchive *archive);
+ virtual bool load(MfcArchive &file) { assert(0); } // Disable base class
void updateVolume();
void setPanAndVolumeByStaticAni();
@@ -48,7 +49,8 @@ class SoundList : public CObject {
public:
SoundList();
- bool load(MfcArchive &file, char *fname);
+ virtual bool load(MfcArchive &file, char *fname);
+ virtual bool load(MfcArchive &file) { assert(0); } // Disable base class
bool loadFile(const char *fname, char *libname);
int getCount() { return _soundItemsCount; }