ScummVM API documentation
Sci::ResourceSource Class Reference
Inheritance diagram for Sci::ResourceSource:
Sci::DirectoryResourceSource Sci::ExtAudioMapResourceSource Sci::ExtMapResourceSource Sci::IntMapResourceSource Sci::MacResourceForkResourceSource Sci::PatchResourceSource Sci::ResourcePatcher Sci::VolumeResourceSource Sci::WaveResourceSource

Public Member Functions

ResSourceType getSourceType () const
 
const Common::PathgetLocationName () const
 
Common::SeekableReadStreamgetVolumeFile (ResourceManager *resMan, Resource *res)
 
virtual ResourceSourcefindVolume (ResourceSource *map, int volNum)
 
virtual void scanSource (ResourceManager *resMan)
 
virtual void loadResource (ResourceManager *resMan, Resource *res)
 
virtual uint32 getAudioCompressionType () const
 

Public Attributes

bool _scanned
 
const Common::FSNode *const _resourceFile
 
const int _volumeNumber
 

Protected Member Functions

 ResourceSource (ResSourceType type, const Common::Path &name, int volNum=0, const Common::FSNode *resFile=0)
 

Protected Attributes

const ResSourceType _sourceType
 
const Common::Path _name
 

Member Function Documentation

◆ findVolume()

virtual ResourceSource* Sci::ResourceSource::findVolume ( ResourceSource map,
int  volNum 
)
inlinevirtual

TODO: Document this

Reimplemented in Sci::VolumeResourceSource.

◆ scanSource()

virtual void Sci::ResourceSource::scanSource ( ResourceManager resMan)
inlinevirtual

◆ loadResource()

virtual void Sci::ResourceSource::loadResource ( ResourceManager resMan,
Resource res 
)
virtual

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