diff options
author | Paul Gilbert | 2016-06-04 00:50:06 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:19:20 -0400 |
commit | b3bcf1cc4e2c22cedafd63417bb1d22ef591dd41 (patch) | |
tree | 8ba7f40b527d27c000e45414cb0db85b57cf8a9a /engines/titanic/true_talk/tt_quotes.h | |
parent | 4e766db41cae9d747f49cbfefbb5a23612768ea5 (diff) | |
download | scummvm-rg350-b3bcf1cc4e2c22cedafd63417bb1d22ef591dd41.tar.gz scummvm-rg350-b3bcf1cc4e2c22cedafd63417bb1d22ef591dd41.tar.bz2 scummvm-rg350-b3bcf1cc4e2c22cedafd63417bb1d22ef591dd41.zip |
TITANIC: Finished TTquotes load
Diffstat (limited to 'engines/titanic/true_talk/tt_quotes.h')
-rw-r--r-- | engines/titanic/true_talk/tt_quotes.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/engines/titanic/true_talk/tt_quotes.h b/engines/titanic/true_talk/tt_quotes.h index 2af612ca32..6649c1f744 100644 --- a/engines/titanic/true_talk/tt_quotes.h +++ b/engines/titanic/true_talk/tt_quotes.h @@ -24,23 +24,29 @@ #define TITANIC_TT_QUOTES_H #include "common/scummsys.h" +#include "common/stream.h" #include "titanic/support/string.h" namespace Titanic { class TTquotes { struct TTquotesEntry { - byte *_dataP; + byte _val1, _val2; + const char *_strP; + TTquotesEntry() : _val1(0), _val2(0), _strP(nullptr) {} + }; + struct TTquotesLetter { + Common::Array<TTquotesEntry> _entries; int _field4; int _field8; - TTquotesEntry() : _dataP(nullptr), _field4(0), _field8(0) {} + TTquotesLetter() : _field4(0), _field8(0) {} }; private: - TTquotesEntry _alphabet[26]; + TTquotesLetter _alphabet[26]; uint _array[256]; - byte *_dataP; - int _field540; + const char *_dataP; + size_t _dataSize; int _field544; private: int read(const char *startP, const char *endP); |