aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/animation.cpp
diff options
context:
space:
mode:
authorStrangerke2014-02-27 08:15:29 +0100
committerStrangerke2014-02-27 08:15:29 +0100
commite44690dae93605aaf466d335ef6dc4c64f2b132a (patch)
tree0908ebe671ae70a76924e1459d4c4e83d8d4fb2c /engines/voyeur/animation.cpp
parent6dd0a81fdfa1b39a77d845a970606d2a00004ffe (diff)
downloadscummvm-rg350-e44690dae93605aaf466d335ef6dc4c64f2b132a.tar.gz
scummvm-rg350-e44690dae93605aaf466d335ef6dc4c64f2b132a.tar.bz2
scummvm-rg350-e44690dae93605aaf466d335ef6dc4c64f2b132a.zip
VOYEUR: Remove setVm from GraphicsManager
Diffstat (limited to 'engines/voyeur/animation.cpp')
-rw-r--r--engines/voyeur/animation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/voyeur/animation.cpp b/engines/voyeur/animation.cpp
index 86ab7001d9..be6148c351 100644
--- a/engines/voyeur/animation.cpp
+++ b/engines/voyeur/animation.cpp
@@ -471,7 +471,7 @@ void RL2Decoder::play(VoyeurEngine *vm, int resourceOffset,
if (hasDirtyPalette()) {
const byte *palette = getPalette();
- vm->_graphicsManager.setPalette128(palette, paletteStart, paletteCount);
+ vm->_graphicsManager->setPalette128(palette, paletteStart, paletteCount);
}
if (needsUpdate()) {
@@ -483,7 +483,7 @@ void RL2Decoder::play(VoyeurEngine *vm, int resourceOffset,
Common::Point pt(READ_LE_UINT16(imgPos + 4 * picCtr) - 32,
READ_LE_UINT16(imgPos + 4 * picCtr + 2) - 20);
- vm->_graphicsManager.sDrawPic(newPic, &videoFrame, pt);
+ vm->_graphicsManager->sDrawPic(newPic, &videoFrame, pt);
++picCtr;
}
}
@@ -491,7 +491,7 @@ void RL2Decoder::play(VoyeurEngine *vm, int resourceOffset,
// Decode the next frame and display
const Graphics::Surface *frame = decodeNextFrame();
Common::copy((const byte *)frame->getPixels(), (const byte *)frame->getPixels() + 320 * 200,
- (byte *)vm->_graphicsManager._screenSurface.getPixels());
+ (byte *)vm->_graphicsManager->_screenSurface.getPixels());
}
vm->_eventsManager->getMouseInfo();