aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/rel.cpp
diff options
context:
space:
mode:
authorGregory Montoir2007-12-07 20:45:51 +0000
committerGregory Montoir2007-12-07 20:45:51 +0000
commit126f55fd0ec2cea7e8a397c4ba810d4c562ce3ae (patch)
treeeffa0b7edaa86f4aa68274a733a39873cc606bb3 /engines/cine/rel.cpp
parent4ae85163b777e4414cafcc13bfef42c6520f5034 (diff)
downloadscummvm-rg350-126f55fd0ec2cea7e8a397c4ba810d4c562ce3ae.tar.gz
scummvm-rg350-126f55fd0ec2cea7e8a397c4ba810d4c562ce3ae.tar.bz2
scummvm-rg350-126f55fd0ec2cea7e8a397c4ba810d4c562ce3ae.zip
backported some changes for OS
- added parsing of VOL.CNF to get the (filename,bundle) mapping (should be more efficient than testing every bundle file) - delphineUnpack allows "inplace unpacking", use this instead of allocating temporary buffers - relation script run count should be set in _localVars[0] - added comments for some "special" script variables svn-id: r29749
Diffstat (limited to 'engines/cine/rel.cpp')
-rw-r--r--engines/cine/rel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/cine/rel.cpp b/engines/cine/rel.cpp
index 2fed7c2ff3..15697c2cf1 100644
--- a/engines/cine/rel.cpp
+++ b/engines/cine/rel.cpp
@@ -84,6 +84,7 @@ void loadRel(char *pRelName) {
relTable[i].obj1Param1 = READ_BE_UINT16(ptr); ptr += 2;
relTable[i].obj1Param2 = READ_BE_UINT16(ptr); ptr += 2;
relTable[i].obj2Param = READ_BE_UINT16(ptr); ptr += 2;
+ relTable[i].runCount = 0;
}
for (i = 0; i < numEntry; i++) {