diff options
| author | Filippos Karapetis | 2010-12-07 00:47:05 +0000 |
|---|---|---|
| committer | Filippos Karapetis | 2010-12-07 00:47:05 +0000 |
| commit | de2ef2edc0ea277b4ea5db77a109199c18ff0dae (patch) | |
| tree | 583d3d52482f25534487de0e8c38f2996dfef75d /engines/sci/parser | |
| parent | 8ca0b867e0f5127cf192b7cb7a7c12216a9545a4 (diff) | |
| download | scummvm-rg350-de2ef2edc0ea277b4ea5db77a109199c18ff0dae.tar.gz scummvm-rg350-de2ef2edc0ea277b4ea5db77a109199c18ff0dae.tar.bz2 scummvm-rg350-de2ef2edc0ea277b4ea5db77a109199c18ff0dae.zip | |
SCI: Removed the system strings code and replaced it with a much more simplified version, thus greatly simplifying handling of system strings
svn-id: r54805
Diffstat (limited to 'engines/sci/parser')
| -rw-r--r-- | engines/sci/parser/vocabulary.cpp | 2 | ||||
| -rw-r--r-- | engines/sci/parser/vocabulary.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/engines/sci/parser/vocabulary.cpp b/engines/sci/parser/vocabulary.cpp index b1f928cdd9..8d59df5d58 100644 --- a/engines/sci/parser/vocabulary.cpp +++ b/engines/sci/parser/vocabulary.cpp @@ -75,7 +75,6 @@ Vocabulary::Vocabulary(ResourceManager *resMan, bool foreign) : _resMan(resMan), loadAltInputs(); - parser_base = NULL_REG; parser_event = NULL_REG; parserIsValid = false; } @@ -89,7 +88,6 @@ Vocabulary::~Vocabulary() { void Vocabulary::reset() { parserIsValid = false; // Invalidate parser parser_event = NULL_REG; // Invalidate parser event - parser_base = make_reg(g_sci->getEngineState()->_segMan->getSysStringsSegment(), SYS_STRING_PARSER_BASE); } bool Vocabulary::loadParserWords() { diff --git a/engines/sci/parser/vocabulary.h b/engines/sci/parser/vocabulary.h index baf30a03d7..62ed2123eb 100644 --- a/engines/sci/parser/vocabulary.h +++ b/engines/sci/parser/vocabulary.h @@ -359,7 +359,6 @@ public: ParseTreeNode _parserNodes[VOCAB_TREE_NODES]; /**< The parse tree */ // Parser data: - reg_t parser_base; /**< Base address for the parser error reporting mechanism */ reg_t parser_event; /**< The event passed to Parse() and later used by Said() */ bool parserIsValid; /**< If something has been correctly parsed */ }; |
