aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Milburn2012-08-27 23:41:23 +0200
committerAlyssa Milburn2012-08-27 23:41:23 +0200
commit28681a32eeaeba6029d6040da89bd810a0dd2b35 (patch)
treed9600d95c2400b423eb3e8b6af5117ca11310245
parentbfca99eb18ba2d96331fc0e3fe351d20d47315e3 (diff)
downloadscummvm-rg350-28681a32eeaeba6029d6040da89bd810a0dd2b35.tar.gz
scummvm-rg350-28681a32eeaeba6029d6040da89bd810a0dd2b35.tar.bz2
scummvm-rg350-28681a32eeaeba6029d6040da89bd810a0dd2b35.zip
TONY: Remove more unused bits.
-rw-r--r--engines/tony/window.cpp3
-rw-r--r--engines/tony/window.h11
2 files changed, 0 insertions, 14 deletions
diff --git a/engines/tony/window.cpp b/engines/tony/window.cpp
index c412a53655..9385db27c7 100644
--- a/engines/tony/window.cpp
+++ b/engines/tony/window.cpp
@@ -57,9 +57,6 @@ void RMWindow::init() {
Graphics::PixelFormat pixelFormat(2, 5, 5, 5, 0, 10, 5, 0, 0);
initGraphics(RM_SX, RM_SY, true, &pixelFormat);
- // Initialize FPS counters
- fps = lastfcount = fcount = lastsecond = 0;
-
_bGrabScreenshot = false;
_bGrabThumbnail = false;
_bGrabMovie = false;
diff --git a/engines/tony/window.h b/engines/tony/window.h
index 4dfd63a3d8..9aaca16d3e 100644
--- a/engines/tony/window.h
+++ b/engines/tony/window.h
@@ -35,10 +35,6 @@
namespace Tony {
-typedef uint32 HWND;
-struct DDSURFACEDESC {
-};
-
class RMSnapshot {
private:
// Buffer used to convert to RGB
@@ -57,10 +53,6 @@ private:
void plotLines(const byte *lpBuf, const Common::Point &center, int x, int y);
protected:
- int fps, fcount;
- int lastsecond, lastfcount;
-
- int mskRed, mskGreen, mskBlue;
bool _wiping;
bool _showDirtyRects;
@@ -98,9 +90,6 @@ public:
*/
void grabThumbnail(uint16 *buf);
- int getFps() const {
- return fps;
- }
void showDirtyRects(bool v) { _showDirtyRects = v; }
};