C# Class NScumm.Scumm.IO.ResourceFile5

Inheritance: ResourceFile4
ファイルを表示 Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
ReadCharset ( long offset ) : byte[]
ReadCostume ( long offset ) : byte[]
ReadRoom ( long offset ) : Room
ReadScript ( long offset ) : byte[]
ReadSound ( MusicDriverTypes music, long offset ) : byte[]
ResourceFile5 ( Stream stream ) : System

Protected Methods

Method Description
CreateChunkIterator ( long size ) : IEnumerator
GotoResourceHeader ( long offset ) : void
Merge ( ObjectData objImg, ObjectData objCode ) : ObjectData
ReadBomp ( long size ) : ImageData
ReadCDHD ( ) : ObjectData
ReadCLUT ( ) : Color[]
ReadCYCL ( ) : ColorCycle[]
ReadImage ( long size, int numStrips ) : ImageData
ReadImageHeader ( ) : ObjectData
ReadImages ( long size ) : IList
ReadObjectCode ( long size ) : ObjectData
ReadObjectImages ( long size ) : ObjectData
ReadObjectName ( ) : byte[]
ReadRoomOffsets ( ) : long>.Dictionary
ReadVerbScript ( ObjectData obj, Chunk chunk ) : byte[]
ReadVerbTable ( ObjectData data, int size ) : void
ReadZPlane ( BinaryReader b, int size, int numStrips ) : ZPlane
ToTag ( byte data ) : string
UnknownChunk ( Chunk chunk ) : void

Method Details

CreateChunkIterator() protected method

protected CreateChunkIterator ( long size ) : IEnumerator
size long
return IEnumerator

GotoResourceHeader() protected method

protected GotoResourceHeader ( long offset ) : void
offset long
return void

Merge() protected method

protected Merge ( ObjectData objImg, ObjectData objCode ) : ObjectData
objImg ObjectData
objCode ObjectData
return ObjectData

ReadBomp() protected method

protected ReadBomp ( long size ) : ImageData
size long
return NScumm.Scumm.Graphics.ImageData

ReadCDHD() protected method

protected ReadCDHD ( ) : ObjectData
return ObjectData

ReadCLUT() protected method

protected ReadCLUT ( ) : Color[]
return Color[]

ReadCYCL() protected method

protected ReadCYCL ( ) : ColorCycle[]
return ColorCycle[]

ReadCharset() public method

public ReadCharset ( long offset ) : byte[]
offset long
return byte[]

ReadCostume() public method

public ReadCostume ( long offset ) : byte[]
offset long
return byte[]

ReadImage() protected method

protected ReadImage ( long size, int numStrips ) : ImageData
size long
numStrips int
return NScumm.Scumm.Graphics.ImageData

ReadImageHeader() protected method

protected ReadImageHeader ( ) : ObjectData
return ObjectData

ReadImages() protected method

protected ReadImages ( long size ) : IList
size long
return IList

ReadObjectCode() protected method

protected ReadObjectCode ( long size ) : ObjectData
size long
return ObjectData

ReadObjectImages() protected method

protected ReadObjectImages ( long size ) : ObjectData
size long
return ObjectData

ReadObjectName() protected method

protected ReadObjectName ( ) : byte[]
return byte[]

ReadRoom() public method

public ReadRoom ( long offset ) : Room
offset long
return Room

ReadRoomOffsets() protected method

protected ReadRoomOffsets ( ) : long>.Dictionary
return long>.Dictionary

ReadScript() public method

public ReadScript ( long offset ) : byte[]
offset long
return byte[]

ReadSound() public method

public ReadSound ( MusicDriverTypes music, long offset ) : byte[]
music MusicDriverTypes
offset long
return byte[]

ReadVerbScript() protected method

protected ReadVerbScript ( ObjectData obj, Chunk chunk ) : byte[]
obj ObjectData
chunk Chunk
return byte[]

ReadVerbTable() protected method

protected ReadVerbTable ( ObjectData data, int size ) : void
data ObjectData
size int
return void

ReadZPlane() protected method

protected ReadZPlane ( BinaryReader b, int size, int numStrips ) : ZPlane
b BinaryReader
size int
numStrips int
return ZPlane

ResourceFile5() public method

public ResourceFile5 ( Stream stream ) : System
stream Stream
return System

ToTag() protected static method

protected static ToTag ( byte data ) : string
data byte
return string

UnknownChunk() protected static method

protected static UnknownChunk ( Chunk chunk ) : void
chunk Chunk
return void