Ticket #8760: Indy3_Mac_Biplane_Manual.diff
File Indy3_Mac_Biplane_Manual.diff, 1.7 KB (added by , 17 years ago) |
---|
-
string.cpp
856 856 _charset->_disableOffsX = _charset->_firstChar = true; 857 857 _charset->setCurID(_string[a].charset); 858 858 859 // HACK: Correct positions of text in the grail diaryin Indy3 Mac.859 // HACK: Correct positions of text in books in Indy3 Mac. 860 860 // See also patch #1851568. 861 861 if (_game.id == GID_INDY3 && _game.platform == Common::kPlatformMacintosh && a == 1) { 862 862 if (_currentRoom == 75) { 863 // Grail Diary Page 1 (Library) 863 864 if (_charset->_startLeft < 160) 864 865 _charset->_startLeft = _charset->_left = _string[a].xpos - 22; 865 866 else if (_charset->_startLeft < 200) 866 867 _charset->_startLeft = _charset->_left = _string[a].xpos - 10; 868 } else if (_currentRoom == 90) { 869 // Grail Diary Page 2 (Catacombs - Engravings) 870 if (_charset->_startLeft < 160) 871 _charset->_startLeft = _charset->_left = _string[a].xpos - 21; 872 else if (_charset->_startLeft < 200) 873 _charset->_startLeft = _charset->_left = _string[a].xpos - 15; 867 874 } else if (_currentRoom == 69) { 875 // Grail Diary Page 3 (Catacombs - Music) 868 876 if (_charset->_startLeft < 160) 869 877 _charset->_startLeft = _charset->_left = _string[a].xpos - 15; 870 878 else if (_charset->_startLeft < 200) 871 879 _charset->_startLeft = _charset->_left = _string[a].xpos - 10; 872 } else if (_currentRoom == 90) { 873 if (_charset->_startLeft < 160) 874 _charset->_startLeft = _charset->_left = _string[a].xpos - 21; 875 else if (_charset->_startLeft < 200) 876 _charset->_startLeft = _charset->_left = _string[a].xpos - 15; 880 } else if (_currentRoom == 74) { 881 // Biplane Manual 882 _charset->_startLeft = _charset->_left = _string[a].xpos - 35; 877 883 } 878 884 } 879 885