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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Sep 4 19:16:43 CEST 2010


Revision: 52527
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52527&view=rev
Author:   thebluegr
Date:     2010-09-04 17:16:41 +0000 (Sat, 04 Sep 2010)

Log Message:
-----------
SCI: Janitorial - fixed spaces and typos

Modified Paths:
--------------
    scummvm/trunk/engines/sci/detection_tables.h
    scummvm/trunk/engines/sci/engine/script.cpp
    scummvm/trunk/engines/sci/engine/seg_manager.cpp

Modified: scummvm/trunk/engines/sci/detection_tables.h
===================================================================
--- scummvm/trunk/engines/sci/detection_tables.h	2010-09-04 17:10:27 UTC (rev 52526)
+++ scummvm/trunk/engines/sci/detection_tables.h	2010-09-04 17:16:41 UTC (rev 52527)
@@ -835,7 +835,6 @@
 		AD_LISTEND},
 		Common::EN_ANY, Common::kPlatformPC, 0, GUIO_NOSPEECH	},
 
-
 	// Hoyle 3 - English DOS Floppy (supplied by eddydrama in bug report #3038837)
 	{"hoyle3", "", {
 		{"resource.map", 0, "31c9fc0977ac6e5b566c37096803d0cb", 2469},

Modified: scummvm/trunk/engines/sci/engine/script.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/script.cpp	2010-09-04 17:10:27 UTC (rev 52526)
+++ scummvm/trunk/engines/sci/engine/script.cpp	2010-09-04 17:16:41 UTC (rev 52527)
@@ -291,7 +291,8 @@
 		// code blocks. In SCI1.1 and newer versions, only locals and objects
 		// are relocated.
 		if (!relocateLocal(block.segment, pos)) {
-			// Not a local? It's probably an object or code block. If it's an object, relocate it.
+			// Not a local? It's probably an object or code block. If it's an
+			// object, relocate it.
 			const ObjMap::iterator end = _objects.end();
 			for (ObjMap::iterator it = _objects.begin(); it != end; ++it)
 				if (it->_value.relocate(block.segment, pos, _scriptSize))
@@ -535,7 +536,7 @@
 
 		// If object is instance, get -propDict- from class and set it for this
 		// object. This is needed for ::isMemberOf() to work.
-		// Example testcase - room 381 of sq4cd - if isMemberOf() doesn't work,
+		// Example test case - room 381 of sq4cd - if isMemberOf() doesn't work,
 		// talk-clicks on the robot will act like clicking on ego
 		if (!obj->isClass()) {
 			reg_t classObject = obj->getSuperClassSelector();

Modified: scummvm/trunk/engines/sci/engine/seg_manager.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/seg_manager.cpp	2010-09-04 17:10:27 UTC (rev 52526)
+++ scummvm/trunk/engines/sci/engine/seg_manager.cpp	2010-09-04 17:16:41 UTC (rev 52527)
@@ -1052,7 +1052,7 @@
 	reg_t reg = make_reg(segmentId, oldScriptHeader ? 2 : 0);
 	int objType, objLength = 0;
 
-	// Make a pass over the object in order uninstantiate all superclasses
+	// Make a pass over the object in order to uninstantiate all superclasses
 
 	do {
 		reg.offset += objLength; // Step over the last checked object


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