ScummVM API documentation
Sci::MacResourceForkResourceSource Class Reference

#include <resource_intern.h>

Inheritance diagram for Sci::MacResourceForkResourceSource:
Sci::ResourceSource

Public Member Functions

 MacResourceForkResourceSource (const Common::Path &name, int volNum)
 
void scanSource (ResourceManager *resMan) override
 
void loadResource (ResourceManager *resMan, Resource *res) override
 
- Public Member Functions inherited from Sci::ResourceSource
ResSourceType getSourceType () const
 
const Common::PathgetLocationName () const
 
Common::SeekableReadStreamgetVolumeFile (ResourceManager *resMan, Resource *res)
 
virtual ResourceSourcefindVolume (ResourceSource *map, int volNum)
 
virtual uint32 getAudioCompressionType () const
 

Protected Member Functions

bool isCompressableResource (ResourceType type) const
 
void decompressResource (Common::SeekableReadStream *stream, Resource *resource) const
 
- Protected Member Functions inherited from Sci::ResourceSource
 ResourceSource (ResSourceType type, const Common::Path &name, int volNum=0, const Common::FSNode *resFile=0)
 

Protected Attributes

Common::MacResManager_macResMan
 
- Protected Attributes inherited from Sci::ResourceSource
const ResSourceType _sourceType
 
const Common::Path _name
 

Additional Inherited Members

- Public Attributes inherited from Sci::ResourceSource
bool _scanned
 
const Common::FSNode *const _resourceFile
 
const int _volumeNumber
 

Detailed Description

Reads SCI1.1+ resources from a Mac resource fork.

Member Function Documentation

◆ scanSource()

void Sci::MacResourceForkResourceSource::scanSource ( ResourceManager resMan)
overridevirtual

Scan this source for TODO.

Reimplemented from Sci::ResourceSource.

◆ loadResource()

void Sci::MacResourceForkResourceSource::loadResource ( ResourceManager resMan,
Resource res 
)
overridevirtual

Load a resource.

Reimplemented from Sci::ResourceSource.


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