aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/parser/vocabulary.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-19 13:50:06 +0000
committerMartin Kiewitz2010-07-19 13:50:06 +0000
commit2a0cff5c6ddc8409ef7daeead61b8e89479fe5a0 (patch)
treeca4db08bfe426fa6928b5ec8e243f62dd29f9112 /engines/sci/parser/vocabulary.h
parent8ea7eec267d925783e5762f54991e0d3879f7bd9 (diff)
downloadscummvm-rg350-2a0cff5c6ddc8409ef7daeead61b8e89479fe5a0.tar.gz
scummvm-rg350-2a0cff5c6ddc8409ef7daeead61b8e89479fe5a0.tar.bz2
scummvm-rg350-2a0cff5c6ddc8409ef7daeead61b8e89479fe5a0.zip
SCI: implement foreign vocabulary support
not fully working, extended chars do not work currently as input svn-id: r51027
Diffstat (limited to 'engines/sci/parser/vocabulary.h')
-rw-r--r--engines/sci/parser/vocabulary.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/sci/parser/vocabulary.h b/engines/sci/parser/vocabulary.h
index 3317b6dfba..e637d8088a 100644
--- a/engines/sci/parser/vocabulary.h
+++ b/engines/sci/parser/vocabulary.h
@@ -169,7 +169,7 @@ enum VocabularyVersions {
class Vocabulary {
public:
- Vocabulary(ResourceManager *resMan);
+ Vocabulary(ResourceManager *resMan, bool foreign);
~Vocabulary();
/**
@@ -302,6 +302,11 @@ private:
ResourceManager *_resMan;
VocabularyVersions _vocabVersion;
+ bool _foreign;
+ uint16 _resourceIdWords;
+ uint16 _resourceIdSuffixes;
+ uint16 _resourceIdBranches;
+
// Parser-related lists
SuffixList _parserSuffixes;
ParseRuleList *_parserRules; /**< GNF rules used in the parser algorithm */