#8062 closed patch
SAM: Experimental object-layering fix
Reported by: | eriktorbjorn | Owned by: | SF/ender |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Sam and Max |
Description
I don't understand this patch. There! I've said it.
However, it's neat enough that I still think it's likely to be the correct fix for the object-layering bug in Sam & Max. For those who don't know, this is the bug that causes actors to be drawn over conversation icons, and which would cause them to be drawn over the inventory box if it wasn't for a hack in actor.cpp.
One place where this would happen is when talking to the fisherman at the World of Fish.
What it does is simply to change the part of drawObject() that used to set the dbDrawMaskOnBoth flag on class 22 objects for GF_AFTER_V7 games so that it will do the same thing also for Sam & Max. As I said, I don't really understand it. But it does work.
Well, almost. You'll still get layering problems outside the Mystery Vortex. But those objects are drawn with drawBomp(), so it's really a completely different bug that just happens to look the same. For all I know, it might even match the original behaviour.
Ticket imported from: #613597. Ticket imported from: patches/167.
Attachments (3)
Change History (6)
by , 22 years ago
Attachment: | layering.diff added |
---|
comment:2 by , 22 years ago
Owner: | set to |
---|---|
Status: | new → closed |
comment:3 by , 6 years ago
Component: | → Engine: SCUMM |
---|---|
Game: | → Sam and Max |
Patch against a September 23 CVS snapshot