aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-07-08 10:51:55 +0000
committerMax Horn2003-07-08 10:51:55 +0000
commit1d69c338194fd080010f2cf434cb519a50016b14 (patch)
tree7112e1abc727aaa494026d57bc122900edd0687c
parent07bd98b27f4c7e9968ec225863cded3bd8bda6e8 (diff)
downloadscummvm-rg350-1d69c338194fd080010f2cf434cb519a50016b14.tar.gz
scummvm-rg350-1d69c338194fd080010f2cf434cb519a50016b14.tar.bz2
scummvm-rg350-1d69c338194fd080010f2cf434cb519a50016b14.zip
clarified comment
svn-id: r8853
-rw-r--r--scumm/costume.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp
index b040a1a5e4..4be379aef7 100644
--- a/scumm/costume.cpp
+++ b/scumm/costume.cpp
@@ -608,10 +608,10 @@ void Scumm::cost_decodeData(Actor *a, int frame, uint usemask) {
if (_version == 1) {
// FIXME: lc._numColors is 0 for C64 codec...
// Is this code here really correct? If I compare V1 and V2 maniac,
- // I noticed that for V1, there are 3 bytes / entry (i.e. the offsets
- // increase in steps of 3), while for V2 there are 10 bytes / entry.
- // That makes me wonder if the following decoder is correct *at all*
- // for the C64 data
+ // looking at the case Actor 1, frame 1, anim 6, I notice that for V1,
+ // there are 3 bytes / entry (i.e. the offsets) increase in steps of 3)
+ // But for V2 there are 10 bytes / entry. That makes me wonder if the
+ // following decoder is correct *at all* for the C64 data
r = lc._baseptr + READ_LE_UINT16(lc._ptr + anim * 2 + lc._numColors + 30);
} else {
r = lc._baseptr + READ_LE_UINT16(lc._ptr + anim * 2 + lc._numColors + 42);