Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JKRCompArchive Class Reference

#include <JKRCompArchive.h>

+ Inheritance diagram for JKRCompArchive:
+ Collaboration diagram for JKRCompArchive:

Public Member Functions

 JKRCompArchive (s32, JKRArchive::EMountDirection)
 
virtual ~JKRCompArchive ()
 
bool open (s32)
 
void removeResourceAll (void)
 
bool removeResource (void *)
 
u32 getExpandedResSize (const void *) const
 
voidfetchResource (SDIFileEntry *, u32 *)
 
voidfetchResource (void *, u32, SDIFileEntry *, u32 *)
 
- Public Member Functions inherited from JKRArchive
virtual ~JKRArchive ()
 
bool getDirEntry (SDirEntry *, u32) const
 
voidgetIdxResource (u32)
 
voidgetResource (u16)
 
u32 readIdxResource (void *, u32, u32)
 
u32 readResource (void *, u32, u16)
 
u32 countResource (void) const
 
u32 getFileAttribute (u32) const
 
SDIFileEntryfindNameResource (const char *) const
 
bool isSameName (CArcName &, u32, u16) const
 
SDIDirEntryfindResType (u32) const
 
SDIDirEntryfindDirectory (const char *, u32) const
 
SDIFileEntryfindTypeResource (u32, const char *) const
 
SDIFileEntryfindFsResource (const char *, u32) const
 
SDIFileEntryfindIdxResource (u32) const
 
SDIFileEntryfindPtrResource (const void *) const
 
SDIFileEntryfindIdResource (u16) const
 
virtual bool becomeCurrent (const char *)
 
virtual voidgetResource (const char *)
 
virtual voidgetResource (u32, const char *)
 
virtual u32 readResource (void *, u32, const char *)
 
virtual u32 readResource (void *, u32, u32, const char *)
 
virtual bool detachResource (void *)
 
virtual u32 getResSize (const void *) const
 
virtual u32 countFile (const char *) const
 
virtual JKRFileFindergetFirstFile (const char *) const
 
virtual void setExpandSize (SDIFileEntry *, u32)
 
virtual u32 getExpandSize (SDIFileEntry *) const
 
u32 countFile () const
 
s32 countDirectory () const
 
u8 getMountMode () const
 
bool isFileEntry (u32 param_0)
 
- Public Member Functions inherited from JKRFileLoader
 JKRFileLoader (void)
 
virtual ~JKRFileLoader ()
 
bool isMounted () const
 
u32 getVolumeType () const
 
virtual void unmount (void)
 
- Public Member Functions inherited from JKRDisposer
 JKRDisposer ()
 
virtual ~JKRDisposer ()
 

Private Attributes

int field_0x64
 
JKRAramBlockmAramPart
 
int field_0x6c
 
JKRDvdFilemDvdFile
 
u32 mSizeOfMemPart
 
u32 mSizeOfAramPart
 
int field_0x7c
 

Additional Inherited Members

- Public Types inherited from JKRArchive
enum  EMountMode {
  UNKNOWN_MOUNT_MODE = 0 , MOUNT_MEM = 1 , MOUNT_ARAM = 2 , MOUNT_DVD = 3 ,
  MOUNT_COMP = 4
}
 
enum  EMountDirection { UNKNOWN_MOUNT_DIRECTION = 0 , MOUNT_DIRECTION_HEAD = 1 , MOUNT_DIRECTION_TAIL = 2 }
 
- Static Public Member Functions inherited from JKRArchive
static JKRArchivecheck_mount_already (s32, JKRHeap *)
 
static JKRArchivemount (const char *, EMountMode, JKRHeap *, EMountDirection)
 
static JKRArchivemount (void *, JKRHeap *, EMountDirection)
 
static JKRArchivemount (s32, EMountMode, JKRHeap *, EMountDirection)
 
static voidgetGlbResource (u32, const char *, JKRArchive *)
 
static JKRCompression convertAttrToCompressionType (u32 attr)
 
static u32 getCurrentDirID ()
 
static void setCurrentDirID (u32 dirID)
 
- Static Public Member Functions inherited from JKRFileLoader
static voidgetGlbResource (const char *)
 
static voidgetGlbResource (const char *, JKRFileLoader *)
 
static bool removeResource (void *, JKRFileLoader *)
 
static bool detachResource (void *, JKRFileLoader *)
 
static JKRFileLoaderfindVolume (const char **)
 
static const charfetchVolumeName (char *, s32, const char *)
 
static JKRFileLoadergetCurrentVolume ()
 
static void setCurrentVolume (JKRFileLoader *fileLoader)
 
static JSUList< JKRFileLoader > & getVolumeList ()
 
- Public Attributes inherited from JKRArchive
JKRHeapmHeap
 
u8 mMountMode
 
u8 field_0x3d [3]
 
s32 mEntryNum
 
SArcDataInfomArcInfoBlock
 
SDIDirEntrymNodes
 
SDIFileEntrymFiles
 
s32mExpandedSize
 
charmStringTable
 
- Public Attributes inherited from JKRDisposer
JKRHeapmHeap
 
JSULink< JKRDisposermLink
 
- Static Public Attributes inherited from JKRFileLoader
static JKRFileLoadersCurrentVolume
 
static JSUList< JKRFileLoadersVolumeList
 
- Protected Member Functions inherited from JKRArchive
 JKRArchive ()
 
 JKRArchive (s32, EMountMode)
 
- Protected Attributes inherited from JKRArchive
u32 field_0x58
 
JKRCompression mCompression
 
EMountDirection mMountDirection
 
- Protected Attributes inherited from JKRFileLoader
JSULink< JKRFileLoadermFileLoaderLink
 
const charmVolumeName
 
u32 mVolumeType
 
bool mIsMounted
 
u8 field_0x31 [3]
 
u32 mMountCount
 

Constructor & Destructor Documentation

◆ JKRCompArchive()

JKRCompArchive::JKRCompArchive ( s32  entryNum,
JKRArchive::EMountDirection  eMountDirection 
)

◆ ~JKRCompArchive()

JKRCompArchive::~JKRCompArchive ( )
virtual

Member Function Documentation

◆ fetchResource() [1/2]

void * JKRCompArchive::fetchResource ( SDIFileEntry fileEntry,
u32 pSize 
)
virtual

Implements JKRArchive.

◆ fetchResource() [2/2]

void * JKRCompArchive::fetchResource ( void data,
u32  compressedSize,
SDIFileEntry fileEntry,
u32 pSize 
)
virtual

Implements JKRArchive.

◆ getExpandedResSize()

u32 JKRCompArchive::getExpandedResSize ( const void resource) const
virtual

Reimplemented from JKRArchive.

◆ open()

bool JKRCompArchive::open ( s32  entryNum)

◆ removeResource()

bool JKRCompArchive::removeResource ( void resource)
virtual

Reimplemented from JKRArchive.

◆ removeResourceAll()

void JKRCompArchive::removeResourceAll ( void  )
virtual

Reimplemented from JKRArchive.

Member Data Documentation

◆ field_0x64

int JKRCompArchive::field_0x64
private

◆ field_0x6c

int JKRCompArchive::field_0x6c
private

◆ field_0x7c

int JKRCompArchive::field_0x7c
private

◆ mAramPart

JKRAramBlock* JKRCompArchive::mAramPart
private

◆ mDvdFile

JKRDvdFile* JKRCompArchive::mDvdFile
private

◆ mSizeOfAramPart

u32 JKRCompArchive::mSizeOfAramPart
private

◆ mSizeOfMemPart

u32 JKRCompArchive::mSizeOfMemPart
private

The documentation for this class was generated from the following files: