diff options
author | Paul Gilbert | 2015-08-27 08:55:27 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-08-27 08:55:27 -0400 |
commit | ca3050c9121938a05b33517f9e6672ee1e80b11f (patch) | |
tree | abda72244dd1831fbcbbec252eacfd71d196e923 /engines/sherlock/scalpel/scalpel_talk.h | |
parent | 55f9c364bcd717e3ae2b6c2b4effd942c930968e (diff) | |
download | scummvm-rg350-ca3050c9121938a05b33517f9e6672ee1e80b11f.tar.gz scummvm-rg350-ca3050c9121938a05b33517f9e6672ee1e80b11f.tar.bz2 scummvm-rg350-ca3050c9121938a05b33517f9e6672ee1e80b11f.zip |
SHERLOCK: RT: Fix previous commit, and make talkTo virtual
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_talk.h')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_talk.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/sherlock/scalpel/scalpel_talk.h b/engines/sherlock/scalpel/scalpel_talk.h index 4d13258985..31f78cbf85 100644 --- a/engines/sherlock/scalpel/scalpel_talk.h +++ b/engines/sherlock/scalpel/scalpel_talk.h @@ -84,6 +84,16 @@ public: virtual ~ScalpelTalk() {} /** + * 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. + */ + virtual void talkTo(const Common::String filename); + + /** * Draws the interface for conversation display */ void drawInterface(); |