[Scummvm-cvs-logs] SF.net SVN: scummvm:[51829] scummvm/trunk/engines/sci/sci.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Aug 7 10:59:44 CEST 2010


Revision: 51829
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51829&view=rev
Author:   thebluegr
Date:     2010-08-07 08:59:43 +0000 (Sat, 07 Aug 2010)

Log Message:
-----------
SCI: Added support for the inbuilt leftover parser in XMAS1990

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sci.cpp

Modified: scummvm/trunk/engines/sci/sci.cpp
===================================================================
--- scummvm/trunk/engines/sci/sci.cpp	2010-08-07 06:21:22 UTC (rev 51828)
+++ scummvm/trunk/engines/sci/sci.cpp	2010-08-07 08:59:43 UTC (rev 51829)
@@ -211,8 +211,11 @@
 	_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());


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list