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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Nov 20 17:48:51 CET 2009


Revision: 46013
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46013&view=rev
Author:   thebluegr
Date:     2009-11-20 16:48:51 +0000 (Fri, 20 Nov 2009)

Log Message:
-----------
Added a FIXME for the syncTime and syncCue selectors, for games which don't have a default selector dictionary

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

Modified: scummvm/trunk/engines/sci/engine/static_selectors.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/static_selectors.cpp	2009-11-20 16:39:31 UTC (rev 46012)
+++ scummvm/trunk/engines/sci/engine/static_selectors.cpp	2009-11-20 16:48:51 UTC (rev 46013)
@@ -70,7 +70,11 @@
 // Taken from Leisure Suit Larry 1 VGA (Full Game)
 static const SelectorRemap sci1SelectorRemap[] = {
 	{      "nodePtr",  44 }, {   "cantBeHere",  57 }, {    "topString", 101 },
-	{        "flags", 102 }, {     "syncTime", 247 }, {      "syncCue", 248 },
+	{        "flags", 102 },
+	// FIXME: These two selectors differ for each game. We need to find a reliable
+	// way to detect them, or apply them on a per-game basis for games which are
+	// missing them
+	{     "syncTime", 247 }, {      "syncCue", 248 },
 	{              0,   0 }
 };
 
@@ -78,7 +82,11 @@
 static const SelectorRemap sci11SelectorRemap[] = {
 	{      "nodePtr",  41 }, {   "cantBeHere",  54 }, {     "topString", 98 },
 	{        "flags",  99 }, {       "scaleX", 104 }, {       "scaleY", 105 },
-	{     "syncTime", 279 }, {      "syncCue", 280 }, {              0,   0 }
+	// FIXME: These two selectors differ for each game. We need to find a reliable
+	// way to detect them, or apply them on a per-game basis for games which are
+	// missing them
+	{     "syncTime", 279 }, {      "syncCue", 280 },
+	{              0,   0 }
 };
 
 Common::StringList Kernel::checkStaticSelectorNames() {


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