aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_response.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/tt_response.h')
-rw-r--r--engines/titanic/true_talk/tt_response.h21
1 files changed, 15 insertions, 6 deletions
diff --git a/engines/titanic/true_talk/tt_response.h b/engines/titanic/true_talk/tt_response.h
index c4119763ea..38f7ec70a8 100644
--- a/engines/titanic/true_talk/tt_response.h
+++ b/engines/titanic/true_talk/tt_response.h
@@ -32,21 +32,30 @@ class TTresponse {
private:
int _field0;
TTstring _text;
- int _fieldC;
+ int _dialogueId;
TTresponse *_nextP;
TTresponse *_linkP;
TTresponse *copyChain() const;
-private:
- /**
- *
- */
- void addLink(TTresponse *item);
public:
TTresponse(const TTstring &src);
TTresponse(int val1, int val2);
TTresponse(const TTresponse *src);
virtual ~TTresponse();
+
+ TTresponse *getLink() const { return _linkP; }
+
+ void addLink(TTresponse *item);
+
+ /**
+ * Get the dialogue Id for the response
+ */
+ int getDialogueId() const { return _dialogueId; }
+
+ /**
+ * Return the next response item, if present
+ */
+ TTresponse *getNext() const { return _nextP; }
};
} // End of namespace Titanic