mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
Fix text positioning for the grail diary in Indy3
svn-id: r5394
This commit is contained in:
parent
512f80552e
commit
9b390fb9c1
@ -1894,7 +1894,6 @@ void Scumm::o5_roomOps()
|
||||
}
|
||||
|
||||
_opcode = fetchScriptByte();
|
||||
|
||||
switch (_opcode & 0x1F) {
|
||||
case 1: /* room scroll */
|
||||
if (!(_features & GF_OLD256)) {
|
||||
@ -2240,7 +2239,7 @@ void Scumm::o5_soundKludge()
|
||||
int i;
|
||||
|
||||
if (_features & GF_SMALL_HEADER) // Is dummy function in
|
||||
return; // SCUMM V3
|
||||
return; // SCUMM V3
|
||||
|
||||
for (i = 0; i < 15; i++)
|
||||
items[i] = 0;
|
||||
@ -2693,7 +2692,8 @@ void Scumm::decodeParseString()
|
||||
textSlot = 0;
|
||||
}
|
||||
|
||||
setStringVars(textSlot);
|
||||
if (_gameId != GID_INDY3_256) // Indy3 seems to need to keep the string positions.
|
||||
setStringVars(textSlot); // See, for example, the text positioning in the grail diary
|
||||
|
||||
while ((_opcode = fetchScriptByte()) != 0xFF) {
|
||||
switch (_opcode & 0xF) {
|
||||
|
@ -692,6 +692,9 @@ void Scumm::drawString(int a)
|
||||
charset._ypos2 = charset._top;
|
||||
}
|
||||
|
||||
|
||||
_string[a].xpos = charset._strRight + 8; // Indy3: Fixes Grail Diary text positioning
|
||||
|
||||
if (_features & GF_AFTER_V7) {
|
||||
charset._hasMask = true;
|
||||
if (charset._strLeft < gdi._mask_left)
|
||||
|
Loading…
x
Reference in New Issue
Block a user