diff options
author | Colin Snover | 2016-06-27 20:48:01 -0500 |
---|---|---|
committer | Colin Snover | 2016-06-30 14:04:56 -0500 |
commit | 29f7a66af40acdc348e28d5c681f43e1f33bf4de (patch) | |
tree | 284a871ed8648de96075aa2723b39eb65bb7c960 /engines/sci/graphics/celobj32.cpp | |
parent | d2f598cea677fc03b5987fb9f9d9ac41faa96ded (diff) | |
download | scummvm-rg350-29f7a66af40acdc348e28d5c681f43e1f33bf4de.tar.gz scummvm-rg350-29f7a66af40acdc348e28d5c681f43e1f33bf4de.tar.bz2 scummvm-rg350-29f7a66af40acdc348e28d5c681f43e1f33bf4de.zip |
SCI32: Add low resolution constants
In a few places in the graphics system, fixed low-resolution values
are used instead of the game script resolution.
Diffstat (limited to 'engines/sci/graphics/celobj32.cpp')
-rw-r--r-- | engines/sci/graphics/celobj32.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/graphics/celobj32.cpp b/engines/sci/graphics/celobj32.cpp index af5ee3abbc..befa5cda18 100644 --- a/engines/sci/graphics/celobj32.cpp +++ b/engines/sci/graphics/celobj32.cpp @@ -799,8 +799,8 @@ CelObjView::CelObjView(const GuiResourceId viewId, const int16 loopNo, const int if (_scaledWidth == 0 || _scaledHeight == 0) { byte sizeFlag = data[5]; if (sizeFlag == 0) { - _scaledWidth = 320; - _scaledHeight = 200; + _scaledWidth = kLowResX; + _scaledHeight = kLowResY; } else if (sizeFlag == 1) { _scaledWidth = 640; _scaledHeight = 480; @@ -985,8 +985,8 @@ CelObjPic::CelObjPic(const GuiResourceId picId, const int16 celNo) { _scaledWidth = sizeFlag1; _scaledHeight = sizeFlag2; } else if (sizeFlag1 == 0) { - _scaledWidth = 320; - _scaledHeight = 200; + _scaledWidth = kLowResX; + _scaledHeight = kLowResY; } else if (sizeFlag1 == 1) { _scaledWidth = 640; _scaledHeight = 480; |