aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/talk.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/talk.h')
-rw-r--r--engines/sherlock/talk.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sherlock/talk.h b/engines/sherlock/talk.h
index 1a7dd587da..c4b5fe46d2 100644
--- a/engines/sherlock/talk.h
+++ b/engines/sherlock/talk.h
@@ -79,8 +79,10 @@ struct TalkSequences {
};
class SherlockEngine;
+class UserInterface;
class Talk {
+ friend class UserInterface;
private:
Common::Array<TalkSequences> STILL_SEQUENCES;
Common::Array<TalkSequences> TALK_SEQUENCES;
@@ -97,7 +99,6 @@ private:
int _converseNum;
int _talkStealth;
int _talkToFlag;
- bool _moreTalkUp, _moreTalkDown;
int _scriptSaveIndex;
int _scriptCurrentIndex;
private:
@@ -117,6 +118,7 @@ public:
int _talkTo;
int _scriptMoreFlag;
Common::String _scriptName;
+ bool _moreTalkUp, _moreTalkDown;
public:
Talk(SherlockEngine *vm);
void setSequences(const byte *talkSequences, const byte *stillSequences,