v1 object drawing updates from aquadran
svn-id: r8346
This commit is contained in:
parent
00288b07f8
commit
620762b466
3 changed files with 5 additions and 4 deletions
|
@ -442,12 +442,12 @@ void Scumm::drawObject(int obj, int arg) {
|
|||
|
||||
if (numstrip != 0) {
|
||||
byte flags = Gdi::dbAllowMaskOr;
|
||||
// Sam & Max needs this to fix object-layering problems with
|
||||
// the inventory and conversation icons.
|
||||
if (_features & GF_AFTER_V1) {
|
||||
gdi._C64ObjectMode = true;
|
||||
gdi.decodeC64Gfx(ptr, gdi._C64ObjectMap, width * (height >> 3));
|
||||
gdi.decodeC64Gfx(ptr, gdi._C64ObjectMap, width * (height >> 3) * 3);
|
||||
}
|
||||
// Sam & Max needs this to fix object-layering problems with
|
||||
// the inventory and conversation icons.
|
||||
if ((_features & GF_AFTER_V7 || _gameId == GID_SAMNMAX) && getClass(od->obj_nr, kObjectClassIgnoreBoxes))
|
||||
flags |= Gdi::dbDrawMaskOnAll;
|
||||
gdi.drawBitmap(ptr, &virtscr[0], x, ypos, width << 3, height, x - xpos, numstrip, flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue