Opened 10 years ago

Closed 10 years ago

Last modified 13 months ago

#9082 closed patch

MM C64: corner walkboxes fixed

Reported by: SF/tobigun Owned by: Kirben
Priority: normal Component: Engine: SCUMM
Keywords: Cc:
Game: Maniac Mansion

Description

At the corner of a room an actor can walk through/in the wall. That is because all walkboxes are square at the moment.
In addition to the z-depth (0-3) a walkbox mask contains two special flags for cornered walkboxes.
If mask & 0x88 is true the walkbox must be triangulated. Another bit (mask & 0x04) determines if the mask belongs to the left or right corner of a room.

Note that ladders (and the man-eating plant) seem to always have a walkbox mask of 0x8A. I'm not sure if those walkboxes have to be triangulated too.
At least a z-depth of 2 might be plausible.

Ticket imported from: #2856940. Ticket imported from: patches/1187.

Attachments (1)

corner_walkbox.patch (1.1 KB ) - added by SF/tobigun 10 years ago.

Download all attachments as: .zip

Change History (4)

by SF/tobigun, 10 years ago

Attachment: corner_walkbox.patch added

comment:1 by Kirben, 10 years ago

Thanks, I added the patch to ScummVM SVN.

comment:2 by Kirben, 10 years ago

Owner: set to Kirben
Status: newclosed

comment:3 by digitall, 13 months ago

Component: Engine: SCUMM
Game: Maniac Mansion
Note: See TracTickets for help on using tickets.