diff options
author | Filippos Karapetis | 2015-10-13 05:25:49 +0300 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:40 +0100 |
commit | 1bdf07c7acd209f3ca5ca792a6ddfe51e5e712b5 (patch) | |
tree | 0d7bce13929d925d911975e466a2d64108d5d1e2 /engines/lab/readdiff.cpp | |
parent | 5cc3d3b682a69fee4ed76e2892a946711ec23926 (diff) | |
download | scummvm-rg350-1bdf07c7acd209f3ca5ca792a6ddfe51e5e712b5.tar.gz scummvm-rg350-1bdf07c7acd209f3ca5ca792a6ddfe51e5e712b5.tar.bz2 scummvm-rg350-1bdf07c7acd209f3ca5ca792a6ddfe51e5e712b5.zip |
LAB: Remove unused code
Diffstat (limited to 'engines/lab/readdiff.cpp')
-rw-r--r-- | engines/lab/readdiff.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/lab/readdiff.cpp b/engines/lab/readdiff.cpp index b2720ea202..dacd4fbe36 100644 --- a/engines/lab/readdiff.cpp +++ b/engines/lab/readdiff.cpp @@ -46,7 +46,6 @@ static byte *storagefordifffile, **difffile = &storagefordifffile; static byte *start; static uint32 diffwidth, diffheight; static byte blackbuffer[256 * 3]; -static byte *mstart; bool DoBlack = false, /* Black the screen before new picture */ nopalchange = false, /* Don't change the palette. */ @@ -57,7 +56,6 @@ bool DoBlack = false, /* Black the screen before new picture */ static bool continuous, IsPlaying = false, - StopPlayingEnd = false, IsAnim = false, IsPal = false; @@ -259,7 +257,7 @@ void diffNextFrame() { break; } case 65535L: - if ((framenumber == 1) || PlayOnce || StopPlayingEnd) { + if ((framenumber == 1) || PlayOnce) { int didTOF = 0; if (waitForEffect) { @@ -310,7 +308,6 @@ void playDiff() { difffile = &storagefordifffile; IsPlaying = true; - StopPlayingEnd = false; if (DoBlack) { DoBlack = false; @@ -443,7 +440,7 @@ void readSound(bool waitTillFinished) { char temp_[5]; byte *storagefordifffile_, **difffile_ = &storagefordifffile_; - mstart = *startoffile; /* Make a copy of the pointer to the start of the file */ + byte *mstart = *startoffile; /* Make a copy of the pointer to the start of the file */ *difffile_ = mstart; /* Now can modify the file without modifying the original */ if (mstart == NULL) |