aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/sprite.h
diff options
context:
space:
mode:
authorPaul Gilbert2010-03-25 12:46:06 +0000
committerPaul Gilbert2010-03-25 12:46:06 +0000
commitae8853d80bc9e4d6a7f952a76271ad06dd9a3970 (patch)
treed8361a9f6bfd42736f8e81b3ef19490572ae81e6 /engines/m4/sprite.h
parent1eda07f5242189e1d2be2869c118fce7833a7c4f (diff)
downloadscummvm-rg350-ae8853d80bc9e4d6a7f952a76271ad06dd9a3970.tar.gz
scummvm-rg350-ae8853d80bc9e4d6a7f952a76271ad06dd9a3970.tar.bz2
scummvm-rg350-ae8853d80bc9e4d6a7f952a76271ad06dd9a3970.zip
Added preliminary logic for showing loaded sprite frames
svn-id: r48401
Diffstat (limited to 'engines/m4/sprite.h')
-rw-r--r--engines/m4/sprite.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/m4/sprite.h b/engines/m4/sprite.h
index 49a96a6c4a..ee985c958b 100644
--- a/engines/m4/sprite.h
+++ b/engines/m4/sprite.h
@@ -115,6 +115,18 @@ public:
void loadDeltaRle(Common::SeekableReadStream* rleData, int destX, int destY);
void loadMadsSprite(Common::SeekableReadStream* source);
+ void draw(M4Surface *destSurface, int scale, int depth, int xp, int yp) {
+ // TODO: Properly implement drawing
+ copyTo(destSurface, xp, yp);
+ }
+ void draw2(M4Surface *destSurface, int depth, int xp, int yp) {
+ // TODO: Properly implement drawing
+ copyTo(destSurface, xp, yp);
+ }
+ void draw3(M4Surface *destSurface, int xp, int yp) {
+ // TODO: Properly implement drawing
+ copyTo(destSurface, xp, yp);
+ }
byte getTransparentColor() const;
protected:
};