aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/sprite.h
diff options
context:
space:
mode:
authorFilippos Karapetis2008-12-12 14:23:02 +0000
committerFilippos Karapetis2008-12-12 14:23:02 +0000
commitcfa939d1510d0630a81cec41fc94a61b9908693e (patch)
tree6ecc219bb5c951820f78d6724a52749b7c23571a /engines/saga/sprite.h
parent2efe7bede0d5c659abd8e48b5de011d8c5266fc8 (diff)
downloadscummvm-rg350-cfa939d1510d0630a81cec41fc94a61b9908693e.tar.gz
scummvm-rg350-cfa939d1510d0630a81cec41fc94a61b9908693e.tar.bz2
scummvm-rg350-cfa939d1510d0630a81cec41fc94a61b9908693e.zip
- Stop passing the scene clip rectangle around for no reason
- More changes for dirty rectangle handling - Stop adding dirty rectangles that cover the whole screen for no reason - Dirty rectangle handling is still very buggy, so it's still disabled svn-id: r35314
Diffstat (limited to 'engines/saga/sprite.h')
-rw-r--r--engines/saga/sprite.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/saga/sprite.h b/engines/saga/sprite.h
index 0c31044be2..2f267f6cba 100644
--- a/engines/saga/sprite.h
+++ b/engines/saga/sprite.h
@@ -74,15 +74,15 @@ public:
~Sprite(void);
// draw scaled sprite using background scene mask
- void drawOccluded(const Rect &clipRect, SpriteList &spriteList, int spriteNumber, const Point &screenCoord, int scale, int depth);
+ void drawOccluded(SpriteList &spriteList, int spriteNumber, const Point &screenCoord, int scale, int depth);
// draw scaled sprite using background scene mask
- void draw(const Rect &clipRect, SpriteList &spriteList, int32 spriteNumber, const Point &screenCoord, int scale);
+ void draw(SpriteList &spriteList, int32 spriteNumber, const Point &screenCoord, int scale);
// main function
- void drawClip(const Rect &clipRect, const Point &spritePointer, int width, int height, const byte *spriteBuffer);
+ void drawClip(const Point &spritePointer, int width, int height, const byte *spriteBuffer);
- void draw(const Rect &clipRect, SpriteList &spriteList, int32 spriteNumber, const Rect &screenRect, int scale);
+ void draw(SpriteList &spriteList, int32 spriteNumber, const Rect &screenRect, int scale);
void loadList(int resourceId, SpriteList &spriteList); // load or append spriteList
bool hitTest(SpriteList &spriteList, int spriteNumber, const Point &screenCoord, int scale, const Point &testPoint);