aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/scalpel_talk.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-06-06 21:31:48 -0400
committerPaul Gilbert2015-06-06 21:31:48 -0400
commit3511f30a2621af4773df5271cdffb6275b9e829e (patch)
tree7a49bb802aecb9e64a2ba5c30f6314e54ff22f05 /engines/sherlock/scalpel/scalpel_talk.h
parent75610e7119b415779380805912de40101e3be656 (diff)
downloadscummvm-rg350-3511f30a2621af4773df5271cdffb6275b9e829e.tar.gz
scummvm-rg350-3511f30a2621af4773df5271cdffb6275b9e829e.tar.bz2
scummvm-rg350-3511f30a2621af4773df5271cdffb6275b9e829e.zip
SHERLOCK: Created common base class for Sprite and Object
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_talk.h')
-rw-r--r--engines/sherlock/scalpel/scalpel_talk.h7
1 files changed, 6 insertions, 1 deletions
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() {}