C# Class NScumm.Scumm.IO.ResourceFile3_16

Inheritance: ResourceFile
Mostrar archivo 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_16 ( GameInfo game, Stream stream ) : System.Collections.Generic

Protected Methods

Method Description
ReadBox ( int &size ) : Box
ReadCLUT ( ) : Color[]
ReadRMHD ( ) : RoomHeader

Private Methods

Method Description
GetBlockSize ( long offset ) : int
ReadBoxes ( long offset, int size, Room room ) : void
ReadBytes ( long offset, int length ) : byte[]
ReadLocalScripts ( long offset, int size, Room room ) : void
ReadName ( ObjectData obj ) : void
ReadObject ( long offset ) : ObjectData
ReadObjectScriptOffsets ( ObjectData obj ) : void

Method Details

ReadAmigaSound() public method

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

ReadBox() protected method

protected ReadBox ( int &size ) : Box
size int
return Box

ReadCLUT() protected method

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

ReadCostume() public method

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

ReadRMHD() protected method

protected ReadRMHD ( ) : RoomHeader
return RoomHeader

ReadRoom() public method

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

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

ResourceFile3_16() public method

public ResourceFile3_16 ( GameInfo game, Stream stream ) : System.Collections.Generic
game GameInfo
stream Stream
return System.Collections.Generic