diff options
Diffstat (limited to 'engines/lab/utils.h')
-rw-r--r-- | engines/lab/utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/lab/utils.h b/engines/lab/utils.h index da1f89af7d..9d6e1872d4 100644 --- a/engines/lab/utils.h +++ b/engines/lab/utils.h @@ -43,6 +43,7 @@ private: 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 microDelay(uint32 secs, uint32 micros); public: Utils(LabEngine *vm); @@ -61,6 +62,11 @@ public: void setBytesPerRow(int num); uint16 getRandom(uint16 max); void readBlock(void *Buffer, uint32 Size, byte **File); + void addCurTime(uint32 sec, uint32 micros, uint32 *timeSec, uint32 *timeMicros); + void getTime(uint32 *secs, uint32 *micros); + void waitForTime(uint32 sec, uint32 micros); + void anyTimeDiff(uint32 sec1, uint32 micros1, uint32 sec2, uint32 micros2, uint32 *diffSecs, uint32 *diffMicros); + void timeDiff(uint32 sec, uint32 micros, uint32 *diffSec, uint32 *diffMicros); }; |