diff options
author | Paul Gilbert | 2012-06-23 00:57:21 +1000 |
---|---|---|
committer | Paul Gilbert | 2012-06-23 00:57:21 +1000 |
commit | 717756749df4a1effa2628d5a7c039401c1d1f47 (patch) | |
tree | 97a9a1b5796d2706ead5100e5d2fe6a2b296ec1c /engines/tony/window.h | |
parent | 2990482406710c77280c67f3b7672a569b9d5a92 (diff) | |
parent | eef6b444df766b90d1323941c7ff9bd8355c111b (diff) | |
download | scummvm-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.h | 8 |
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 ¢er, 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 |