aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/window.h
diff options
context:
space:
mode:
authorPaul Gilbert2012-06-22 23:47:39 +1000
committerPaul Gilbert2012-06-22 23:47:39 +1000
commiteef6b444df766b90d1323941c7ff9bd8355c111b (patch)
tree3e39c97bc44c48c0ccd162d10e327c552d55d4bf /engines/tony/window.h
parent17289089e6232d464d9eef15f510d66542fbbec5 (diff)
downloadscummvm-rg350-eef6b444df766b90d1323941c7ff9bd8355c111b.tar.gz
scummvm-rg350-eef6b444df766b90d1323941c7ff9bd8355c111b.tar.bz2
scummvm-rg350-eef6b444df766b90d1323941c7ff9bd8355c111b.zip
TONY: Created a debugger command 'dirty_rects' to show dirty rect areas on-screen
Diffstat (limited to 'engines/tony/window.h')
-rw-r--r--engines/tony/window.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/tony/window.h b/engines/tony/window.h
index 6189dd391f..562e5fe062 100644
--- a/engines/tony/window.h
+++ b/engines/tony/window.h
@@ -57,14 +57,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;
@@ -99,6 +97,7 @@ public:
int getFps() const {
return fps;
}
+ void showDirtyRects(bool v) { _showDirtyRects = v; }
};
} // End of namespace Tony