A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
System::MultiDvdArchive Class Reference

Description

Definition at line 9 of file MultiDvdArchive.hh.

Public Types

enum class  Format {
  Double ,
  Single ,
  None
}
 

Public Member Functions

 MultiDvdArchive (u16 archiveCount=1)
 
void * getFile (const char *filename, size_t *size) const
 
void load (const char *filename)
 
void load (const MultiDvdArchive *other)
 
void rip (const char *filename)
 
void clear ()
 
void unmount ()
 
bool isLoaded () const
 
u16 rippedArchiveCount () const
 

Private Attributes

DvdArchivem_archives
 
void ** m_fileStarts
 
size_t * m_fileSizes
 
char ** m_suffixes
 
Format * m_formats
 
u16 m_archiveCount
 

Member Enumeration Documentation

◆ Format

enum class System::MultiDvdArchive::Format
strong

Definition at line 11 of file MultiDvdArchive.hh.

Constructor & Destructor Documentation

◆ MultiDvdArchive()

System::MultiDvdArchive::MultiDvdArchive ( u16 archiveCount = 1)
0x8052A538

Definition at line 10 of file MultiDvdArchive.cc.

◆ ~MultiDvdArchive()

System::MultiDvdArchive::~MultiDvdArchive ( )
0x8052A6DC

Definition at line 27 of file MultiDvdArchive.cc.

Member Function Documentation

◆ clear()

void System::MultiDvdArchive::clear ( )
0x8052AC40

Definition at line 112 of file MultiDvdArchive.cc.

◆ getFile()

void * System::MultiDvdArchive::getFile ( const char * filename,
size_t * size ) const
0x8052A760

Definition at line 38 of file MultiDvdArchive.cc.

◆ isLoaded()

bool System::MultiDvdArchive::isLoaded ( ) const
nodiscard0x8052A800

Definition at line 126 of file MultiDvdArchive.cc.

◆ load() [1/2]

void System::MultiDvdArchive::load ( const char * filename)
0x8052A954

Definition at line 58 of file MultiDvdArchive.cc.

◆ load() [2/2]

void System::MultiDvdArchive::load ( const MultiDvdArchive * other)
0x8052AAE8

Definition at line 84 of file MultiDvdArchive.cc.

◆ rip()

void System::MultiDvdArchive::rip ( const char * filename)
0x8052AB6C

Definition at line 91 of file MultiDvdArchive.cc.

◆ rippedArchiveCount()

u16 System::MultiDvdArchive::rippedArchiveCount ( ) const
nodiscard0x8052AE08

Definition at line 137 of file MultiDvdArchive.cc.

◆ unmount()

void System::MultiDvdArchive::unmount ( )
0x8052AA88

Definition at line 119 of file MultiDvdArchive.cc.

Member Data Documentation

◆ m_archiveCount

u16 System::MultiDvdArchive::m_archiveCount
private

Definition at line 37 of file MultiDvdArchive.hh.

◆ m_archives

DvdArchive* System::MultiDvdArchive::m_archives
private

Definition at line 32 of file MultiDvdArchive.hh.

◆ m_fileSizes

size_t* System::MultiDvdArchive::m_fileSizes
private

Definition at line 34 of file MultiDvdArchive.hh.

◆ m_fileStarts

void** System::MultiDvdArchive::m_fileStarts
private

Definition at line 33 of file MultiDvdArchive.hh.

◆ m_formats

Format* System::MultiDvdArchive::m_formats
private

Definition at line 36 of file MultiDvdArchive.hh.

◆ m_suffixes

char** System::MultiDvdArchive::m_suffixes
private

Definition at line 35 of file MultiDvdArchive.hh.