From 421ac2562879d6bae8c01536273cca3c89dbd603 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 7 Aug 2010 08:59:43 +0000 Subject: SCI: Added support for the inbuilt leftover parser in XMAS1990 svn-id: r51829 --- engines/sci/sci.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/sci') diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index d0c578bd45..7a9a786121 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -211,8 +211,11 @@ Common::Error SciEngine::run() { _console = new Console(this); _kernel = new Kernel(_resMan, segMan); _features = new GameFeatures(segMan, _kernel); - // Only SCI0 and SCI01 games used a parser + // Only SCI0, SCI01 and SCI1 EGA games used a parser _vocabulary = (getSciVersion() <= SCI_VERSION_1_EGA) ? new Vocabulary(_resMan, false) : NULL; + // Also, XMAS1990 apparently had a parser too. Refer to http://forums.scummvm.org/viewtopic.php?t=9135 + if (getGameId() == GID_CHRISTMAS1990) + _vocabulary = new Vocabulary(_resMan, false); _audio = new AudioPlayer(_resMan); _gamestate = new EngineState(segMan); _eventMan = new EventManager(_resMan->detectFontExtended()); -- cgit v1.2.3