aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_quotes.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-04 08:36:51 -0400
committerPaul Gilbert2016-07-15 19:19:23 -0400
commite9c239797d2c99ec15675513c577b92a1ea6802e (patch)
tree6774e7f30f6b0ed9d9fe091c6e9fe6f71a5c7fb5 /engines/titanic/true_talk/tt_quotes.h
parentb3bcf1cc4e2c22cedafd63417bb1d22ef591dd41 (diff)
downloadscummvm-rg350-e9c239797d2c99ec15675513c577b92a1ea6802e.tar.gz
scummvm-rg350-e9c239797d2c99ec15675513c577b92a1ea6802e.tar.bz2
scummvm-rg350-e9c239797d2c99ec15675513c577b92a1ea6802e.zip
TITANIC: Implement TTquotes read
Diffstat (limited to 'engines/titanic/true_talk/tt_quotes.h')
-rw-r--r--engines/titanic/true_talk/tt_quotes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/titanic/true_talk/tt_quotes.h b/engines/titanic/true_talk/tt_quotes.h
index 6649c1f744..f67216cf72 100644
--- a/engines/titanic/true_talk/tt_quotes.h
+++ b/engines/titanic/true_talk/tt_quotes.h
@@ -49,6 +49,10 @@ private:
size_t _dataSize;
int _field544;
private:
+ /**
+ * Test whether a substring contains one of the quotes,
+ * and if so, returns the Id associated with it
+ */
int read(const char *startP, const char *endP);
public:
TTquotes();
@@ -59,6 +63,10 @@ public:
*/
void load(const CString &name);
+ /**
+ * Test whether a passed string contains one of the quotes,
+ * and if so, returns the Id associated with it
+ */
int read(const char *str);
};