aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2007-12-17 22:36:16 +0000
committerMax Horn2007-12-17 22:36:16 +0000
commit993e5b9c2459766a729130d31acbe9c5d2c1e14e (patch)
tree4d48629c22fbfc09d36681da4c943f378a93a0e5
parentbfbf992907e2f97727459b1e48b6ae8e07e30223 (diff)
downloadscummvm-rg350-993e5b9c2459766a729130d31acbe9c5d2c1e14e.tar.gz
scummvm-rg350-993e5b9c2459766a729130d31acbe9c5d2c1e14e.tar.bz2
scummvm-rg350-993e5b9c2459766a729130d31acbe9c5d2c1e14e.zip
Patch #1852017: INDY3 Mac: Biplane Manual Fix
svn-id: r29896
-rw-r--r--engines/scumm/string.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index ec692c7853..6f1a638fb3 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -856,24 +856,30 @@ void ScummEngine::drawString(int a, const byte *msg) {
_charset->_disableOffsX = _charset->_firstChar = true;
_charset->setCurID(_string[a].charset);
- // HACK: Correct positions of text in the grail diary in Indy3 Mac.
+ // HACK: Correct positions of text in books in Indy3 Mac.
// See also patch #1851568.
if (_game.id == GID_INDY3 && _game.platform == Common::kPlatformMacintosh && a == 1) {
if (_currentRoom == 75) {
+ // Grail Diary Page 1 (Library)
if (_charset->_startLeft < 160)
_charset->_startLeft = _charset->_left = _string[a].xpos - 22;
else if (_charset->_startLeft < 200)
_charset->_startLeft = _charset->_left = _string[a].xpos - 10;
- } else if (_currentRoom == 69) {
- if (_charset->_startLeft < 160)
- _charset->_startLeft = _charset->_left = _string[a].xpos - 15;
- else if (_charset->_startLeft < 200)
- _charset->_startLeft = _charset->_left = _string[a].xpos - 10;
} else if (_currentRoom == 90) {
+ // Grail Diary Page 2 (Catacombs - Engravings)
if (_charset->_startLeft < 160)
_charset->_startLeft = _charset->_left = _string[a].xpos - 21;
else if (_charset->_startLeft < 200)
_charset->_startLeft = _charset->_left = _string[a].xpos - 15;
+ } else if (_currentRoom == 69) {
+ // Grail Diary Page 3 (Catacombs - Music)
+ if (_charset->_startLeft < 160)
+ _charset->_startLeft = _charset->_left = _string[a].xpos - 15;
+ else if (_charset->_startLeft < 200)
+ _charset->_startLeft = _charset->_left = _string[a].xpos - 10;
+ } else if (_currentRoom == 74) {
+ // Biplane Manual
+ _charset->_startLeft = _charset->_left = _string[a].xpos - 35;
}
}