C# Class NScumm.Scumm.IO.ResourceFile3

Inheritance: ResourceFile
Exibir arquivo Open project: scemino/nscumm

Public Methods

Method Description
ReadAmigaSound ( long offset ) : byte[]
ReadCostume ( long offset ) : byte[]
ReadRoom ( long offset ) : Room
ReadScript ( long offset ) : byte[]
ReadSound ( MusicDriverTypes music, long offset ) : byte[]
ResourceFile3 ( Stream stream ) : System.Collections.Generic
SetObjectImage ( int numZBuffer, byte[]>.IDictionary stripsDic, ObjectData obj ) : void

Protected Methods

Method Description
GotoResourceHeader ( long offset ) : void
ReadBlockSound ( ) : bool
ReadBox ( ) : Box
ReadCLUT ( ) : Color[]
ReadCYCL ( ) : ColorCycle[]
ReadEPAL ( ) : byte[]
ReadRMHD ( ) : RoomHeader
ReadSCAL ( ) : ScaleSlot[]
ReadVerbTable ( ObjectData data, int size ) : void
ReadZPlane ( BinaryReader b, int size, int numStrips ) : ZPlane

Private Methods

Method Description
ReadChunk ( BinaryReader reader ) : Chunk
ReadImage ( Stream stream, int numStrips ) : ImageData
ReadObjectName ( IEnumerator it, byte nameOffset ) : byte[]
ReadRoomCore ( long offset, long chunkSize ) : Room

Method Details

GotoResourceHeader() protected method

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

ReadAmigaSound() public method

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

ReadBlockSound() protected method

protected ReadBlockSound ( ) : bool
return bool

ReadBox() protected method

protected ReadBox ( ) : Box
return Box

ReadCLUT() protected method

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

ReadCYCL() protected method

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

ReadCostume() public method

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

ReadEPAL() protected method

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

ReadRMHD() protected method

protected ReadRMHD ( ) : RoomHeader
return RoomHeader

ReadRoom() public method

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

ReadSCAL() protected method

protected ReadSCAL ( ) : ScaleSlot[]
return ScaleSlot[]

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[]

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 System.IO.BinaryReader
size int
numStrips int
return NScumm.Scumm.Graphics.ZPlane

ResourceFile3() public method

public ResourceFile3 ( Stream stream ) : System.Collections.Generic
stream Stream
return System.Collections.Generic

SetObjectImage() public method

public SetObjectImage ( int numZBuffer, byte[]>.IDictionary stripsDic, ObjectData obj ) : void
numZBuffer int
stripsDic byte[]>.IDictionary
obj ObjectData
return void