aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2011-02-03 18:24:55 +0000
committerFilippos Karapetis2011-02-03 18:24:55 +0000
commit38444a3712543f60f5daf8106ef3b2d66c6f9ab9 (patch)
tree2fcdc6a6fb2afdcbcb334bec8343186c63adcb74 /engines/sci
parente1cea3b879037dc5b52ae7a2043824baa82112c6 (diff)
downloadscummvm-rg350-38444a3712543f60f5daf8106ef3b2d66c6f9ab9.tar.gz
scummvm-rg350-38444a3712543f60f5daf8106ef3b2d66c6f9ab9.tar.bz2
scummvm-rg350-38444a3712543f60f5daf8106ef3b2d66c6f9ab9.zip
SCI: updated comments concerning robot videos
svn-id: r55757
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/robot.cpp23
1 files changed, 13 insertions, 10 deletions
diff --git a/engines/sci/graphics/robot.cpp b/engines/sci/graphics/robot.cpp
index 44465b2761..9a6bf64909 100644
--- a/engines/sci/graphics/robot.cpp
+++ b/engines/sci/graphics/robot.cpp
@@ -94,10 +94,11 @@ void GfxRobot::init(GuiResourceId resourceId, uint16 x, uint16 y) {
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 @@ void GfxRobot::init(GuiResourceId resourceId, uint16 x, uint16 y) {
// 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;