[ scummvm-Patches-712493 ] CMI: Object line (slightly incomplete)

SourceForge.net noreply at sourceforge.net
Mon Mar 31 08:51:12 CEST 2003


Patches item #712493, was opened at 2003-03-31 08:51
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=712493&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: CMI: Object line (slightly incomplete)

Initial Comment:
This is a first attempt at enabling the CMI "object
line", i.e. the line at the bottom of the screen that
shows which object the mouse cursor is over, the action
you are about to perform, etc.

Actually, the current behaviour is more or less
correct, given that the "Show object line" setting is
false. But it should be true by default. To make it so,
the patch hacks the readRegistry() opcode to yield true
for the "Object Names" case. I don't like this, but it
will have to do for now.

The next part of the puzzle is to implement
removeBlastTexts() so that it actually removes the
blast texts instead of simply clearing the blast text
queue.

The remaining changes are mostly cosmetic. I had to
change decodeParseString() slightly to keep it from
silencing talk sounds on mouse-overs. Also, I've
demoted the "Failed finding voice" message from a
warning to a debug message.

The "Show object line" setting will still be false for
old savegames, but even the old behaviour may benefit
from the blast text change. Eventually we should be
able to change the setting from within the game, but
that options screen doesn't work yet.

The thing that remains is to fix the case when using
one object on another. Apparently we don't handle the
translation of PU_M001 and PU_M002 correctly. The
object line is handled by script 39.


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

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




More information about the Scummvm-tracker mailing list