aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/people.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-17 07:46:28 -0400
committerPaul Gilbert2015-08-17 07:46:28 -0400
commitfe362f3fbc0a4df5ba83737f4ba4c1f04943aad1 (patch)
tree332fe7c2eea2f293e87b9f6d35cd151de7cb98a1 /engines/sherlock/people.h
parentc14f27aa48f89ec1a903effe87d03029c90060c1 (diff)
downloadscummvm-rg350-fe362f3fbc0a4df5ba83737f4ba4c1f04943aad1.tar.gz
scummvm-rg350-fe362f3fbc0a4df5ba83737f4ba4c1f04943aad1.tar.bz2
scummvm-rg350-fe362f3fbc0a4df5ba83737f4ba4c1f04943aad1.zip
SHERLOCK: RT: Merge setStillSequence & setListenSequence methods
Diffstat (limited to 'engines/sherlock/people.h')
-rw-r--r--engines/sherlock/people.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/sherlock/people.h b/engines/sherlock/people.h
index d790e4ccb0..c47d45145a 100644
--- a/engines/sherlock/people.h
+++ b/engines/sherlock/people.h
@@ -166,6 +166,17 @@ public:
* Restrict passed point to zone using Sherlock's positioning rules
*/
virtual const Common::Point restrictToZone(int zoneId, const Common::Point &destPos) = 0;
+
+ /**
+ * 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) = 0;
};
} // End of namespace Sherlock