diff options
author | Paul Gilbert | 2015-08-17 07:46:28 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-08-17 07:46:28 -0400 |
commit | fe362f3fbc0a4df5ba83737f4ba4c1f04943aad1 (patch) | |
tree | 332fe7c2eea2f293e87b9f6d35cd151de7cb98a1 /engines/sherlock/scalpel/scalpel_people.h | |
parent | c14f27aa48f89ec1a903effe87d03029c90060c1 (diff) | |
download | scummvm-rg350-fe362f3fbc0a4df5ba83737f4ba4c1f04943aad1.tar.gz scummvm-rg350-fe362f3fbc0a4df5ba83737f4ba4c1f04943aad1.tar.bz2 scummvm-rg350-fe362f3fbc0a4df5ba83737f4ba4c1f04943aad1.zip |
SHERLOCK: RT: Merge setStillSequence & setListenSequence methods
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_people.h')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_people.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/sherlock/scalpel/scalpel_people.h b/engines/sherlock/scalpel/scalpel_people.h index ad9a6a5296..941c2dc274 100644 --- a/engines/sherlock/scalpel/scalpel_people.h +++ b/engines/sherlock/scalpel/scalpel_people.h @@ -110,6 +110,17 @@ public: * Load the walking images for Sherlock */ virtual bool loadWalk(); + + /** + * If the specified speaker is a background object, it will set it so that it uses + * the Listen Sequence (specified by the sequence number). If the current sequence + * has an Allow Talk Code in it, the _gotoSeq field will be set so that the object + * begins listening as soon as it hits the Allow Talk Code. If there is no Abort Code, + * the Listen Sequence will begin immediately. + * @param speaker Who is speaking + * @param sequenceNum Which listen sequence to use + */ + virtual void setListenSequence(int speaker, int sequenceNum = 1); }; } // End of namespace Scalpel |