mirror of
https://github.com/zeldaret/tp
synced 2026-05-24 07:11:06 -04:00
221f40e609
* add "global.h" to files that use it * add MSL_C includes to files that use them * remove dolphin includes from headers that don't need them * remove JSupport includes from headers that don't need them * remove JKernel includes from headers that don't need them * remove JUtility includes from headers that don't need them * remove J3D includes from headers that don't need them * remove J2D includes from headers that don't need them * remove JAudio2 includes from headers that don't need them * remove Z2AudioLib includes from headers that don't need them * remove JMessage includes from headers that don't need them * remove JParticle includes from headers that don't need them * remove SComponent includes from headers that don't need them * remove dol includes from headers that don't need them * sort includes
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
#ifndef JKRCOMPARCHIVE_H
|
|
#define JKRCOMPARCHIVE_H
|
|
|
|
#include "JSystem/JKernel/JKRArchive.h"
|
|
#include "dolphin/types.h"
|
|
|
|
class JKRAramBlock;
|
|
class JKRDvdFile;
|
|
|
|
class JKRCompArchive : public JKRArchive {
|
|
public:
|
|
JKRCompArchive(long, JKRArchive::EMountDirection);
|
|
virtual ~JKRCompArchive();
|
|
|
|
bool open(long);
|
|
|
|
/* vt[09] */ void removeResourceAll(void); /* override */
|
|
/* vt[10] */ bool removeResource(void*); /* override */
|
|
|
|
/* vt[15] */ u32 getExpandedResSize(const void*) const; /* override */
|
|
/* vt[16] */ void* fetchResource(SDIFileEntry*, u32*); /* override */
|
|
/* vt[17] */ void* fetchResource(void*, u32, SDIFileEntry*, u32*); /* override */
|
|
|
|
public:
|
|
private:
|
|
/* 0x00 */ // vtable
|
|
/* 0x04 */ // JKRArchive
|
|
/* 0x5C */ int field_0x5c;
|
|
/* 0x60 */ EMountDirection mMountDirection;
|
|
/* 0x64 */ int field_0x64;
|
|
/* 0x68 */ JKRAramBlock* field_0x68;
|
|
/* 0x6C */ int field_0x6c;
|
|
/* 0x70 */ JKRDvdFile* field_0x70;
|
|
/* 0x74 */ u32 mSizeOfMemPart;
|
|
/* 0x78 */ u32 mSizeOfAramPart;
|
|
/* 0x7C */ int field_0x7c;
|
|
};
|
|
|
|
#endif /* JKRCOMPARCHIVE_H */
|