From d213db3dc1b24e281e03dc593f21925db8fcd10e Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 26 Dec 2014 18:31:05 +1100 Subject: XEEN: Converted SpriteResource to decoding sprite frames on the fly --- engines/xeen/xsurface.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'engines/xeen/xsurface.h') diff --git a/engines/xeen/xsurface.h b/engines/xeen/xsurface.h index c2d6e78d8d..92f1236349 100644 --- a/engines/xeen/xsurface.h +++ b/engines/xeen/xsurface.h @@ -32,9 +32,7 @@ namespace Xeen { class XSurface: public Graphics::Surface { public: - virtual void transBlitFrom(const XSurface &src, const Common::Point &destPos); - - virtual void blitFrom(const XSurface &src, const Common::Point &destPos); + virtual void addDirtyRect(const Common::Rect &r) {} public: XSurface(); XSurface(int w, int h); @@ -42,9 +40,13 @@ public: void create(uint16 w, uint16 h); - void transBlitFrom(const XSurface &src); + void transBlitTo(XSurface &dest) const; + + void transBlitTo(XSurface &dest, const Common::Point &destPos) const; + + void blitTo(XSurface &dest, const Common::Point &destPos) const; - void blitFrom(const XSurface &src); + void blitTo(XSurface &dest) const; bool empty() const { return getPixels() == nullptr; } }; -- cgit v1.2.3