C# Class NScumm.Scumm.Graphics.AkosRenderer

Inheritance: ICostumeRenderer
Show file Open project: scemino/nscumm

Public Methods

Method Description
AKOS16_EAT_BITS ( byte n ) : void
AKOS16_FILL_BITS ( ) : void
Akos16DecodeLine ( byte buf, int bufPos, int numbytes, int dir ) : void
Akos16Decompress ( PixelNavigator dest, int srcPos, int t_width, int t_height, int dir, int numskip_before, int numskip_after, byte transparency, int maskLeft, int maskTop, int zBuf ) : void
Akos16SetupBitReader ( int srcPos ) : void
Akos16SkipData ( int numbytes ) : void
AkosRenderer ( ScummEngine vm ) : System
Codec1GenericDecode ( Codec1 v1 ) : void
Codec1IgnorePakCols ( Codec1 v1, int num ) : void
DrawCostume ( VirtScreen vs, int numStrips, Actor actor, bool drawToBackBuf ) : int
MarkRectAsDirty ( Rect rect ) : void
SetCostume ( int costume, int shadow ) : void
SetFacing ( Actor a ) : void
SetPalette ( ushort new_palette ) : void

Private Methods

Method Description
Codec1 ( int xmoveCur, int ymoveCur ) : byte
Codec16 ( int xmoveCur, int ymoveCur ) : byte
Codec32 ( int xmoveCur, int ymoveCur ) : byte
Codec5 ( int xmoveCur, int ymoveCur ) : byte
DrawLimb ( Actor a, int limb ) : byte

Method Details

AKOS16_EAT_BITS() public method

public AKOS16_EAT_BITS ( byte n ) : void
n byte
return void

AKOS16_FILL_BITS() public method

public AKOS16_FILL_BITS ( ) : void
return void

Akos16DecodeLine() public method

public Akos16DecodeLine ( byte buf, int bufPos, int numbytes, int dir ) : void
buf byte
bufPos int
numbytes int
dir int
return void

Akos16Decompress() public method

public Akos16Decompress ( PixelNavigator dest, int srcPos, int t_width, int t_height, int dir, int numskip_before, int numskip_after, byte transparency, int maskLeft, int maskTop, int zBuf ) : void
dest PixelNavigator
srcPos int
t_width int
t_height int
dir int
numskip_before int
numskip_after int
transparency byte
maskLeft int
maskTop int
zBuf int
return void

Akos16SetupBitReader() public method

public Akos16SetupBitReader ( int srcPos ) : void
srcPos int
return void

Akos16SkipData() public method

public Akos16SkipData ( int numbytes ) : void
numbytes int
return void

AkosRenderer() public method

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

Codec1GenericDecode() public method

public Codec1GenericDecode ( Codec1 v1 ) : void
v1 Codec1
return void

Codec1IgnorePakCols() public method

public Codec1IgnorePakCols ( Codec1 v1, int num ) : void
v1 Codec1
num int
return void

DrawCostume() public method

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

MarkRectAsDirty() public method

public MarkRectAsDirty ( Rect rect ) : void
rect NScumm.Core.Graphics.Rect
return void

SetCostume() public method

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

SetFacing() public method

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

SetPalette() public method

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