aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/true_talk/tt_parser.cpp8
-rw-r--r--engines/titanic/true_talk/tt_parser.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_parser.cpp b/engines/titanic/true_talk/tt_parser.cpp
index 52be9578f9..2ee080d984 100644
--- a/engines/titanic/true_talk/tt_parser.cpp
+++ b/engines/titanic/true_talk/tt_parser.cpp
@@ -718,8 +718,14 @@ int TTparser::loadRequests(TTword *word) {
return status;
}
-void TTparser::addToConceptList(TTword *word) {
+int TTparser::considerRequests(TTword *word) {
// TODO
+ return 0;
+}
+
+void TTparser::addToConceptList(TTword *word) {
+ TTconcept *concept = new TTconcept(word, ST_UNKNOWN_SCRIPT);
+ addConcept(concept);
}
void TTparser::addNode(uint tag) {
diff --git a/engines/titanic/true_talk/tt_parser.h b/engines/titanic/true_talk/tt_parser.h
index 7ad87cc138..461bcc285d 100644
--- a/engines/titanic/true_talk/tt_parser.h
+++ b/engines/titanic/true_talk/tt_parser.h
@@ -127,6 +127,8 @@ private:
const NumberEntry *replaceNumbers2(TTstring &line, int *startIndex);
int loadRequests(TTword *word);
+ int considerRequests(TTword *word);
+
void addToConceptList(TTword *word);
int fn2(TTword *word);
int checkReferent(TTpronoun *pronoun);