aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/parser/vocabulary.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-01-23 19:10:56 +0000
committerFilippos Karapetis2010-01-23 19:10:56 +0000
commit722233fd0ddc4447b30f352f6b4bb19728d824fa (patch)
tree8f70437935084ea34abc658165188ef86f4a89aa /engines/sci/parser/vocabulary.cpp
parentedbc3683987faf7487b10513a812ca2857a04771 (diff)
downloadscummvm-rg350-722233fd0ddc4447b30f352f6b4bb19728d824fa.tar.gz
scummvm-rg350-722233fd0ddc4447b30f352f6b4bb19728d824fa.tar.bz2
scummvm-rg350-722233fd0ddc4447b30f352f6b4bb19728d824fa.zip
- Moved all of the parser-related variables inside the Vocabulary class
- Moved the kSetSynonyms() function inside kscripts (as it's for script synonyms, not parser word synonyms) - The parser vocabulary is now only initialized for SCI0 and SCI01 games, which had a parser svn-id: r47483
Diffstat (limited to 'engines/sci/parser/vocabulary.cpp')
-rw-r--r--engines/sci/parser/vocabulary.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/parser/vocabulary.cpp b/engines/sci/parser/vocabulary.cpp
index 5ecea03899..0e84a34cfd 100644
--- a/engines/sci/parser/vocabulary.cpp
+++ b/engines/sci/parser/vocabulary.cpp
@@ -108,6 +108,10 @@ Vocabulary::Vocabulary(ResourceManager *resMan) : _resMan(resMan) {
debug(2, "Assuming that this game does not use a parser.");
_parserRules = NULL;
}
+
+ parser_base = NULL_REG;
+ parser_event = NULL_REG;
+ parserIsValid = false;
}
Vocabulary::~Vocabulary() {