LAB: Refactor the remaining functions in labfile.cpp
This commit is contained in:
parent
eb0a52e7fb
commit
9ba30835a2
7 changed files with 41 additions and 108 deletions
|
@ -414,6 +414,11 @@ void Anim::unDiff(byte *newBuf, byte *oldBuf, byte *diffData, uint16 bytesPerRow
|
|||
unDIFFMemory(newBuf, diffData, 1, bufType + 1);
|
||||
}
|
||||
|
||||
void Anim::readBlock(void *Buffer, uint32 Size, byte **File) {
|
||||
memcpy(Buffer, *File, (size_t)Size);
|
||||
(*File) += Size;
|
||||
}
|
||||
|
||||
void Anim::diffNextFrame() {
|
||||
if (_header == 65535) /* Already done. */
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue