Public Member Functions | |
ResSourceType | getSourceType () const |
const Common::Path & | getLocationName () const |
Common::SeekableReadStream * | getVolumeFile (ResourceManager *resMan, Resource *res) |
virtual ResourceSource * | findVolume (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 |
|
inlinevirtual |
TODO: Document this
Reimplemented in Sci::VolumeResourceSource.
|
inlinevirtual |
Scan this source for TODO.
Reimplemented in Sci::MacResourceForkResourceSource, Sci::ExtAudioMapResourceSource, Sci::IntMapResourceSource, Sci::ExtMapResourceSource, Sci::ResourcePatcher, and Sci::DirectoryResourceSource.
|
virtual |
Load a resource.
Reimplemented in Sci::MacResourceForkResourceSource, Sci::WaveResourceSource, Sci::AudioVolumeResourceSource, Sci::ResourcePatcher, and Sci::PatchResourceSource.