diff options
-rw-r--r-- | engines/titanic/support/simple_file.h | 10 | ||||
-rw-r--r-- | engines/titanic/support/video_surface.h | 7 |
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; |