diff options
author | Paul Gilbert | 2016-05-13 20:50:47 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:39:31 -0400 |
commit | eb948946885bc128c01f5c09da0bbdba95d2c472 (patch) | |
tree | 28baa25dd2090c629bf47ddb5aface40758bdf26 /engines/titanic/true_talk/tt_major_word.h | |
parent | 2f9d7f228459db6877ea5afec01f00110d17931a (diff) | |
download | scummvm-rg350-eb948946885bc128c01f5c09da0bbdba95d2c472.tar.gz scummvm-rg350-eb948946885bc128c01f5c09da0bbdba95d2c472.tar.bz2 scummvm-rg350-eb948946885bc128c01f5c09da0bbdba95d2c472.zip |
TITANIC: Implement TTword hierarchy virtual methods
Diffstat (limited to 'engines/titanic/true_talk/tt_major_word.h')
-rw-r--r-- | engines/titanic/true_talk/tt_major_word.h | 9 |
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 |