From bc25b6be552a929c4b3221538ebbfb256de5ecf6 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 18 Dec 2015 01:52:41 +0200 Subject: LAB: Change the graphics and audio code to use Common::File directly --- engines/lab/utils.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'engines/lab/utils.h') diff --git a/engines/lab/utils.h b/engines/lab/utils.h index c6337c797b..0d4f6496e1 100644 --- a/engines/lab/utils.h +++ b/engines/lab/utils.h @@ -38,11 +38,11 @@ private: LabEngine *_vm; uint16 _dataBytesPerRow; - void unDiffByteByte(byte *dest, byte *diff); - void unDiffByteWord(uint16 *dest, uint16 *diff); - void VUnDiffByteByte(byte *dest, byte *diff, uint16 bytesPerRow); - void VUnDiffByteWord(uint16 *dest, uint16 *diff, uint16 bytesPerRow); - void VUnDiffByteLong(uint32 *dest, uint32 *diff, uint16 bytesPerRow); + void unDiffByteByte(byte *dest, Common::File *sourceFile); + void unDiffByteWord(uint16 *dest, Common::File *sourceFile); + void VUnDiffByteByte(byte *dest, Common::File *sourceFile, uint16 bytesPerRow); + void VUnDiffByteWord(uint16 *dest, Common::File *sourceFile, uint16 bytesPerRow); + void VUnDiffByteLong(uint32 *dest, Common::File *sourceFile, uint16 bytesPerRow); public: Utils(LabEngine *vm); @@ -58,9 +58,9 @@ public: uint16 mapScaleX(uint16 x); uint16 mapScaleY(uint16 y); Common::Point vgaUnscale(Common::Point pos); - void unDiff(byte *newBuf, byte *oldBuf, byte *diffData, uint16 bytesPerRow, bool isV); - void runLengthDecode(byte *dest, byte *source); - void VRunLengthDecode(byte *dest, byte *source, uint16 bytesPerRow); + void unDiff(byte *newBuf, byte *oldBuf, Common::File *sourceFile, uint16 bytesPerRow, bool isV); + void runLengthDecode(byte *dest, Common::File *sourceFile); + void VRunLengthDecode(byte *dest, Common::File *sourceFile, uint16 bytesPerRow); void setBytesPerRow(int num); uint16 getRandom(uint16 max); }; -- cgit v1.2.3