ScummVM API documentation
Saga::ResourceContext Class Referenceabstract
Inheritance diagram for Saga::ResourceContext:
Saga::ResourceContext_RSC Saga::ResourceContext_RSC_ITE_Amiga

Public Member Functions

bool isCompressed () const
 
uint16 fileType () const
 
int32 fileSize () const
 
int serial () const
 
bool isBigEndian () const
 
const char * fileName () const
 
Common::SeekableReadStreamgetFile (ResourceData *resourceData)
 
bool validResourceId (uint32 resourceId) const
 
ResourceDatagetResourceData (uint32 resourceId)
 
void closeFile ()
 

Protected Member Functions

bool load (SagaEngine *_vm, Resource *resource)
 
bool loadResV1 ()
 
bool loadResIteAmiga (SagaEngine *_vm, int type, bool isFloppy)
 
bool loadResIteAmigaSound (SagaEngine *_vm, int type)
 
virtual bool loadRes (SagaEngine *_vm, int type)=0
 
virtual void processPatches (Resource *resource, const GamePatchDescription *patchFiles)
 

Protected Attributes

const char * _fileName
 
uint16 _fileType
 
bool _isCompressed
 
int _serial
 
bool _isBigEndian
 
ResourceDataArray _table
 
Common::ScopedPtr< Common::SeekableReadStream_file
 
Common::ScopedPtr< Common::MacResManager_macRes
 
int32 _fileSize
 
bool _tombstone
 

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