From 993e5b9c2459766a729130d31acbe9c5d2c1e14e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 17 Dec 2007 22:36:16 +0000 Subject: Patch #1852017: INDY3 Mac: Biplane Manual Fix svn-id: r29896 --- engines/scumm/string.cpp | 18 ++++++++++++------ 1 file 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; } } -- cgit v1.2.3