CMI: Object line (slightly incomplete)
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
|Cc:||Game:||Monkey Island 3|
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.
Ticket imported from: #712493. Ticket imported from: patches/296.