aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/video_surface.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-04 00:07:50 -0400
committerPaul Gilbert2016-04-04 00:07:50 -0400
commit56b29987443075faba0495d84eeaf42b443d577f (patch)
tree94c2bbd841ca2cf802d28d61fa6a5ed678ec3b2f /engines/titanic/support/video_surface.h
parentebdc773247fb1e6a41f58ee8336986dcdc8e75d6 (diff)
downloadscummvm-rg350-56b29987443075faba0495d84eeaf42b443d577f.tar.gz
scummvm-rg350-56b29987443075faba0495d84eeaf42b443d577f.tar.bz2
scummvm-rg350-56b29987443075faba0495d84eeaf42b443d577f.zip
TITANIC: Further work on STFont character drawing
Diffstat (limited to 'engines/titanic/support/video_surface.h')
-rw-r--r--engines/titanic/support/video_surface.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/titanic/support/video_surface.h b/engines/titanic/support/video_surface.h
index 1de6a1dd34..da53270122 100644
--- a/engines/titanic/support/video_surface.h
+++ b/engines/titanic/support/video_surface.h
@@ -176,7 +176,10 @@ public:
*/
virtual int freeSurface() { return 0; }
-
+ /**
+ * Get a pointer into the underlying surface
+ */
+ virtual uint16 *getBasePtr(int x, int y) = 0;
/**
* Blit from another surface
@@ -299,6 +302,11 @@ public:
* Frees the underlying surface
*/
virtual int freeSurface();
+
+ /**
+ * Get a pointer into the underlying surface
+ */
+ virtual uint16 *getBasePtr(int x, int y);
};
} // End of namespace Titanic