diff options
Diffstat (limited to 'engines/sword25/gfx/bitmapresource.h')
-rw-r--r-- | engines/sword25/gfx/bitmapresource.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/sword25/gfx/bitmapresource.h b/engines/sword25/gfx/bitmapresource.h index f1278f3885..72b8a3ea1f 100644 --- a/engines/sword25/gfx/bitmapresource.h +++ b/engines/sword25/gfx/bitmapresource.h @@ -123,9 +123,10 @@ public: int flipping = FLIP_NONE, Common::Rect *pSrcPartRect = NULL, uint color = BS_ARGB(255, 255, 255, 255), - int width = -1, int height = -1) { + int width = -1, int height = -1, + RectangleList *updateRects = 0) { assert(_pImage); - return _pImage->blit(posX, posY, flipping, pSrcPartRect, color, width, height); + return _pImage->blit(posX, posY, flipping, pSrcPartRect, color, width, height, updateRects); } /** @@ -202,6 +203,11 @@ public: return _pImage->isColorModulationAllowed(); } + bool isSolid() { + assert(_pImage); + return _pImage->isSolid(); + } + private: Image *_pImage; }; |