aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/utils.h
diff options
context:
space:
mode:
authorFilippos Karapetis2015-12-18 01:52:41 +0200
committerWillem Jan Palenstijn2015-12-23 21:34:08 +0100
commitbc25b6be552a929c4b3221538ebbfb256de5ecf6 (patch)
tree6490e90b8b18cd62186c4940bf388f62fca107a6 /engines/lab/utils.h
parent832d87e0bf1cb7dbfd2d3e7217b5d8fe0fefa8b7 (diff)
downloadscummvm-rg350-bc25b6be552a929c4b3221538ebbfb256de5ecf6.tar.gz
scummvm-rg350-bc25b6be552a929c4b3221538ebbfb256de5ecf6.tar.bz2
scummvm-rg350-bc25b6be552a929c4b3221538ebbfb256de5ecf6.zip
LAB: Change the graphics and audio code to use Common::File directly
Diffstat (limited to 'engines/lab/utils.h')
-rw-r--r--engines/lab/utils.h16
1 files changed, 8 insertions, 8 deletions
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);
};