aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/animation.cpp
diff options
context:
space:
mode:
authorStrangerke2014-03-09 21:48:40 +0100
committerStrangerke2014-03-09 21:48:40 +0100
commit864b97eb49a96a6d490611ac81109410b4a140d5 (patch)
tree98123f428b9df4eeb90fd5e34e71f342aad8fad2 /engines/voyeur/animation.cpp
parent118e7395c3cdcc8eb086cc83d094ee8199d44224 (diff)
downloadscummvm-rg350-864b97eb49a96a6d490611ac81109410b4a140d5.tar.gz
scummvm-rg350-864b97eb49a96a6d490611ac81109410b4a140d5.tar.bz2
scummvm-rg350-864b97eb49a96a6d490611ac81109410b4a140d5.zip
VOYEUR: rename audio and video track access functions
Diffstat (limited to 'engines/voyeur/animation.cpp')
-rw-r--r--engines/voyeur/animation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/voyeur/animation.cpp b/engines/voyeur/animation.cpp
index f6c1b20cef..20af780755 100644
--- a/engines/voyeur/animation.cpp
+++ b/engines/voyeur/animation.cpp
@@ -115,7 +115,7 @@ void RL2Decoder::copyDirtyRectsToBuffer(uint8 *dst, uint pitch) {
void RL2Decoder::readNextPacket() {
int frameNumber = getCurFrame();
- RL2AudioTrack *audioTrack = RL2Decoder::getAudioTrack();
+ RL2AudioTrack *audioTrack = getRL2AudioTrack();
// Handle queueing sound data
if (_soundFrameNumber == -1)
@@ -464,7 +464,7 @@ void RL2Decoder::play(VoyeurEngine *vm, int resourceOffset,
int paletteStart = getPaletteStart();
int paletteCount = getPaletteCount();
- PictureResource videoFrame(getVideoTrack()->getBackSurface());
+ PictureResource videoFrame(getRL2VideoTrack()->getBackSurface());
int picCtr = 0;
while (!vm->shouldQuit() && !endOfVideo() && !vm->_eventsManager->_mouseClicked) {
if (hasDirtyPalette()) {