diff options
author | Paul Gilbert | 2016-05-21 21:33:35 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:13:59 -0400 |
commit | 59796e03e4d2d366a3a6f4d00738fe9795b4fce3 (patch) | |
tree | 6acdca53170068285c67dc28553e3d69a8d37a3d /engines/titanic/true_talk/tt_word.cpp | |
parent | 39a12288bb8343c25f244162a32e744a4fed9f6e (diff) | |
download | scummvm-rg350-59796e03e4d2d366a3a6f4d00738fe9795b4fce3.tar.gz scummvm-rg350-59796e03e4d2d366a3a6f4d00738fe9795b4fce3.tar.bz2 scummvm-rg350-59796e03e4d2d366a3a6f4d00738fe9795b4fce3.zip |
TITANIC: Change WordMode to WordClass and flesh it out
Diffstat (limited to 'engines/titanic/true_talk/tt_word.cpp')
-rw-r--r-- | engines/titanic/true_talk/tt_word.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/titanic/true_talk/tt_word.cpp b/engines/titanic/true_talk/tt_word.cpp index a0cb5dfd94..028ee81008 100644 --- a/engines/titanic/true_talk/tt_word.cpp +++ b/engines/titanic/true_talk/tt_word.cpp @@ -26,8 +26,8 @@ namespace Titanic { -TTword::TTword(TTstring &str, WordMode mode, int id) : _string(str), - _wordMode(mode), _id(id), _tag(0), _field24(0), +TTword::TTword(TTstring &str, WordClass wordClass, int id) : _string(str), + _wordClass(wordClass), _id(id), _tag(0), _field24(0), _field28(0), _synP(nullptr), _nextP(nullptr) { _status = str.getStatus() == SS_VALID ? SS_VALID : SS_5; } @@ -39,7 +39,7 @@ TTword::TTword(TTword *src) { } _string = src->_string; - _wordMode = src->_wordMode; + _wordClass = src->_wordClass; _id = src->_id; _tag = src->_tag; _synP = nullptr; @@ -133,7 +133,7 @@ void TTword::appendNode(TTsynonym *node) { _synP = node; } -int TTword::load(SimpleFile *file, WordMode mode) { +int TTword::load(SimpleFile *file, WordClass wordClass) { CString str1, str2; int id; @@ -141,7 +141,7 @@ int TTword::load(SimpleFile *file, WordMode mode) { _string = str1; _id = id; _tag = readNumber(str2.c_str()); - _wordMode = mode; + _wordClass = wordClass; return 0; } else { return 3; |