aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/video_surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/support/video_surface.h')
-rw-r--r--engines/titanic/support/video_surface.h7
1 files changed, 7 insertions, 0 deletions
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;