diff -ur ScummVM-cvs20021001/scummvm/scumm/string.cpp ScummVM-cvs20021001+hack/scummvm/scumm/string.cpp
|
old
|
new
|
|
| 560 | 560 | charset._left -= charset.getStringWidth(a, buf, 0) >> 1; |
| 561 | 561 | } |
| 562 | 562 | |
| 563 | | charset._ignoreCharsetMask = 1; |
| | 563 | // Full Throttle's conversation menus should definitely mask the |
| | 564 | // background. |
| | 565 | |
| | 566 | if (a != 4 || _gameId != GID_FT) |
| | 567 | charset._ignoreCharsetMask = 1; |
| 564 | 568 | |
| 565 | 569 | if (!buf[0]) { |
| 566 | 570 | buf[0] = ' '; |
| … |
… |
|
| 598 | 602 | break; |
| 599 | 603 | } |
| 600 | 604 | } else { |
| 601 | | if (a == 1 && (_features & GF_AFTER_V6)) |
| 602 | | |
| | 605 | if (a == 1 && (_features & GF_AFTER_V6)) { |
| 603 | 606 | if (_string[a].no_talk_anim == 0) |
| 604 | 607 | charset._blitAlso = true; |
| | 608 | } |
| 605 | 609 | if (_features & GF_OLD256) |
| 606 | 610 | charset.printCharOld(chr); |
| 607 | 611 | else |
| … |
… |
|
| 615 | 619 | if (a == 0) { |
| 616 | 620 | charset._xpos2 = charset._left; |
| 617 | 621 | charset._ypos2 = charset._top; |
| | 622 | } else if (a == 4 && _gameId == GID_FT) { |
| | 623 | charset._hasMask = true; |
| | 624 | if (charset._strLeft < gdi._mask_left) |
| | 625 | gdi._mask_left = charset._strLeft; |
| | 626 | if (charset._strRight > gdi._mask_right) |
| | 627 | gdi._mask_right = charset._strRight; |
| | 628 | if (charset._strTop < gdi._mask_top) |
| | 629 | gdi._mask_top = charset._strTop; |
| | 630 | if (charset._strBottom > gdi._mask_bottom) |
| | 631 | gdi._mask_bottom = charset._strBottom; |
| 618 | 632 | } |
| 619 | 633 | } |
| 620 | 634 | |