diff options
Diffstat (limited to 'engines/scumm/string.cpp')
-rw-r--r-- | engines/scumm/string.cpp | 18 |
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; } } |