diff options
author | Paul Gilbert | 2016-05-14 15:58:00 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:39:36 -0400 |
commit | 1da409ca9891a46bed2a61fc07946165c670c4e6 (patch) | |
tree | bc8bc51b1bae647486e88dc0a426a88feb26d581 /engines/titanic/true_talk | |
parent | 68e230182c1f0524a536422bbb669788cf388782 (diff) | |
download | scummvm-rg350-1da409ca9891a46bed2a61fc07946165c670c4e6.tar.gz scummvm-rg350-1da409ca9891a46bed2a61fc07946165c670c4e6.tar.bz2 scummvm-rg350-1da409ca9891a46bed2a61fc07946165c670c4e6.zip |
TITANIC: Rename stub method to normalizeContraction
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/tt_parser.cpp | 4 | ||||
-rw-r--r-- | engines/titanic/true_talk/tt_parser.h | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/engines/titanic/true_talk/tt_parser.cpp b/engines/titanic/true_talk/tt_parser.cpp index 2d958f8d7a..0bb30a14b5 100644 --- a/engines/titanic/true_talk/tt_parser.cpp +++ b/engines/titanic/true_talk/tt_parser.cpp @@ -69,7 +69,7 @@ int TTparser::normalize(TTinput *input) { break; case '\'': - if (!normalizeQuotedString(srcLine, index, *destLine)) + if (!normalizeContraction(srcLine, index, *destLine)) flag = true; break; @@ -165,7 +165,7 @@ int TTparser::isSpecialCommand(const TTstring &str, int &index) { } } -bool TTparser::normalizeQuotedString(const TTstring &srcLine, int srcIndex, TTstring &destLine) { +bool TTparser::normalizeContraction(const TTstring &srcLine, int srcIndex, TTstring &destLine) { // TODO return false; } diff --git a/engines/titanic/true_talk/tt_parser.h b/engines/titanic/true_talk/tt_parser.h index d05835dd4c..3e31257c9d 100644 --- a/engines/titanic/true_talk/tt_parser.h +++ b/engines/titanic/true_talk/tt_parser.h @@ -38,9 +38,10 @@ private: int normalize(TTinput *input); /** - * Submethod called by normalize to handle text following single quote chracters + * Submethod called by normalize to handle expanding contacted word pairs + * like can't, should've, and so on. */ - bool normalizeQuotedString(const TTstring &srcLine, int srcIndex, TTstring &destLine); + bool normalizeContraction(const TTstring &srcLine, int srcIndex, TTstring &destLine); /** * Checks for what is likely special developer cheat codes |