#8181 closed patch
CMI: More actor direction fixes
Reported by: | eriktorbjorn | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Monkey Island 3 |
Description
I didn't realize it when I submitted the first patch, but since the direction an actor should turn to when facing an object is stored as a byte I can't store the angle as I first thought.
This patch attempts to fix that. It's slightly hacky, but I didn't want to introduce yet another savegame version.
This still doesn't fix all of the actor direction problems. For instance, Guybrush faces the wrong direction when walking the stairs in the Goodsoup Hotel. That's what the second patch tries to fix.
Ticket imported from: #696030. Ticket imported from: patches/286.
Attachments (3)
Change History (6)
by , 22 years ago
Attachment: | cmi-direction.diff added |
---|
comment:1 by , 22 years ago
I forgot to mention: The return value from toSimpleDir() may have to be cast to a byte to avoid warnings on some compilers. I didn't see GCC complain, though.
by , 22 years ago
Attachment: | cmi-direction-break-savegame.diff added |
---|
Alternative version of patch #1 (needs new savegame version)
comment:2 by , 22 years ago
Owner: | set to |
---|---|
Status: | new → closed |
comment:3 by , 6 years ago
Component: | → Engine: SCUMM |
---|---|
Game: | → Monkey Island 3 |
Patch #1, against a March 1 CVS snapshot