diff options
author | Martin Kiewitz | 2010-01-16 19:44:33 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-16 19:44:33 +0000 |
commit | 76dfdac6d49aa6a9c230f08e4fa676ac750d8010 (patch) | |
tree | b9f6b58422be19246135fed0e706381686246a6f /engines/sci/graphics/view.cpp | |
parent | bc3405cc9e4e29cbe1cbc9e5a8b77d8834a2ea10 (diff) | |
download | scummvm-rg350-76dfdac6d49aa6a9c230f08e4fa676ac750d8010.tar.gz scummvm-rg350-76dfdac6d49aa6a9c230f08e4fa676ac750d8010.tar.bz2 scummvm-rg350-76dfdac6d49aa6a9c230f08e4fa676ac750d8010.zip |
SCI: added TODO inside kAnimate for scalesignal bit 1, added comment about scaling into view class
svn-id: r47330
Diffstat (limited to 'engines/sci/graphics/view.cpp')
-rw-r--r-- | engines/sci/graphics/view.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp index f5f1d539da..7552b11e96 100644 --- a/engines/sci/graphics/view.cpp +++ b/engines/sci/graphics/view.cpp @@ -526,6 +526,8 @@ void View::draw(Common::Rect rect, Common::Rect clipRect, Common::Rect clipRectT } } +// We don't fully follow sierra sci here, I did the scaling algo myself and it's definitely not pixel-perfect +// with the one sierra is using. It shouldn't matter because the scaled cel rect is definitely the same as in sierra sci void View::drawScaled(Common::Rect rect, Common::Rect clipRect, Common::Rect clipRectTranslated, int16 loopNo, int16 celNo, byte priority, int16 scaleX, int16 scaleY) { Palette *palette = _embeddedPal ? &_viewPalette : &_palette->_sysPalette; CelInfo *celInfo = getCelInfo(loopNo, celNo); |