From f1351dcd9e80acc305365f8726fd05600283a6e4 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 8 Oct 2015 05:36:32 +0300 Subject: LAB: Remove dead code --- engines/lab/readdiff.cpp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'engines/lab') diff --git a/engines/lab/readdiff.cpp b/engines/lab/readdiff.cpp index ab93d32c1d..b2720ea202 100644 --- a/engines/lab/readdiff.cpp +++ b/engines/lab/readdiff.cpp @@ -37,11 +37,11 @@ namespace Lab { -static bool PlayOnce = false, changedscreen; +static bool PlayOnce = false; static uint32 header, size, processed = 0L, WaitSec = 0L, WaitMicros = 0L, DelayMicros = 0L; static uint16 CurBit = 0, framenumber = 0, samplespeed, numchunks = 1; static byte *Buffer, temp[5]; -static bool FirstThru = true, donepal = false; +static bool donepal = false; static byte *storagefordifffile, **difffile = &storagefordifffile; static byte *start; static uint32 diffwidth, diffheight; @@ -57,7 +57,6 @@ bool DoBlack = false, /* Black the screen before new picture */ static bool continuous, IsPlaying = false, - StopPlaying = false, StopPlayingEnd = false, IsAnim = false, IsPal = false; @@ -150,7 +149,6 @@ void diffNextFrame() { } donepal = true; - FirstThru = false; } if (IsPal && !nopalchange && !IsBM && !donepal) { @@ -308,16 +306,12 @@ void playDiff() { CurBit = 0; framenumber = 0; numchunks = 1; - FirstThru = true; donepal = false; difffile = &storagefordifffile; IsPlaying = true; - StopPlaying = false; StopPlayingEnd = false; - changedscreen = false; - if (DoBlack) { DoBlack = false; blackScreen(); @@ -406,8 +400,6 @@ void playDiff() { /*****************************************************************************/ void stopDiff() { if (IsPlaying) { - StopPlaying = true; - if (IsAnim) blackScreen(); } @@ -420,8 +412,6 @@ void stopDiff() { /*****************************************************************************/ void stopDiffEnd() { if (IsPlaying) { - StopPlayingEnd = true; - while (IsPlaying) { g_music->updateMusic(); diffNextFrame(); -- cgit v1.2.3