aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_major_word.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/tt_major_word.h')
-rw-r--r--engines/titanic/true_talk/tt_major_word.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_major_word.h b/engines/titanic/true_talk/tt_major_word.h
index 140419dda2..962fbaab6d 100644
--- a/engines/titanic/true_talk/tt_major_word.h
+++ b/engines/titanic/true_talk/tt_major_word.h
@@ -32,14 +32,21 @@ private:
static bool _staticFlag;
protected:
int _field2C;
+protected:
+ /**
+ * Dumps data for the word to a file
+ */
+ int saveData(SimpleFile *file, int val) const;
public:
- TTmajorWord(TTString &str, int val1, int val2, int val3);
+ TTmajorWord(TTstring &str, int val1, int val2, int val3);
TTmajorWord(TTmajorWord *src);
/**
* Creates a copy of the word
*/
virtual TTword *copy();
+
+ virtual bool proc2(int val) const { return _field2C == val; }
};
} // End of namespace Titanic