diff options
author | Paul Gilbert | 2016-06-19 09:58:00 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:23:38 -0400 |
commit | 68f13646e185416bb74812ea489764b9b28b8e22 (patch) | |
tree | 99bae897378a78f89fe72a12c528c0a10e4b43c8 /engines/titanic/support/screen_manager.h | |
parent | 758fb87f0ead14545ea7bbea85ae5355230ff113 (diff) | |
download | scummvm-rg350-68f13646e185416bb74812ea489764b9b28b8e22.tar.gz scummvm-rg350-68f13646e185416bb74812ea489764b9b28b8e22.tar.bz2 scummvm-rg350-68f13646e185416bb74812ea489764b9b28b8e22.zip |
TITANIC: Implementing more CGameObject/OSScreenManager draw methods
Diffstat (limited to 'engines/titanic/support/screen_manager.h')
-rw-r--r-- | engines/titanic/support/screen_manager.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/engines/titanic/support/screen_manager.h b/engines/titanic/support/screen_manager.h index 2e80869085..21b40cad37 100644 --- a/engines/titanic/support/screen_manager.h +++ b/engines/titanic/support/screen_manager.h @@ -41,8 +41,8 @@ namespace Titanic { * remapped to the primary surface */ enum SurfaceNum { - SURFACE_PRIMARY = -1, - SURFACE_BACKBUFFER = -1 + SURFACE_PRIMARY = -1, // Surface 0 + SURFACE_BACKBUFFER = -1 // Surface -1 }; class TitanicEngine; @@ -109,8 +109,11 @@ public: virtual void blitFrom(SurfaceNum surfaceNum, CVideoSurface *src, const Point *destPos = nullptr, const Rect *srcRect = nullptr) = 0; - virtual void proc12() = 0; - + /** + * Blits a surface onto one of the screen surfaces + */ + virtual void blitFrom(SurfaceNum surfaceNum, const Rect *rect, CVideoSurface *src, int v = 0) = 0; + /** * Write a string * @param surfaceNum Destination surface @@ -248,7 +251,10 @@ public: virtual void blitFrom(SurfaceNum surfaceNum, CVideoSurface *src, const Point *destPos, const Rect *srcRect = nullptr); - virtual void proc12(); + /** + * Blits a surface onto one of the screen surfaces + */ + virtual void blitFrom(SurfaceNum surfaceNum, const Rect *rect, CVideoSurface *src, int v = 0); /** * Write a string |