ScummVM API documentation
Common::DiskImage Class Reference

Classes

class  DataBlock
 

Public Member Functions

bool open (const Common::Path &filename)
 
bool open (const Common::FSNode &node)
 
const DataBlockPtr getDataBlock (uint track, uint sector, uint offset=0, uint size=0) const
 
Common::SeekableReadStreamcreateReadStream (uint track, uint sector, uint offset=0, uint size=0, uint sectorsUsed=0) const
 
Common::SeekableReadStreamreleaseStream ()
 
Common::SeekableReadStreamgetDiskStream () const
 
uint32 read (void *dataPtr, uint32 diskPosition, uint32 dataSize)
 
void setLazyDecoding (bool lazyDecoding)
 
void setSectorLimit (uint sectorLimit)
 
uint getBytesPerSector () const
 
uint getSectorsPerTrack () const
 
uint getTracks () const
 

Protected Attributes

Common::String _name
 
Common::SeekableReadStream_inputStream
 
Common::SeekableReadStream_decodeStream
 
byte * _decodeBuffer
 
Common::BitArray _decodedTracks
 
DiskImageEncoding _encoding
 
bool _lazyDecoding
 
uint _tracks
 
uint _sectorsPerTrack
 
uint _bytesPerSector
 
uint _firstSector
 
uint _sectorLimit
 

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