SHERLOCK: More descriptive comment for talkTo

This commit is contained in:
Paul Gilbert 2015-04-30 15:04:08 -10:00
parent d57cb94752
commit c4008703d1

View file

@ -149,9 +149,12 @@ void Talk::setSequences(const byte *talkSequences, const byte *stillSequences, i
}
/**
* Called when either an NPC initiates a conversation or for inventory item
* descriptions. It opens up a description window similar to how 'talk' does,
* but shows a 'reply' directly instead of waiting for a statement option.
* Called whenever a conversation or item script needs to be run. For standard conversations,
* it opens up a description window similar to how 'talk' does, but shows a 'reply' directly
* instead of waiting for a statement option.
* @remarks It seems that at some point, all item scripts were set up to use this as well.
* In their case, the conversation display is simply suppressed, and control is passed on to
* doScript to implement whatever action is required.
*/
void Talk::talkTo(const Common::String &filename) {
Events &events = *_vm->_events;