From 426e0bb9c117fe043873d4c8f67e62a6ef034cf3 Mon Sep 17 00:00:00 2001 From: Lukas Bagaric Date: Tue, 23 Apr 2013 23:18:56 +0200 Subject: Compact callback now no longer uses global variables. You should be able to compact different archives on different threads now. --- src/StormLib.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/StormLib.h') diff --git a/src/StormLib.h b/src/StormLib.h index 68bdac3..a2d5513 100644 --- a/src/StormLib.h +++ b/src/StormLib.h @@ -750,6 +750,8 @@ typedef struct _TMPQArchive SFILE_COMPACT_CALLBACK aCompactCB; // Callback function for compacting the archive void * pvCompactUserData; // User data thats passed to the callback + ULONGLONG CompactBytesProcessed; // Amount of bytes that have been processed during a particular compact call + ULONGLONG CompactTotalBytes; // Total amount of bytes to be compacted } TMPQArchive; // File handle structure -- cgit v1.2.3