diff options
author | Paul Gilbert | 2016-03-21 20:53:49 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-21 20:53:49 -0400 |
commit | 217360d0c5a0b8289c16b22fc46782c475fcc9f5 (patch) | |
tree | 5fef119ff142d15d2bd91e99dfc9700f86ac38ed /engines/titanic/video_surface.h | |
parent | 9a66bc2e9e3638af940053ac58df36b489b3e345 (diff) | |
download | scummvm-rg350-217360d0c5a0b8289c16b22fc46782c475fcc9f5.tar.gz scummvm-rg350-217360d0c5a0b8289c16b22fc46782c475fcc9f5.tar.bz2 scummvm-rg350-217360d0c5a0b8289c16b22fc46782c475fcc9f5.zip |
TITANIC: Add new derived Rect and Point classes
Diffstat (limited to 'engines/titanic/video_surface.h')
-rw-r--r-- | engines/titanic/video_surface.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/titanic/video_surface.h b/engines/titanic/video_surface.h index 88ab2e4d45..3538b1dd89 100644 --- a/engines/titanic/video_surface.h +++ b/engines/titanic/video_surface.h @@ -27,6 +27,7 @@ #include "common/array.h" #include "titanic/font.h" #include "titanic/direct_draw.h" +#include "titanic/rect.h" #include "titanic/core/list.h" #include "titanic/core/resource_key.h" @@ -43,8 +44,8 @@ private: /** * Calculates blitting bounds */ - void clipBounds(Common::Rect &destRect, Common::Rect &srcRect, - CVideoSurface *srcSurface, Common::Rect *bounds2, Common::Point *pt); + void clipBounds(Rect &destRect, Rect &srcRect, + CVideoSurface *srcSurface, Rect *bounds2, Point *pt); protected: static int _videoSurfaceCounter; protected: @@ -151,7 +152,7 @@ public: /** * Blit from another surface */ - void blitFrom(const Common::Rect &srcRect, const Common::Rect &destRect, CVideoSurface *srcSurface); + void blitFrom(const Rect &srcRect, const Rect &destRect, CVideoSurface *srcSurface); }; class OSVideoSurface : public CVideoSurface { |