C# Class NScumm.Scumm.Graphics.ClassicCostumeRenderer

Inheritance: ICostumeRenderer
Show file Open project: scemino/nscumm

Public Methods

Method Description
ClassicCostumeRenderer ( ScummEngine vm ) : System
DrawCostume ( VirtScreen vs, int numStrips, Actor actor, bool drawToBackBuf ) : int
SetCostume ( int costume, int shadow ) : void
SetFacing ( Actor actor ) : void
SetPalette ( ushort palette ) : void

Private Methods

Method Description
Codec1IgnorePakCols ( Codec1 v1, int num ) : void
DrawLimb ( Actor a, int limb ) : int
Init ( byte &color ) : byte
Line ( int c, int p, Codec1 v1, PixelNavigator mask, PixelNavigator dst, byte color, byte palette ) : void
MainRoutine ( int xmoveCur, int ymoveCur ) : int
MaskAt ( int xoff, Codec1 v1, PixelNavigator mask ) : bool
Proc3 ( Codec1 v1 ) : void
Proc3Amiga ( Codec1 v1 ) : void
ProcC64 ( Codec1 v1, int actor ) : void

Method Details

ClassicCostumeRenderer() public method

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

DrawCostume() public method

public DrawCostume ( VirtScreen vs, int numStrips, Actor actor, bool drawToBackBuf ) : int
vs VirtScreen
numStrips int
actor Actor
drawToBackBuf bool
return int

SetCostume() public method

public SetCostume ( int costume, int shadow ) : void
costume int
shadow int
return void

SetFacing() public method

public SetFacing ( Actor actor ) : void
actor Actor
return void

SetPalette() public method

public SetPalette ( ushort palette ) : void
palette ushort
return void