aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/voyeur/animation.cpp5
-rw-r--r--engines/voyeur/animation.h3
2 files changed, 0 insertions, 8 deletions
diff --git a/engines/voyeur/animation.cpp b/engines/voyeur/animation.cpp
index 301c8d1c43..c7522e6b20 100644
--- a/engines/voyeur/animation.cpp
+++ b/engines/voyeur/animation.cpp
@@ -163,7 +163,6 @@ void RL2Decoder::RL2FileHeader::load(Common::SeekableReadStream *stream) {
_form = stream->readUint32LE();
_backSize = stream->readUint32LE();
_signature = stream->readUint32LE();
- _isRLV3 = !strncmp((const char *)&_signature, "RLV3", 4);
if (!isValid())
return;
@@ -244,10 +243,6 @@ void RL2Decoder::RL2VideoTrack::initBackSurface() {
_backSurface->create(320, 200, Graphics::PixelFormat::createFormatCLUT8());
}
-bool RL2Decoder::RL2VideoTrack::endOfTrack() const {
- return getCurFrame() >= getFrameCount();
-}
-
bool RL2Decoder::RL2VideoTrack::seek(const Audio::Timestamp &time) {
int frame = getFrameAtTime(time);
diff --git a/engines/voyeur/animation.h b/engines/voyeur/animation.h
index 43dd6a02b1..96c283510e 100644
--- a/engines/voyeur/animation.h
+++ b/engines/voyeur/animation.h
@@ -63,7 +63,6 @@ private:
uint32 *_frameOffsets;
int *_frameSoundSizes;
- bool _isRLV3;
public:
RL2FileHeader();
~RL2FileHeader();
@@ -106,8 +105,6 @@ private:
Common::SeekableReadStream *stream);
~RL2VideoTrack();
- bool endOfTrack() const;
-
uint16 getWidth() const;
uint16 getHeight() const;
Graphics::Surface *getSurface() { return _surface; }