diff options
author | Paul Gilbert | 2017-09-18 18:16:03 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-18 18:16:03 -0400 |
commit | 5af8ed228d729dd9ef71f5f6cea7adb254dff7a4 (patch) | |
tree | 042295fae00eb651b35f3702408e60944462ae88 /engines/titanic/true_talk/tt_word.h | |
parent | 1d4e2c67fa20d962b0755cbe6a9c653f3bec76e5 (diff) | |
download | scummvm-rg350-5af8ed228d729dd9ef71f5f6cea7adb254dff7a4.tar.gz scummvm-rg350-5af8ed228d729dd9ef71f5f6cea7adb254dff7a4.tar.bz2 scummvm-rg350-5af8ed228d729dd9ef71f5f6cea7adb254dff7a4.zip |
TITANIC: Add VocabMode enum, fix German vocab loading
Diffstat (limited to 'engines/titanic/true_talk/tt_word.h')
-rw-r--r-- | engines/titanic/true_talk/tt_word.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_word.h b/engines/titanic/true_talk/tt_word.h index 7a42614f43..207c1c155b 100644 --- a/engines/titanic/true_talk/tt_word.h +++ b/engines/titanic/true_talk/tt_word.h @@ -23,6 +23,7 @@ #ifndef TITANIC_TT_WORD_H #define TITANIC_TT_WORD_H +#include "titanic/support/exe_resources.h" #include "titanic/support/simple_file.h" #include "titanic/true_talk/tt_string.h" #include "titanic/true_talk/tt_synonym.h" @@ -102,9 +103,10 @@ public: * Finds a synonym in the word by name, if one exists * @param str Name to search for * @param dest Destination synonym instance to copy match into + * @param mode Specifies English or German vocab mode * @returns Returns true if a match was found */ - bool findSynByName(const TTstring &str, TTsynonym *dest, int mode) const; + bool findSynByName(const TTstring &str, TTsynonym *dest, VocabMode mode) const; const char *c_str() const { return _text.c_str(); } operator const char *() const { return c_str(); } |