[Scummvm-cvs-logs] SF.net SVN: scummvm:[55187] scummvm/trunk/engines/mohawk

bgk at users.sourceforge.net bgk at users.sourceforge.net
Sun Jan 9 17:13:31 CET 2011


Revision: 55187
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55187&view=rev
Author:   bgk
Date:     2011-01-09 16:13:31 +0000 (Sun, 09 Jan 2011)

Log Message:
-----------
MOHAWK: Add a stub for Myst var getter 308

Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp
    scummvm/trunk/engines/mohawk/myst_state.cpp

Modified: scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp	2011-01-09 15:53:03 UTC (rev 55186)
+++ scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp	2011-01-09 16:13:31 UTC (rev 55187)
@@ -595,6 +595,8 @@
 		return _state.cabinValvePosition;
 	case 307: // Cabin Boiler Fully Pressurized
 		return _state.cabinPilotLightLit == 1 && _state.cabinValvePosition > 12;
+	case 308: // Cabin handle position
+		return 0; // Not implemented in the original
 	default:
 		return MystScriptParser::getVar(var);
 	}

Modified: scummvm/trunk/engines/mohawk/myst_state.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/myst_state.cpp	2011-01-09 15:53:03 UTC (rev 55186)
+++ scummvm/trunk/engines/mohawk/myst_state.cpp	2011-01-09 16:13:31 UTC (rev 55187)
@@ -295,9 +295,7 @@
 	// D'ni
 	s.syncAsUint16LE(_globals.ending);
 
-	// Reading unknown region...
-	// When Zero Value regions are included, these are 5 blocks of
-	// 41 uint16 values.
+	// Already visited zip destinations
 
 	for (byte i = 0; i < 41; i++)
 		s.syncAsUint16LE(_mystReachableZipDests[i]);


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