diff options
author | Iskrich | 2016-05-26 01:16:29 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 11c9bbd9cb78ea4229e9cd64ad1d31e46d32ec41 (patch) | |
tree | 8c43f44c1cda1d1d521a0678d11def7737518be0 /engines/director/dib.cpp | |
parent | 2de66ee08396ca70bdb75e47867e7bd386c5bb9b (diff) | |
download | scummvm-rg350-11c9bbd9cb78ea4229e9cd64ad1d31e46d32ec41.tar.gz scummvm-rg350-11c9bbd9cb78ea4229e9cd64ad1d31e46d32ec41.tar.bz2 scummvm-rg350-11c9bbd9cb78ea4229e9cd64ad1d31e46d32ec41.zip |
DIRECTOR: Play score, display DIB sprites
Diffstat (limited to 'engines/director/dib.cpp')
-rw-r--r-- | engines/director/dib.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/engines/director/dib.cpp b/engines/director/dib.cpp index 4310e547e7..6053d55a77 100644 --- a/engines/director/dib.cpp +++ b/engines/director/dib.cpp @@ -100,17 +100,10 @@ bool DIBDecoder::loadStream(Common::SeekableReadStream &stream) { uint16 imageRawSize = stream.size() - 40; Common::SeekableSubReadStream subStream(&stream, 40, stream.size()); - warning("w: %d h: %d bpp: %d pal: %d size: %d (size rep: %d) comp: %x", width, height, bitsPerPixel, _paletteColorCount, imageRawSize, imageSize, compression); - _codec = Image::createBitmapCodec(compression, width, height, bitsPerPixel); if (!_codec) return false; _surface = _codec->decodeFrame(subStream); - - //FIXME - g_system->getPaletteManager()->setPalette(_palette, 0, _paletteColorCount - 1); - g_system->copyRectToScreen(_surface->getPixels(), _surface->pitch, 0, 0, width, height); - return true; } |