aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/tt_parser.h')
-rw-r--r--engines/titanic/true_talk/tt_parser.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/titanic/true_talk/tt_parser.h b/engines/titanic/true_talk/tt_parser.h
index 7df82b0b5b..d05835dd4c 100644
--- a/engines/titanic/true_talk/tt_parser.h
+++ b/engines/titanic/true_talk/tt_parser.h
@@ -31,7 +31,21 @@ class CScriptHandler;
class TTparser {
private:
+ /**
+ * Normalizes a passed input, taking care of things like removing extra
+ * spaces and lowercasing everything
+ */
int normalize(TTinput *input);
+
+ /**
+ * Submethod called by normalize to handle text following single quote chracters
+ */
+ bool normalizeQuotedString(const TTstring &srcLine, int srcIndex, TTstring &destLine);
+
+ /**
+ * Checks for what is likely special developer cheat codes
+ */
+ static int isSpecialCommand(const TTstring &str, int &index);
public:
CScriptHandler *_owner;
int _field4;