[ scummvm-Bugs-1093867 ] FT: Incorrect actor drawing order

SourceForge.net noreply at sourceforge.net
Fri Dec 31 20:12:31 CET 2004


Bugs item #1093867, was opened at 2004-12-31 21:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1093867&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ori Avtalion (salty-horse)
Assigned to: Nobody/Anonymous (nobody)
Summary: FT: Incorrect actor drawing order

Initial Comment:
During the Corley murder sequence, Miranda is drawn
behind Ripburger. She should be drawn in front of him.
See included screenshots.

I am using current CVS, with the english talkie version
B of the game, on Win32

Steps to reproduce:
1) Load FT with bootparam 400
2) Wait until you reach the room in the picture (room
33), where Miranda is struggling to get free.

Analysis:
Looking at the room script for room 31, which directs
the sequence:

[0849] (9D) actorOps.setCurActor(6)
[084E] (9D) actorOps.setCostume(0)

Miranda is actor 6.
Since she has no costume, ScummEngine::processActors()
in scumm/actor.cpp doesn't include her in the actor
array, and doesn't sort the draw order.
It's worthy to note that the "actors" debug command
shows her data since she's in the room.

Her y-value is lower than Ripburger's.

Adding costume=0 actors to the array isn't so trivial
because there are some costume functions called
afterwards that assert on costume 0.

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

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




More information about the Scummvm-tracker mailing list