C# Class NScumm.Scumm.Graphics.Gdi2

Inheritance: Gdi
Show file Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
Gdi2 ( ScummEngine vm, GameInfo game ) : System.Diagnostics
RoomChanged ( Room room ) : void

Protected Methods

Method Description
DecodeMask ( int x, int y, int width, int height, int stripnr, System zPlanes, bool transpStrip, DrawBitmaps flags ) : void
DrawStrip ( PixelNavigator navDst, int width, int height, int stripnr, BinaryReader smapReader ) : bool
PrepareDrawBitmap ( ImageData img, VirtScreen vs, Point p, int width, int height, int stripnr, int numstrip ) : void

Private Methods

Method Description
GenerateStripTable ( byte src, int width, int height ) : StripTable

Create and fill a table with offsets to the graphic and mask strips in the given V2 EGA bitmap.

Method Details

DecodeMask() protected method

protected DecodeMask ( int x, int y, int width, int height, int stripnr, System zPlanes, bool transpStrip, DrawBitmaps flags ) : void
x int
y int
width int
height int
stripnr int
zPlanes System
transpStrip bool
flags DrawBitmaps
return void

DrawStrip() protected method

protected DrawStrip ( PixelNavigator navDst, int width, int height, int stripnr, BinaryReader smapReader ) : bool
navDst PixelNavigator
width int
height int
stripnr int
smapReader System.IO.BinaryReader
return bool

Gdi2() public method

public Gdi2 ( ScummEngine vm, GameInfo game ) : System.Diagnostics
vm ScummEngine
game NScumm.Scumm.IO.GameInfo
return System.Diagnostics

PrepareDrawBitmap() protected method

protected PrepareDrawBitmap ( ImageData img, VirtScreen vs, Point p, int width, int height, int stripnr, int numstrip ) : void
img ImageData
vs VirtScreen
p Point
width int
height int
stripnr int
numstrip int
return void

RoomChanged() public method

public RoomChanged ( Room room ) : void
room Room
return void