aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/graphics.h
diff options
context:
space:
mode:
authorPaul Gilbert2013-03-09 22:04:41 -0500
committerPaul Gilbert2013-03-09 22:04:41 -0500
commit3d06a93be163d9cc99d5c06036408e3020d5e76e (patch)
treeb227a72f56d95e02698d9f797a2cb340cd128ee6 /engines/hopkins/graphics.h
parent55c024494d80b343fc23d8e534153fd9c873f040 (diff)
downloadscummvm-rg350-3d06a93be163d9cc99d5c06036408e3020d5e76e.tar.gz
scummvm-rg350-3d06a93be163d9cc99d5c06036408e3020d5e76e.tar.bz2
scummvm-rg350-3d06a93be163d9cc99d5c06036408e3020d5e76e.zip
HOPKINS: Merged dirty/refresh rect rect adding into a single method
Diffstat (limited to 'engines/hopkins/graphics.h')
-rw-r--r--engines/hopkins/graphics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/hopkins/graphics.h b/engines/hopkins/graphics.h
index 3739bbf3a3..45bc202d59 100644
--- a/engines/hopkins/graphics.h
+++ b/engines/hopkins/graphics.h
@@ -130,6 +130,7 @@ public:
void addDirtyRect(int x1, int y1, int x2, int y2);
void addDirtyRect(const Common::Rect &r) { addDirtyRect(r.left, r.top, r.right, r.bottom); }
void addRefreshRect(int x1, int y1, int x2, int y2);
+ void addRectToArray(Common::Array<Common::Rect> &rects, const Common::Rect &newRect);
void displayDirtyRects();
void displayRefreshRects();
void copySurface(const byte *surface, int x1, int y1, int width, int height, byte *destSurface, int destX, int destY);