mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Add missing types to fully mapped out PakGlobals_s struct, which is a 13MiB+ structure! This covers the vast majority of the pakfile system which is why we had to change a bunch of stuff for this patch. This patch also comes with: - Reversed 'JobFifoLock_s' structure - Reversed 'PakTracker_s' structure - Reversed 'PakAssetTracker_s' structure Many globals have been dropped as they were covered by the large PakGlobals_s singleton. The pak decoder logic has been changed up as well, we now use a decode mode enumerant which will make it easier to add in more decoders for the pak files in the future.
11 lines
356 B
C
11 lines
356 B
C
#ifndef RTECH_PAKENCODE_H
|
|
#define RTECH_PAKENCODE_H
|
|
#include "rtech/ipakfile.h"
|
|
|
|
bool Pak_BufferToBufferEncode(const uint8_t* const inBuf, const uint64_t inLen,
|
|
uint8_t* const outBuf, const uint64_t outLen, const int level);
|
|
|
|
bool Pak_EncodePakFile(const char* const inPakFile, const char* const outPakFile, const int level);
|
|
|
|
#endif // RTECH_PAKENCODE_H
|