[Scummvm-cvs-logs] scummvm master -> df63b827bf6ad8c738273c9b8e75d129dc928737
bluegr
md5 at scummvm.org
Tue Oct 11 02:00:04 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
df63b827bf SCI: Fixed text display in QFG4
Commit: df63b827bf6ad8c738273c9b8e75d129dc928737
https://github.com/scummvm/scummvm/commit/df63b827bf6ad8c738273c9b8e75d129dc928737
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2011-10-10T16:53:00-07:00
Commit Message:
SCI: Fixed text display in QFG4
Changed paths:
engines/sci/graphics/text32.cpp
diff --git a/engines/sci/graphics/text32.cpp b/engines/sci/graphics/text32.cpp
index 1939bae..85ede02 100644
--- a/engines/sci/graphics/text32.cpp
+++ b/engines/sci/graphics/text32.cpp
@@ -123,8 +123,10 @@ void GfxText32::drawTextBitmap(reg_t textObject) {
int curByte = 0;
Common::Rect nsRect = getNSRect(textObject);
Common::Rect planeRect = getPlaneRect(textObject);
- uint16 textX = planeRect.left + nsRect.left;
- uint16 textY = planeRect.top + nsRect.top;
+ uint16 x = readSelectorValue(_segMan, textObject, SELECTOR(x));
+ uint16 y = readSelectorValue(_segMan, textObject, SELECTOR(y));
+ uint16 textX = planeRect.left + x;
+ uint16 textY = planeRect.top + y;
uint16 width = nsRect.width();
uint16 height = nsRect.height();
More information about the Scummvm-git-logs
mailing list