From f2be180c2a89fce3c3a409df71a1ce260d4ea839 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 1 Oct 2013 00:12:04 +0300 Subject: FULLPIPE: Fix compiler warnings (for good) --- engines/fullpipe/gfx.h | 4 +++- engines/fullpipe/sound.h | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'engines/fullpipe') 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; } -- cgit v1.2.3