- 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
This commit is contained in:
parent
edbc368398
commit
722233fd0d
12 changed files with 85 additions and 85 deletions
|
@ -137,7 +137,8 @@ Common::Error SciEngine::run() {
|
|||
_console = new Console(this);
|
||||
|
||||
_kernel = new Kernel(_resMan, getGameID());
|
||||
_vocabulary = new Vocabulary(_resMan);
|
||||
// Only SCI0 and SCI01 games used a parser
|
||||
_vocabulary = (getSciVersion() <= SCI_VERSION_1_EGA) ? new Vocabulary(_resMan) : NULL;
|
||||
_audio = new AudioPlayer(_resMan);
|
||||
|
||||
SegManager *segMan = new SegManager(_resMan);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue