aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_word.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/tt_word.h')
-rw-r--r--engines/titanic/true_talk/tt_word.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/titanic/true_talk/tt_word.h b/engines/titanic/true_talk/tt_word.h
index ed32b35814..13a40b0262 100644
--- a/engines/titanic/true_talk/tt_word.h
+++ b/engines/titanic/true_talk/tt_word.h
@@ -29,6 +29,11 @@
namespace Titanic {
+enum WordMode {
+ WMODE_NONE = 0, WMODE_1 = 1, WMODE_2 = 2, WMODE_3 = 3,
+ WMODE_6 = 6, WMODE_8 = 8
+};
+
class TTword {
protected:
TTstringStatus _status;
@@ -48,9 +53,9 @@ public:
TTword *_nextP;
TTsynonym *_synP;
TTstring _string;
- int _wordMode;
+ WordMode _wordMode;
public:
- TTword(TTstring &str, int mode, int val2);
+ TTword(TTstring &str, WordMode mode, int val2);
TTword(TTword *src);
~TTword();
@@ -87,7 +92,7 @@ public:
/**
* Load the word
*/
- int load(SimpleFile *file, int mode);
+ int load(SimpleFile *file, WordMode mode);
/**
* Finds a synonym in the word by name, if one exists