C# Class NScumm.Scumm.Graphics.NutRenderer

Mostrar archivo Open project: scemino/nscumm Class Usage Examples

Protected Properties

Property Type Description
_bpp byte
_charBuffer byte[]
_chars NutChar[]
_decodedData byte[]
_maxCharSize int
_numChars int
_palette byte[]
_paletteMap byte[]
_vm ScummEngine

Public Methods

Method Description
Codec1 ( byte dst, int dstPos, byte src, int srcfOffset, int width, int height, int pitch ) : void
Codec21 ( byte dst, int dstPos, byte src, int srcPos, int width, int height, int pitch ) : void
Draw2byte ( Surface s, int c, int x, int y, byte color ) : void
DrawChar ( PixelNavigator dst, char c, int x, int y, byte color ) : void
DrawFrame ( byte dst, int c, int x, int y ) : void
GetCharHeight ( char c ) : int
GetCharWidth ( char c ) : int
LoadFont ( string filename ) : void
NutRenderer ( ScummEngine vm, string filename ) : System

Protected Methods

Method Description
UnpackChar ( char c ) : byte[]

Method Details

Codec1() public method

public Codec1 ( byte dst, int dstPos, byte src, int srcfOffset, int width, int height, int pitch ) : void
dst byte
dstPos int
src byte
srcfOffset int
width int
height int
pitch int
return void

Codec21() public method

public Codec21 ( byte dst, int dstPos, byte src, int srcPos, int width, int height, int pitch ) : void
dst byte
dstPos int
src byte
srcPos int
width int
height int
pitch int
return void

Draw2byte() public method

public Draw2byte ( Surface s, int c, int x, int y, byte color ) : void
s NScumm.Core.Graphics.Surface
c int
x int
y int
color byte
return void

DrawChar() public method

public DrawChar ( PixelNavigator dst, char c, int x, int y, byte color ) : void
dst PixelNavigator
c char
x int
y int
color byte
return void

DrawFrame() public method

public DrawFrame ( byte dst, int c, int x, int y ) : void
dst byte
c int
x int
y int
return void

GetCharHeight() public method

public GetCharHeight ( char c ) : int
c char
return int

GetCharWidth() public method

public GetCharWidth ( char c ) : int
c char
return int

LoadFont() public method

public LoadFont ( string filename ) : void
filename string
return void

NutRenderer() public method

public NutRenderer ( ScummEngine vm, string filename ) : System
vm ScummEngine
filename string
return System

UnpackChar() protected method

protected UnpackChar ( char c ) : byte[]
c char
return byte[]

Property Details

_bpp protected_oe property

protected byte _bpp
return byte

_charBuffer protected_oe property

protected byte[] _charBuffer
return byte[]

_chars protected_oe property

protected NutChar[] _chars
return NutChar[]

_decodedData protected_oe property

protected byte[] _decodedData
return byte[]

_maxCharSize protected_oe property

protected int _maxCharSize
return int

_numChars protected_oe property

protected int _numChars
return int

_palette protected_oe property

protected byte[] _palette
return byte[]

_paletteMap protected_oe property

protected byte[] _paletteMap
return byte[]

_vm protected_oe property

protected ScummEngine _vm
return ScummEngine