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

#include <JKRDvdArchive.h>

+ Inheritance diagram for JKRDvdArchive:
+ Collaboration diagram for JKRDvdArchive:

Public Member Functions

 JKRDvdArchive (s32, JKRArchive::EMountDirection)
 
virtual ~JKRDvdArchive ()
 
bool open (s32)
 
virtual u32 getExpandedResSize (const void *) const
 
virtual voidfetchResource (SDIFileEntry *, u32 *)
 
virtual 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 void removeResourceAll (void)
 
virtual bool removeResource (void *)
 
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 ()
 

Static Public Member Functions

static u32 fetchResource_subroutine (s32, u32, u32, u8 *, u32, JKRCompression, JKRCompression)
 
static u32 fetchResource_subroutine (s32, u32, u32, JKRHeap *, JKRCompression, JKRCompression, u8 **)
 
- 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 ()
 

Private Attributes

s32 mDataOffset
 
JKRDvdFilemDvdFile
 

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 }
 
- 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

◆ JKRDvdArchive()

JKRDvdArchive::JKRDvdArchive ( s32  entryNum,
JKRArchive::EMountDirection  mountDirection 
)

◆ ~JKRDvdArchive()

JKRDvdArchive::~JKRDvdArchive ( )
virtual

Member Function Documentation

◆ fetchResource() [1/2]

void * JKRDvdArchive::fetchResource ( SDIFileEntry fileEntry,
u32 returnSize 
)
virtual

Implements JKRArchive.

◆ fetchResource() [2/2]

void * JKRDvdArchive::fetchResource ( void buffer,
u32  bufferSize,
SDIFileEntry fileEntry,
u32 returnSize 
)
virtual

Implements JKRArchive.

◆ fetchResource_subroutine() [1/2]

u32 JKRDvdArchive::fetchResource_subroutine ( s32  entryNum,
u32  offset,
u32  size,
JKRHeap heap,
JKRCompression  fileCompression,
JKRCompression  archiveCompression,
u8 **  returnResource 
)
static

◆ fetchResource_subroutine() [2/2]

u32 JKRDvdArchive::fetchResource_subroutine ( s32  entryNum,
u32  offset,
u32  size,
u8 dst,
u32  dstLength,
JKRCompression  fileCompression,
JKRCompression  archiveCompression 
)
static

◆ getExpandedResSize()

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

Reimplemented from JKRArchive.

◆ open()

bool JKRDvdArchive::open ( s32  entryNum)

Member Data Documentation

◆ mDataOffset

s32 JKRDvdArchive::mDataOffset
private

◆ mDvdFile

JKRDvdFile* JKRDvdArchive::mDvdFile
private

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