aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/true_talk/tt_parser.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/titanic/true_talk/tt_parser.cpp b/engines/titanic/true_talk/tt_parser.cpp
index 9c955299cf..1658a27b55 100644
--- a/engines/titanic/true_talk/tt_parser.cpp
+++ b/engines/titanic/true_talk/tt_parser.cpp
@@ -470,7 +470,21 @@ int TTparser::findFrames(TTsentence *sentence) {
_sentenceSub = &sentence->_sub;
_sentence = sentence;
+ TTstring *line = sentence->_normalizedLine.copy();
+ TTstring wordString;
+ for (;;) {
+ // Keep stripping words off the start of the passed input
+ TTstring wordString = line->tokenize(" \n");
+ if (wordString.empty())
+ break;
+
+ //TTword *word = nullptr;
+ //_owner->_vocab.fn1(wordString, &word);
+ }
+
+
// TODO
+ delete line;
return 0;
}