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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sat Mar 4 02:51:04 CET 2006


Revision: 21065
Author:   fingolfin
Date:     2006-03-04 02:50:23 -0800 (Sat, 04 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm?rev=21065&view=rev

Log Message:
-----------
Added a comment about the first few entries in substResFileNameTable

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/scumm.cpp
Modified: scummvm/trunk/engines/scumm/scumm.cpp
===================================================================
--- scummvm/trunk/engines/scumm/scumm.cpp	2006-03-04 10:46:11 UTC (rev 21064)
+++ scummvm/trunk/engines/scumm/scumm.cpp	2006-03-04 10:50:23 UTC (rev 21065)
@@ -80,6 +80,14 @@
 
 
 static SubstResFileNames substResFileNameTable[] = {
+	// The first few entries for 00.LFL/01.LFL files are here for two reasons:
+	// 1) For the detector to detect these games
+	// 2) Because the ScummEngine constructor distinguishes between extracted
+	//    and non-extracted variants of these C64/NES games by the presence
+	//    or absence of a SubstResFileNames record.
+	// Use 1 will go away with the new detector code. Use 2 needs some more
+	// attention, but most likely should be solved by passing the name of the
+	// "detect file" to the contructor.
 	{ "00.LFL", "Maniac Mansion (E).prg", kGenAsIs },
 	{ "00.LFL", "Maniac Mansion (F).prg", kGenAsIs },
 	{ "00.LFL", "Maniac Mansion (SW).prg", kGenAsIs },
@@ -89,6 +97,7 @@
 	{ "01.LFL", "maniac2.d64", kGenAsIs }, // swap
 	{ "00.LFL", "zak1.d64", kGenAsIs },    // these
 	{ "01.LFL", "zak2.d64", kGenAsIs },    // lines
+
 	{ "atlantis", "Fate of Atlantis Data", kGenAsIs },
 	{ "atlantis", "fate", kGenPC },
 	{ "atlantis", "playfate", kGenPC },







More information about the Scummvm-git-logs mailing list