From 3511f30a2621af4773df5271cdffb6275b9e829e Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 6 Jun 2015 21:31:48 -0400 Subject: SHERLOCK: Created common base class for Sprite and Object --- engines/sherlock/scalpel/scalpel_talk.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'engines/sherlock/scalpel/scalpel_talk.h') diff --git a/engines/sherlock/scalpel/scalpel_talk.h b/engines/sherlock/scalpel/scalpel_talk.h index 8121e1985e..1947e2cd79 100644 --- a/engines/sherlock/scalpel/scalpel_talk.h +++ b/engines/sherlock/scalpel/scalpel_talk.h @@ -36,7 +36,7 @@ namespace Sherlock { namespace Scalpel { class ScalpelTalk : public Talk { -protected: +private: OpcodeReturn cmdAssignPortraitLocation(const byte *&str); OpcodeReturn cmdClearInfoLine(const byte *&str); OpcodeReturn cmdClearWindow(const byte *&str); @@ -49,6 +49,11 @@ protected: OpcodeReturn cmdSfxCommand(const byte *&str); OpcodeReturn cmdSummonWindow(const byte *&str); OpcodeReturn cmdCarriageReturn(const byte *&str); +protected: + /** + * Change the sequence of the scene background object associated with the current speaker. + */ + virtual void setSequence(int speaker, int sequenceNum = 1); public: ScalpelTalk(SherlockEngine *vm); virtual ~ScalpelTalk() {} -- cgit v1.2.3