aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_quotes.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-05 14:27:31 -0400
committerPaul Gilbert2016-07-15 19:20:05 -0400
commitbfe075d314f8e9d7010d0f5e60d44bb314e53846 (patch)
tree1465badfec7efda97928b9a57492c36e8b1c0c07 /engines/titanic/true_talk/tt_quotes.h
parent51226842c8f63ffa65c397906ad7aed9dd3d9ca9 (diff)
downloadscummvm-rg350-bfe075d314f8e9d7010d0f5e60d44bb314e53846.tar.gz
scummvm-rg350-bfe075d314f8e9d7010d0f5e60d44bb314e53846.tar.bz2
scummvm-rg350-bfe075d314f8e9d7010d0f5e60d44bb314e53846.zip
TITANIC: Further fleshing out of TTquotes and TTquotesTree
Diffstat (limited to 'engines/titanic/true_talk/tt_quotes.h')
-rw-r--r--engines/titanic/true_talk/tt_quotes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/true_talk/tt_quotes.h b/engines/titanic/true_talk/tt_quotes.h
index a90c70e9cc..1387a1d873 100644
--- a/engines/titanic/true_talk/tt_quotes.h
+++ b/engines/titanic/true_talk/tt_quotes.h
@@ -31,9 +31,9 @@ namespace Titanic {
class TTquotes {
struct TTquotesEntry {
- byte _val1, _val2;
+ byte _tagIndex, _maxSize;
const char *_strP;
- TTquotesEntry() : _val1(0), _val2(0), _strP(nullptr) {}
+ TTquotesEntry() : _tagIndex(0), _maxSize(0), _strP(nullptr) {}
};
struct TTquotesLetter {
Common::Array<TTquotesEntry> _entries;
@@ -51,7 +51,7 @@ private:
private:
/**
* Test whether a substring contains one of the quotes,
- * and if so, returns the Id associated with it
+ * and if so, returns the 4-character tag Id associated with it
*/
int read(const char *startP, const char *endP);
public:
@@ -65,7 +65,7 @@ public:
/**
* Test whether a passed string contains one of the quotes,
- * and if so, returns the Id associated with it
+ * and if so, returns the 4-character tag Id associated with it
*/
int read(const char *str);
};