From eb948946885bc128c01f5c09da0bbdba95d2c472 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 13 May 2016 20:50:47 -0400 Subject: TITANIC: Implement TTword hierarchy virtual methods --- engines/titanic/true_talk/tt_major_word.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'engines/titanic/true_talk/tt_major_word.h') 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 -- cgit v1.2.3