ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/oup/current/Global/RawList.pas
(Generate patch)

Comparing oup/current/Global/RawList.pas (file contents):
Revision 169 by alloc, Tue Apr 3 15:43:53 2007 UTC vs.
Revision 173 by alloc, Wed May 2 13:19:40 2007 UTC

# Line 116 | Line 116 | var
116    datasize: Integer;
117   begin
118    SetLength(Result, 1);
119 <  if ConManager.Connection[ConnectionID].DataOS = DOS_MAC then
119 >  if ConManager.Connection[ConnectionID].DataOS in [DOS_MACBETA, DOS_MAC] then
120    begin
121      ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $10, 4, @datasize);
122      ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $14, 4, @link);
# Line 195 | Line 195 | var
195   begin
196    SetLength(Result, 13);
197    ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $16C, 2, @frames);
198 <  {y-pos}
198 >  {x-z-pos}
199    ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $0C, 4, @link);
200    Result[0].SrcOffset := $0C;
201    Result[0].RawAddr   := link;
202 <  Result[0].RawSize   := frames * 4;
203 <  {x-z-pos}
202 >  if link > 0 then
203 >    Result[0].RawSize := frames * 4
204 >  else
205 >    Result[0].RawSize := 0;
206 >  {y-pos}
207    ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $10, 4, @link);
208    Result[1].SrcOffset := $10;
209    Result[1].RawAddr   := link;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)