aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/view.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-08-02 21:04:09 +0000
committerMartin Kiewitz2010-08-02 21:04:09 +0000
commit09f4562551c6f26f5eac8a048051cd379ef93a2d (patch)
tree72e483ee185497cd73a480c95d017d9e3501bc6f /engines/sci/graphics/view.h
parente52128706303a3016e3ac0c69a88477c93bfc78c (diff)
downloadscummvm-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/view.h')
-rw-r--r--engines/sci/graphics/view.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/sci/graphics/view.h b/engines/sci/graphics/view.h
index 0853f2e5a6..990a7e2f71 100644
--- a/engines/sci/graphics/view.h
+++ b/engines/sci/graphics/view.h
@@ -74,6 +74,7 @@ public:
uint16 getCelCount(int16 loopNo) const;
Palette *getPalette();
+ bool isScaleable();
bool isSci2Hires();
private:
@@ -102,7 +103,11 @@ private:
byte *_EGAmapping;
// this is set for sci0early to adjust for the getCelRect() change
- int16 adjustForSci0Early;
+ int16 _adjustForSci0Early;
+
+ // this is not set for some views in laura bow 2 floppy and signals that the view shall never get scaled
+ // even if scaleX/Y are set (inside kAnimate)
+ bool _isScaleable;
};
} // End of namespace Sci