aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/window.h
diff options
context:
space:
mode:
authorPaul Gilbert2012-06-23 00:57:21 +1000
committerPaul Gilbert2012-06-23 00:57:21 +1000
commit717756749df4a1effa2628d5a7c039401c1d1f47 (patch)
tree97a9a1b5796d2706ead5100e5d2fe6a2b296ec1c /engines/tony/window.h
parent2990482406710c77280c67f3b7672a569b9d5a92 (diff)
parenteef6b444df766b90d1323941c7ff9bd8355c111b (diff)
downloadscummvm-rg350-717756749df4a1effa2628d5a7c039401c1d1f47.tar.gz
scummvm-rg350-717756749df4a1effa2628d5a7c039401c1d1f47.tar.bz2
scummvm-rg350-717756749df4a1effa2628d5a7c039401c1d1f47.zip
TONY: Merge of dirty rect functionality
Diffstat (limited to 'engines/tony/window.h')
-rw-r--r--engines/tony/window.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/tony/window.h b/engines/tony/window.h
index 0d4c20b0fe..571a02829a 100644
--- a/engines/tony/window.h
+++ b/engines/tony/window.h
@@ -59,13 +59,12 @@ private:
void plotLines(const byte *lpBuf, const Common::Point &center, int x, int y);
protected:
-// void * /*LPDIRECTDRAWCLIPPER*/ _MainClipper;
-// void * /*LPDIRECTDRAWCLIPPER*/ _BackClipper;
-
int fps, fcount;
int lastsecond, lastfcount;
int mskRed, mskGreen, mskBlue;
+ bool _wiping;
+ bool _showDirtyRects;
bool _bGrabScreenshot;
bool _bGrabThumbnail;
@@ -100,7 +99,7 @@ public:
/**
* Reads the next frame
*/
- void getNewFrame(byte *lpBuf, Common::Rect *rcBoundEllipse);
+ void getNewFrame(RMGfxTargetBuffer &lpBuf, Common::Rect *rcBoundEllipse);
/**
* Request a thumbnail be grabbed during the next frame
@@ -110,6 +109,7 @@ public:
int getFps() const {
return fps;
}
+ void showDirtyRects(bool v) { _showDirtyRects = v; }
};
} // End of namespace Tony