aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2016-07-31 07:24:07 -0400
committerPaul Gilbert2016-07-31 07:24:07 -0400
commit8a2491c51b1b7d27382030f3cb9d58c5b56265f0 (patch)
treeb895bed2fbdc38f3aee7590f4f762f49c424bf97
parent2bb4e83d5a0022c3083547b056bdc1444633b3d4 (diff)
downloadscummvm-rg350-8a2491c51b1b7d27382030f3cb9d58c5b56265f0.tar.gz
scummvm-rg350-8a2491c51b1b7d27382030f3cb9d58c5b56265f0.tar.bz2
scummvm-rg350-8a2491c51b1b7d27382030f3cb9d58c5b56265f0.zip
TITANIC: Fix some clang warnings
-rw-r--r--engines/titanic/support/simple_file.h10
-rw-r--r--engines/titanic/support/video_surface.h7
2 files changed, 17 insertions, 0 deletions
diff --git a/engines/titanic/support/simple_file.h b/engines/titanic/support/simple_file.h
index 6cf9995d16..f5d0bc7c1b 100644
--- a/engines/titanic/support/simple_file.h
+++ b/engines/titanic/support/simple_file.h
@@ -296,6 +296,16 @@ public:
virtual bool open(const Common::String &filename);
/**
+ * Unsupported open method from parent class
+ */
+ virtual void open(Common::SeekableReadStream *stream) {}
+
+ /**
+ * Unsupported open method from parent class
+ */
+ virtual void open(Common::OutSaveFile *stream) {}
+
+ /**
* Return a reference to the read stream
*/
Common::SeekableReadStream *readStream() const { return _inStream; }
diff --git a/engines/titanic/support/video_surface.h b/engines/titanic/support/video_surface.h
index 1f3a0fa2b3..053eabb0f9 100644
--- a/engines/titanic/support/video_surface.h
+++ b/engines/titanic/support/video_surface.h
@@ -86,6 +86,13 @@ public:
void setSurface(CScreenManager *screenManager, DirectDrawSurface *surface);
/**
+ * Load the data for the class from file
+ */
+ virtual void load(SimpleFile *file) {
+ ListItem::load(file);
+ }
+
+ /**
* Load the surface with the passed resource
*/
virtual void loadResource(const CResourceKey &key) = 0;