Opened 22 years ago

Closed 22 years ago

Last modified 5 years ago

#8069 closed patch

SAM: Fix for object-layering problems

Reported by: eriktorbjorn Owned by: SF/ender
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Sam and Max

Description

My previous bugfix didn't kill the object-layering bug as thoroughly as I had hoped, but I think this patch will fix the remaining roblems. It changes the name of the dbDrawMaskOnBoth flag to dbDrawMaskOnAll, and makes it apply the first image mask to all Z planes, not just the first one.

Of course, I may just have broken The Dig and Full Throttle horribly. I have no idea what the flag is used for there.

The only remaining layering problem I know of is outside the Mystery Vortex, where the floating objects in the foreground will obscure the conversation icons. However, that problem is present in the original interpreter as well. It happens because the floating objects are put there with drawBomp(), which doesn't care about masking.

Ticket imported from: #616144. Ticket imported from: patches/174.

Attachments (1)

layering.diff (4.5 KB ) - added by eriktorbjorn 22 years ago.
Patch against a September 28 CVS snapshot

Download all attachments as: .zip

Change History (4)

by eriktorbjorn, 22 years ago

Attachment: layering.diff added

Patch against a September 28 CVS snapshot

comment:1 by SF/ender, 22 years ago

Applied, good job as usual :)

comment:2 by SF/ender, 22 years ago

Owner: set to SF/ender
Status: newclosed

comment:3 by digitall, 5 years ago

Component: Engine: SCUMM
Game: Sam and Max
Note: See TracTickets for help on using tickets.