ScummVM API documentation
Sword2::ResourceManager Class Reference

Public Member Functions

 ResourceManager (Sword2Engine *vm)
 
bool init ()
 
uint32 getNumResFiles ()
 
uint32 getNumClusters ()
 
ResourceFilegetResFiles ()
 
ResourcegetResList ()
 
byte * openResource (uint32 res, bool dump=false)
 
void closeResource (uint32 res)
 
bool checkValid (uint32 res)
 
uint32 fetchLen (uint32 res)
 
uint8 fetchType (byte *ptr)
 
uint8 fetchType (uint32 res)
 
byte * fetchName (uint32 res, byte *buf=nullptr)
 
byte * fetchName (byte *ptr)
 
void askForCD (int cd)
 
void setCD (int cd)
 
int getCD ()
 
void remove (int res)
 
void removeAll ()
 
void killAll (bool wantInfo)
 
void killAllObjects (bool wantInfo)
 

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