From 8a2491c51b1b7d27382030f3cb9d58c5b56265f0 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 31 Jul 2016 07:24:07 -0400 Subject: TITANIC: Fix some clang warnings --- engines/titanic/support/simple_file.h | 10 ++++++++++ engines/titanic/support/video_surface.h | 7 +++++++ 2 files changed, 17 insertions(+) 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 @@ -295,6 +295,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 */ 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 @@ -85,6 +85,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 */ -- cgit v1.2.3