From aab55c24fd1e1dd757e0d7b735f31662de871e70 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 1 Oct 2013 01:04:25 +0300 Subject: FULLPIPE: Fix compilation with MSVC Return a fake value for functions that are supposed to return a boolean value --- engines/fullpipe/gfx.h | 2 +- engines/fullpipe/sound.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/fullpipe/gfx.h b/engines/fullpipe/gfx.h index 85b5998da6..9d5c45de0b 100644 --- a/engines/fullpipe/gfx.h +++ b/engines/fullpipe/gfx.h @@ -158,7 +158,7 @@ class PictureObject : public GameObject { PictureObject(PictureObject *src); virtual bool load(MfcArchive &file, bool bigPicture); - virtual bool load(MfcArchive &file) { assert(0); } // Disable base class + virtual bool load(MfcArchive &file) { assert(0); return false; } // Disable base class Common::Point *getDimensions(Common::Point *p); void draw(); diff --git a/engines/fullpipe/sound.h b/engines/fullpipe/sound.h index 205f8f3e46..e2b271fe2c 100644 --- a/engines/fullpipe/sound.h +++ b/engines/fullpipe/sound.h @@ -36,7 +36,7 @@ class Sound : public MemoryObject { public: Sound(); virtual bool load(MfcArchive &file, NGIArchive *archive); - virtual bool load(MfcArchive &file) { assert(0); } // Disable base class + virtual bool load(MfcArchive &file) { assert(0); return false; } // Disable base class void updateVolume(); void setPanAndVolumeByStaticAni(); @@ -50,7 +50,7 @@ class SoundList : public CObject { public: SoundList(); virtual bool load(MfcArchive &file, char *fname); - virtual bool load(MfcArchive &file) { assert(0); } // Disable base class + virtual bool load(MfcArchive &file) { assert(0); return false; } // Disable base class bool loadFile(const char *fname, char *libname); int getCount() { return _soundItemsCount; } -- cgit v1.2.3