From 69ec4fbf1be753f67c8de06fc9efc58786a255c3 Mon Sep 17 00:00:00 2001 From: md5 Date: Sun, 10 Apr 2011 05:48:20 +0300 Subject: TINSEL: Removed the dummy ForceEntireRedraw() function --- engines/tinsel/background.cpp | 8 -------- engines/tinsel/background.h | 2 -- engines/tinsel/bmv.cpp | 1 - 3 files changed, 11 deletions(-) diff --git a/engines/tinsel/background.cpp b/engines/tinsel/background.cpp index 560216aadb..f895ecd2da 100644 --- a/engines/tinsel/background.cpp +++ b/engines/tinsel/background.cpp @@ -39,9 +39,6 @@ namespace Tinsel { // current background const BACKGND *pCurBgnd = NULL; -// FIXME: Not yet used -static bool bEntireRedraw; - /** * Called to initialise a background. * @param pBgnd Pointer to data struct for current background @@ -257,9 +254,4 @@ void DrawBackgnd() { ResetClipRect(); } -void ForceEntireRedraw() { - bEntireRedraw = true; -} - - } // End of namespace Tinsel diff --git a/engines/tinsel/background.h b/engines/tinsel/background.h index 81b490488e..d0b27e6e40 100644 --- a/engines/tinsel/background.h +++ b/engines/tinsel/background.h @@ -110,8 +110,6 @@ OBJECT *GetBgObject(); SCNHANDLE BgPal(); -void ForceEntireRedraw(); - int BgWidth(); int BgHeight(); diff --git a/engines/tinsel/bmv.cpp b/engines/tinsel/bmv.cpp index a459f2c919..b5b84ceaee 100644 --- a/engines/tinsel/bmv.cpp +++ b/engines/tinsel/bmv.cpp @@ -1025,7 +1025,6 @@ bool BMVPlayer::DoSoundFrame() { void BMVPlayer::CopyMovieToScreen() { // Not if not up and running yet! if (!screenBuffer || (currentFrame == 0)) { - ForceEntireRedraw(); DrawBackgnd(); return; } -- cgit v1.2.3