Proper fix for Indy3 intro background.
svn-id: r3709
This commit is contained in:
parent
81c2211a9e
commit
2f0a07f6b9
2 changed files with 9 additions and 8 deletions
1
gfx.cpp
1
gfx.cpp
|
@ -952,7 +952,6 @@ void Scumm::redrawBGStrip(int start, int num) {
|
||||||
_curVirtScreen->height,
|
_curVirtScreen->height,
|
||||||
_scrHeight);
|
_scrHeight);
|
||||||
}
|
}
|
||||||
_curVirtScreen->height = _scrHeight; // FIXME: Indy3 Hack
|
|
||||||
|
|
||||||
gdi.drawBitmap(getResourceAddress(rtRoom, _roomResource)+_IM00_offs,
|
gdi.drawBitmap(getResourceAddress(rtRoom, _roomResource)+_IM00_offs,
|
||||||
_curVirtScreen, s, 0, _curVirtScreen->height, s, num, 0);
|
_curVirtScreen, s, 0, _curVirtScreen->height, s, num, 0);
|
||||||
|
|
|
@ -1722,11 +1722,13 @@ void Scumm::o5_roomOps() {
|
||||||
{
|
{
|
||||||
a = getVarOrDirectByte(0x80);
|
a = getVarOrDirectByte(0x80);
|
||||||
b = getVarOrDirectByte(0x40);
|
b = getVarOrDirectByte(0x40);
|
||||||
if(_gameId == GID_INDY3_256 && a == 16 && b == 0) /* FIXME*/
|
if(_gameId == GID_INDY3_256 && a == 16 && b == 0) /* FIXME */
|
||||||
{
|
{
|
||||||
fetchScriptByte();
|
// Set screen height
|
||||||
fetchScriptByte();
|
c = fetchScriptByte();
|
||||||
fetchScriptByte();
|
d = fetchScriptByte();
|
||||||
|
e = fetchScriptByte();
|
||||||
|
initScreens(0,a,320,c);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue