aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/video_surface.cpp
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.cpp
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.cpp')
-rw-r--r--engines/titanic/support/video_surface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/support/video_surface.cpp b/engines/titanic/support/video_surface.cpp
index 6bba24de5f..ebe552a062 100644
--- a/engines/titanic/support/video_surface.cpp
+++ b/engines/titanic/support/video_surface.cpp
@@ -373,4 +373,9 @@ int OSVideoSurface::freeSurface() {
return surfaceSize;
}
+uint16 *OSVideoSurface::getBasePtr(int x, int y) {
+ assert(_rawSurface);
+ return (uint16 *)_rawSurface->getBasePtr(x, y);
+}
+
} // End of namespace Titanic