diff options
author | Martin Kiewitz | 2010-08-02 21:04:09 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-08-02 21:04:09 +0000 |
commit | 09f4562551c6f26f5eac8a048051cd379ef93a2d (patch) | |
tree | 72e483ee185497cd73a480c95d017d9e3501bc6f /engines/sci/graphics/animate.cpp | |
parent | e52128706303a3016e3ac0c69a88477c93bfc78c (diff) | |
download | scummvm-rg350-09f4562551c6f26f5eac8a048051cd379ef93a2d.tar.gz scummvm-rg350-09f4562551c6f26f5eac8a048051cd379ef93a2d.tar.bz2 scummvm-rg350-09f4562551c6f26f5eac8a048051cd379ef93a2d.zip |
SCI: adding non-scaleable view capability
fixes laura bow 2 (especially floppy but CD is also affected somewhat by this)
svn-id: r51660
Diffstat (limited to 'engines/sci/graphics/animate.cpp')
-rw-r--r-- | engines/sci/graphics/animate.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sci/graphics/animate.cpp b/engines/sci/graphics/animate.cpp index 521009eff6..df52ab9a7c 100644 --- a/engines/sci/graphics/animate.cpp +++ b/engines/sci/graphics/animate.cpp @@ -243,6 +243,13 @@ void GfxAnimate::fill(byte &old_picNotValid) { } } + if (!view->isScaleable()) { + // Laura Bow 2 (especially floppy) depends on this, some views are not supposed to be scaleable + // this "feature" was removed in later versions of SCI1.1 + it->scaleSignal = 0; + it->scaleY = it->scaleX = 128; + } + bool setNsRect = true; // Create rect according to coordinates and given cel |