aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/xsurface.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-12-26 18:31:05 +1100
committerPaul Gilbert2014-12-26 18:31:05 +1100
commitd213db3dc1b24e281e03dc593f21925db8fcd10e (patch)
treee78f2e0dd40efe00b791c951c5b67eea30b51aeb /engines/xeen/xsurface.h
parent4f423c74b701b4dceff680259d174acb6a450b76 (diff)
downloadscummvm-rg350-d213db3dc1b24e281e03dc593f21925db8fcd10e.tar.gz
scummvm-rg350-d213db3dc1b24e281e03dc593f21925db8fcd10e.tar.bz2
scummvm-rg350-d213db3dc1b24e281e03dc593f21925db8fcd10e.zip
XEEN: Converted SpriteResource to decoding sprite frames on the fly
Diffstat (limited to 'engines/xeen/xsurface.h')
-rw-r--r--engines/xeen/xsurface.h12
1 files changed, 7 insertions, 5 deletions
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; }
};