From fe362f3fbc0a4df5ba83737f4ba4c1f04943aad1 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 17 Aug 2015 07:46:28 -0400 Subject: SHERLOCK: RT: Merge setStillSequence & setListenSequence methods --- engines/sherlock/people.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'engines/sherlock/people.h') 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 -- cgit v1.2.3