[Scummvm-cvs-logs] SF.net SVN: scummvm:[55757] scummvm/trunk/engines/sci/graphics/robot.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu Feb 3 19:24:55 CET 2011
Revision: 55757
http://scummvm.svn.sourceforge.net/scummvm/?rev=55757&view=rev
Author: thebluegr
Date: 2011-02-03 18:24:55 +0000 (Thu, 03 Feb 2011)
Log Message:
-----------
SCI: updated comments concerning robot videos
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/robot.cpp
Modified: scummvm/trunk/engines/sci/graphics/robot.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/robot.cpp 2011-02-03 18:18:36 UTC (rev 55756)
+++ scummvm/trunk/engines/sci/graphics/robot.cpp 2011-02-03 18:24:55 UTC (rev 55757)
@@ -94,10 +94,11 @@
return;
}
- // There are several versions of robot files, ranging from 3 to 5. Version
- // 5 is the version of the majority of the robot files. PQ:SWAT is the only
- // game that uses robots of a different version (version 4), but there are
- // no known examples of other robot versions.
+ // There are several versions of robot files, ranging from 3 to 6.
+ // v3: no known examples
+ // v4: PQ:SWAT
+ // v5: SCI2.1 and SCI3 games
+ // v6: SCI3 games
_version = _resourceData[6];
// Currently, we only support robot version 5. Robot version
@@ -127,16 +128,18 @@
// uses this, thus error out so that we find out where this is used
error("Unknown robot version: %d", _version);
break;
- case 4:
- // TODO: Add support for this version (used in PQ:SWAT)
+ case 4: // used in PQ:SWAT
+ // Unsupported
+ // TODO: Add support for this version
warning("TODO: add support for v4 robot videos");
_curFrame = _frameCount; // jump to the last frame
return;
- case 5:
- // Supported, the most well-known and used version in SCI2.1
+ case 5: // used in most SCI2.1 games
+ // Supported
break;
- case 6:
- // Introduced in SCI3
+ case 6: // introduced in SCI3
+ // Unsupported
+ // TODO: Add support for this version
warning("TODO: add support for v6 robot videos");
_curFrame = _frameCount; // jump to the last frame
break;
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