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

Description

Definition at line 7 of file DvdArchive.hh.

Public Types

enum class  State {
  Cleared = 0 ,
  Ripped = 1 ,
  Decompressed = 2 ,
  Mounted = 3
}
 

Public Member Functions

void decompress ()
 
void * getFile (const char *filename, size_t *size) const
 
void load (const char *path, bool decompress_)
 
void load (const DvdArchive *other)
 
void load (void *fileStart, size_t fileSize, bool decompress_)
 
void mount ()
 
void move ()
 
void rip (const char *path)
 
void clear ()
 
void clearArchive ()
 
void clearFile ()
 
void unmount ()
 
bool isLoaded () const
 
bool isRipped () const
 

Private Attributes

EGG::Archivem_archive
 
void * m_archiveStart
 
size_t m_archiveSize
 
void * m_fileStart
 
size_t m_fileSize
 
State m_state
 

Member Enumeration Documentation

◆ State

enum class System::DvdArchive::State
strong

Definition at line 9 of file DvdArchive.hh.

Constructor & Destructor Documentation

◆ DvdArchive()

System::DvdArchive::DvdArchive ( )
0x80518CC0

Definition at line 10 of file DvdArchive.cc.

◆ ~DvdArchive()

System::DvdArchive::~DvdArchive ( )
0x80518CF4

Definition at line 15 of file DvdArchive.cc.

Member Function Documentation

◆ clear()

void System::DvdArchive::clear ( )
0x80519240

Definition at line 123 of file DvdArchive.cc.

◆ clearArchive()

void System::DvdArchive::clearArchive ( )
0x80519370

Definition at line 129 of file DvdArchive.cc.

◆ clearFile()

void System::DvdArchive::clearFile ( )
0x805193C8

Definition at line 140 of file DvdArchive.cc.

◆ decompress()

void System::DvdArchive::decompress ( )
0x80519508

Definition at line 20 of file DvdArchive.cc.

◆ getFile()

void * System::DvdArchive::getFile ( const char * filename,
size_t * size ) const
0x80519420

Definition at line 29 of file DvdArchive.cc.

◆ isLoaded()

bool System::DvdArchive::isLoaded ( ) const
inlinenodiscard

Definition at line 33 of file DvdArchive.hh.

◆ isRipped()

bool System::DvdArchive::isRipped ( ) const
inlinenodiscard

Definition at line 37 of file DvdArchive.hh.

◆ load() [1/3]

void System::DvdArchive::load ( const char * path,
bool decompress_ )
0x80518E10

Definition at line 57 of file DvdArchive.cc.

◆ load() [2/3]

void System::DvdArchive::load ( const DvdArchive * other)
0x805195D8

Definition at line 74 of file DvdArchive.cc.

◆ load() [3/3]

void System::DvdArchive::load ( void * fileStart,
size_t fileSize,
bool decompress_ )
0x80518FBC

Definition at line 88 of file DvdArchive.cc.

◆ mount()

void System::DvdArchive::mount ( )
0x80518DCC

Definition at line 100 of file DvdArchive.cc.

◆ move()

void System::DvdArchive::move ( )
0x805195A4

Definition at line 106 of file DvdArchive.cc.

◆ rip()

void System::DvdArchive::rip ( const char * path)
0x805190F0

Definition at line 115 of file DvdArchive.cc.

◆ unmount()

void System::DvdArchive::unmount ( )
0x805192CC

Definition at line 151 of file DvdArchive.cc.

Member Data Documentation

◆ m_archive

EGG::Archive* System::DvdArchive::m_archive
private

Definition at line 42 of file DvdArchive.hh.

◆ m_archiveSize

size_t System::DvdArchive::m_archiveSize
private

Definition at line 44 of file DvdArchive.hh.

◆ m_archiveStart

void* System::DvdArchive::m_archiveStart
private

Definition at line 43 of file DvdArchive.hh.

◆ m_fileSize

size_t System::DvdArchive::m_fileSize
private

Definition at line 46 of file DvdArchive.hh.

◆ m_fileStart

void* System::DvdArchive::m_fileStart
private

Definition at line 45 of file DvdArchive.hh.

◆ m_state

State System::DvdArchive::m_state
private

Definition at line 47 of file DvdArchive.hh.