[ scummvm-Patches-2856940 ] MM C64: corner walkboxes fixed

SourceForge.net noreply at sourceforge.net
Fri Sep 11 18:01:50 CEST 2009


Patches item #2856940, was opened at 2009-09-11 18:01
Message generated for change (Tracker Item Submitted) made by tobigun
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2856940&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tobias Gunkel (tobigun)
Assigned to: Nobody/Anonymous (nobody)
Summary: MM C64: corner walkboxes fixed

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2856940&group_id=37116




More information about the Scummvm-tracker mailing list