diff -ur ScummVM-cvs20030425/scummvm/scumm/script_v5.cpp ScummVM-cvs20030425+hack/scummvm/scumm/script_v5.cpp
old
|
new
|
|
2424 | 2424 | _string[textSlot].overhead = false; |
2425 | 2425 | break; |
2426 | 2426 | case 6: /* left */ |
2427 | | _string[textSlot].center = false; |
| 2427 | if (_gameId == GID_LOOM) |
| 2428 | _string[textSlot].center = true; |
| 2429 | else |
| 2430 | _string[textSlot].center = false; |
2428 | 2431 | _string[textSlot].overhead = false; |
2429 | 2432 | break; |
2430 | 2433 | case 7: /* overhead */ |
… |
… |
|
2456 | 2459 | } |
2457 | 2460 | } |
2458 | 2461 | break; |
| 2462 | case 10: |
| 2463 | // FIXME: What should this do? It's used by EGA Loom |
| 2464 | // both for the copy protection screen and during the |
| 2465 | // intro. |
| 2466 | getVarOrDirectWord(0x80); |
| 2467 | break; |
2459 | 2468 | case 15: |
2460 | 2469 | _messagePtr = _scriptPointer; |
2461 | 2470 | switch (textSlot) { |
diff -ur ScummVM-cvs20030425/scummvm/scumm/string.cpp ScummVM-cvs20030425+hack/scummvm/scumm/string.cpp
old
|
new
|
|
229 | 229 | if (c == 13) { |
230 | 230 | newLine:; |
231 | 231 | if (_features & GF_AFTER_V3) { |
232 | | _charset->_nextTop = 8; |
233 | | _charset->_nextLeft = 0; |
| 232 | _charset->_nextTop += 8; |
| 233 | _charset->_nextLeft = _string[0].xpos; |
| 234 | if (_charset->_center) { |
| 235 | _charset->_nextLeft -= _charset->getStringWidth(0, buffer) >> 1; |
| 236 | } |
234 | 237 | continue; |
235 | 238 | } else { |
236 | 239 | _charset->_nextLeft = _string[0].xpos; |