diff options
Diffstat (limited to 'engines/bladerunner/vqa_player.cpp')
-rw-r--r-- | engines/bladerunner/vqa_player.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/bladerunner/vqa_player.cpp b/engines/bladerunner/vqa_player.cpp index 2b79ac7eec..8146c1abf9 100644 --- a/engines/bladerunner/vqa_player.cpp +++ b/engines/bladerunner/vqa_player.cpp @@ -64,6 +64,7 @@ int VQAPlayer::update() { if (_hasAudio) queueAudioFrame(_decoder.decodeAudioFrame()); _surface = _decoder.decodeVideoFrame(); + _zBuffer = _decoder.decodeZBuffer(); _view = _decoder.getView(); } @@ -87,6 +88,7 @@ int VQAPlayer::update() { _curFrame = _decodedFrame; if (_curFrame >= 0) { _surface = _decoder.decodeVideoFrame(); + _zBuffer = _decoder.decodeZBuffer(); _view = _decoder.getView(); } @@ -109,6 +111,10 @@ const Graphics::Surface *VQAPlayer::getSurface() const { return _surface; } +const uint16 *VQAPlayer::getZBuffer() const { + return _zBuffer; +} + void VQAPlayer::setLoopSpecial(int loop, bool wait) { _loopSpecial = loop; if (!wait) |