From de2ef2edc0ea277b4ea5db77a109199c18ff0dae Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 7 Dec 2010 00:47:05 +0000 Subject: 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 --- engines/sci/parser/vocabulary.cpp | 2 -- engines/sci/parser/vocabulary.h | 1 - 2 files changed, 3 deletions(-) (limited to 'engines/sci/parser') 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 */ }; -- cgit v1.2.3