C# Class NScumm.Scumm.IO.ClassicCostumeLoader

Inheritance: ICostumeLoader
显示文件 Open project: scemino/nscumm Class Usage Examples

Public Properties

Property Type Description
AnimCmds long
BasePtr long
CostumeReader System.IO.BinaryReader
DataOffsets long
Format byte
FrameOffsets long
Id int
Mirror bool
NumAnim byte
NumColors byte
Palette byte[]

Protected Properties

Property Type Description
_vm ScummEngine

Public Methods

Method Description
ClassicCostumeLoader ( ScummEngine vm ) : System
CostumeDecodeData ( Actor a, int frame, uint usemask ) : void
HasManyDirections ( int id ) : bool
IncreaseAnims ( Actor a ) : int
LoadCostume ( int id ) : void

Protected Methods

Method Description
IncreaseAnim ( Actor a, int slot ) : bool

Private Methods

Method Description
ReadAnimCommand ( int j ) : byte

Method Details

ClassicCostumeLoader() public method

public ClassicCostumeLoader ( ScummEngine vm ) : System
vm ScummEngine
return System

CostumeDecodeData() public method

public CostumeDecodeData ( Actor a, int frame, uint usemask ) : void
a Actor
frame int
usemask uint
return void

HasManyDirections() public method

public HasManyDirections ( int id ) : bool
id int
return bool

IncreaseAnim() protected method

protected IncreaseAnim ( Actor a, int slot ) : bool
a Actor
slot int
return bool

IncreaseAnims() public method

public IncreaseAnims ( Actor a ) : int
a Actor
return int

LoadCostume() public method

public LoadCostume ( int id ) : void
id int
return void

Property Details

AnimCmds public_oe property

public long AnimCmds
return long

BasePtr public_oe property

public long BasePtr
return long

CostumeReader public_oe property

public BinaryReader,System.IO CostumeReader
return System.IO.BinaryReader

DataOffsets public_oe property

public long DataOffsets
return long

Format public_oe property

public byte Format
return byte

FrameOffsets public_oe property

public long FrameOffsets
return long

Id public_oe property

public int Id
return int

Mirror public_oe property

public bool Mirror
return bool

NumAnim public_oe property

public byte NumAnim
return byte

NumColors public_oe property

public byte NumColors
return byte

Palette public_oe property

public byte[] Palette
return byte[]

_vm protected_oe property

protected ScummEngine _vm
return ScummEngine