diff options
author | Martin Kiewitz | 2010-07-19 13:50:06 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-19 13:50:06 +0000 |
commit | 2a0cff5c6ddc8409ef7daeead61b8e89479fe5a0 (patch) | |
tree | ca4db08bfe426fa6928b5ec8e243f62dd29f9112 /engines/sci/parser/vocabulary.h | |
parent | 8ea7eec267d925783e5762f54991e0d3879f7bd9 (diff) | |
download | scummvm-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.h | 7 |
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 */ |