C# Class NScumm.Scumm.Graphics.BompDrawData

Mostrar archivo Open project: scemino/nscumm Class Usage Examples

Public Properties

Property Type Description
ActorPalette ushort[]
Dst PixelNavigator
MaskPtr PixelNavigator?
Mirror bool
NumStrips int
ScaleX int
ShadowMode int
ShadowPalette byte[]
Src byte[]
Width int
X int

Private Properties

Property Type Description
BompApplyShadow1 void
BompApplyShadow3 void
BompDecodeLine void
BompDecodeLineReverse void
SetupBompScale int

Public Methods

Method Description
BompApplyActorPalette ( ushort actorPalette, byte line_buffer, int pos, int size ) : void
BompApplyMask ( byte line_buffer, int linePos, PixelNavigator mask, byte maskbit, int size, byte transparency ) : void
BompApplyShadow ( int shadowMode, byte shadowPalette, byte lineBuffer, int linePos, PixelNavigator dst, int size, byte transparency ) : void
BompApplyShadow0 ( byte lineBuffer, int linePos, PixelNavigator dst, int size ) : void
BompScaleFuncX ( byte lineBuffer, byte scaling, int scalingPos, byte skip, int size ) : void
DecompressBomp ( byte data, int width, int height ) : byte[]
DrawBomp ( ) : void

Private Methods

Method Description
BompApplyShadow1 ( byte shadowPalette, byte lineBuffer, int linePos, PixelNavigator dst, int size, byte transparency ) : void
BompApplyShadow3 ( byte shadowPalette, byte lineBuffer, int linePos, PixelNavigator dst, int size, byte transparency ) : void
BompDecodeLine ( BinaryReader br, byte dst, int dstPos, int len ) : void
BompDecodeLineReverse ( BinaryReader br, byte dst, int dstPos, int len ) : void
SetupBompScale ( byte scaling, int size, int scale ) : int

Method Details

BompApplyActorPalette() public method

public BompApplyActorPalette ( ushort actorPalette, byte line_buffer, int pos, int size ) : void
actorPalette ushort
line_buffer byte
pos int
size int
return void

BompApplyMask() public static method

public static BompApplyMask ( byte line_buffer, int linePos, PixelNavigator mask, byte maskbit, int size, byte transparency ) : void
line_buffer byte
linePos int
mask PixelNavigator
maskbit byte
size int
transparency byte
return void

BompApplyShadow() public static method

public static BompApplyShadow ( int shadowMode, byte shadowPalette, byte lineBuffer, int linePos, PixelNavigator dst, int size, byte transparency ) : void
shadowMode int
shadowPalette byte
lineBuffer byte
linePos int
dst PixelNavigator
size int
transparency byte
return void

BompApplyShadow0() public static method

public static BompApplyShadow0 ( byte lineBuffer, int linePos, PixelNavigator dst, int size ) : void
lineBuffer byte
linePos int
dst PixelNavigator
size int
return void

BompScaleFuncX() public method

public BompScaleFuncX ( byte lineBuffer, byte scaling, int scalingPos, byte skip, int size ) : void
lineBuffer byte
scaling byte
scalingPos int
skip byte
size int
return void

DecompressBomp() public static method

public static DecompressBomp ( byte data, int width, int height ) : byte[]
data byte
width int
height int
return byte[]

DrawBomp() public method

public DrawBomp ( ) : void
return void

Property Details

ActorPalette public_oe property

public ushort[] ActorPalette
return ushort[]

Dst public_oe property

public PixelNavigator,NScumm.Scumm.Graphics Dst
return PixelNavigator

MaskPtr public_oe property

public PixelNavigator? MaskPtr
return PixelNavigator?

Mirror public_oe property

public bool Mirror
return bool

NumStrips public_oe property

public int NumStrips
return int

ScaleX public_oe property

public int ScaleX
return int

ShadowMode public_oe property

public int ShadowMode
return int

ShadowPalette public_oe property

public byte[] ShadowPalette
return byte[]

Src public_oe property

public byte[] Src
return byte[]

Width public_oe property

public int Width
return int

X public_oe property

public int X
return int