C# 클래스 NScumm.Scumm.Graphics.Gdi

파일 보기 프로젝트 열기: scemino/nscumm 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
NumStrips int
NumZBuffer int

보호된 프로퍼티들

프로퍼티 타입 설명
_objectMode bool
_vm ScummEngine

공개 메소드들

메소드 설명
Blit ( PixelNavigator dst, PixelNavigator src, int width, int height ) : void
ClearGfxUsageBit ( int strip, int bit ) : void
ClearGfxUsageBits ( ) : void
ClearMaskBuffer ( int i ) : void
Create ( ScummEngine vm, GameInfo game ) : Gdi
DrawBitmap ( ImageData img, VirtScreen vs, System.Point p, int width, int height, int stripnr, int numstrip, int roomWidth, DrawBitmaps flags, bool isLightOn ) : void
DrawBitmap ( ImageData img, VirtScreen vs, int x, int y, int width, int height, int stripnr, int numstrip, int roomWidth, DrawBitmaps flags ) : void
DrawStripBasicH ( PixelNavigator navDst, BinaryReader src, int height, bool transpCheck ) : void
DrawStripBasicV ( PixelNavigator navDst, BinaryReader src, int height, bool transpCheck ) : void
DrawStripComplex ( PixelNavigator navDst, BinaryReader src, int height, bool transpCheck ) : void
DrawStripEGA ( PixelNavigator navDst, BinaryReader src, int height ) : void
DrawStripRaw ( PixelNavigator navDst, BinaryReader src, int height, bool transpCheck ) : void
Fill ( PixelNavigator dst, byte color, int width, int height ) : void
Fill ( PixelNavigator dst, ushort color, int width, int height ) : void
Fill ( Surface surface, Rect r, int color ) : void
Fill ( byte dst, int dstPitch, byte color, int w, int h ) : void
Gdi ( ScummEngine vm, GameInfo game ) : System
GetMaskBuffer ( int x, int y, int i ) : PixelNavigator
Init ( ) : void
ResetBackground ( int top, int bottom, int strip ) : void
RoomChanged ( Room room ) : void
SaveOrLoad ( Serializer serializer ) : void
SetGfxUsageBit ( int strip, int bit ) : void
SetMaskHeight ( int height ) : void
TestGfxAnyUsageBits ( int strip ) : bool
TestGfxOtherUsageBits ( int strip, int bit ) : bool
TestGfxUsageBit ( int strip, int bit ) : bool
UnkDecode10 ( PixelNavigator navDst, BinaryReader src, int height ) : void
UnkDecode11 ( PixelNavigator navDst, BinaryReader src, int height ) : void
UnkDecode8 ( PixelNavigator navDst, BinaryReader src, int height ) : void
UnkDecode9 ( PixelNavigator navDst, BinaryReader src, int height ) : void
WriteRoomColor ( PixelNavigator navDst, int color ) : void

보호된 메소드들

메소드 설명
DecodeMask ( int x, int y, int width, int height, int stripnr, IList zPlanes, bool transpStrip, DrawBitmaps flags ) : void
DrawStrip ( PixelNavigator navDst, int width, int height, int stripnr, BinaryReader smapReader ) : bool
PrepareDrawBitmap ( ImageData img, VirtScreen vs, System.Point p, int width, int height, int stripnr, int numstrip ) : void

비공개 메소드들

메소드 설명
Clear8Col ( PixelNavigator nav, int height ) : void
Copy8Col ( PixelNavigator navDst, PixelNavigator navSource, int height ) : void
DecompressBitmap ( PixelNavigator navDst, BinaryReader src, int numLinesToProcess ) : bool
DecompressMaskImg ( PixelNavigator dst, Stream src, int height ) : void
DecompressMaskImgOr ( PixelNavigator dst, Stream src, int height ) : void
FillBits ( byte &cl, uint &bits, BinaryReader src ) : void
NextRow ( PixelNavigator &navDst, int &x, int &y, int height ) : bool
ReadBit ( byte &cl, uint &bits ) : bool
ReadBit256 ( BinaryReader src, int &mask, int &buffer ) : bool
ReadNBits ( BinaryReader src, int n, int &mask, int &buffer ) : int

메소드 상세

Blit() 공개 정적인 메소드

public static Blit ( PixelNavigator dst, PixelNavigator src, int width, int height ) : void
dst PixelNavigator
src PixelNavigator
width int
height int
리턴 void

ClearGfxUsageBit() 공개 메소드

public ClearGfxUsageBit ( int strip, int bit ) : void
strip int
bit int
리턴 void

ClearGfxUsageBits() 공개 메소드

public ClearGfxUsageBits ( ) : void
리턴 void

ClearMaskBuffer() 공개 메소드

public ClearMaskBuffer ( int i ) : void
i int
리턴 void

Create() 공개 정적인 메소드

public static Create ( ScummEngine vm, GameInfo game ) : Gdi
vm ScummEngine
game NScumm.Scumm.IO.GameInfo
리턴 Gdi

DecodeMask() 보호된 메소드

protected DecodeMask ( int x, int y, int width, int height, int stripnr, IList zPlanes, bool transpStrip, DrawBitmaps flags ) : void
x int
y int
width int
height int
stripnr int
zPlanes IList
transpStrip bool
flags DrawBitmaps
리턴 void

DrawBitmap() 공개 메소드

public DrawBitmap ( ImageData img, VirtScreen vs, System.Point p, int width, int height, int stripnr, int numstrip, int roomWidth, DrawBitmaps flags, bool isLightOn ) : void
img ImageData
vs VirtScreen
p System.Point
width int
height int
stripnr int
numstrip int
roomWidth int
flags DrawBitmaps
isLightOn bool
리턴 void

DrawBitmap() 공개 메소드

public DrawBitmap ( ImageData img, VirtScreen vs, int x, int y, int width, int height, int stripnr, int numstrip, int roomWidth, DrawBitmaps flags ) : void
img ImageData
vs VirtScreen
x int
y int
width int
height int
stripnr int
numstrip int
roomWidth int
flags DrawBitmaps
리턴 void

DrawStrip() 보호된 메소드

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
리턴 bool

DrawStripBasicH() 공개 메소드

public DrawStripBasicH ( PixelNavigator navDst, BinaryReader src, int height, bool transpCheck ) : void
navDst PixelNavigator
src System.IO.BinaryReader
height int
transpCheck bool
리턴 void

DrawStripBasicV() 공개 메소드

public DrawStripBasicV ( PixelNavigator navDst, BinaryReader src, int height, bool transpCheck ) : void
navDst PixelNavigator
src System.IO.BinaryReader
height int
transpCheck bool
리턴 void

DrawStripComplex() 공개 메소드

public DrawStripComplex ( PixelNavigator navDst, BinaryReader src, int height, bool transpCheck ) : void
navDst PixelNavigator
src System.IO.BinaryReader
height int
transpCheck bool
리턴 void

DrawStripEGA() 공개 메소드

public DrawStripEGA ( PixelNavigator navDst, BinaryReader src, int height ) : void
navDst PixelNavigator
src System.IO.BinaryReader
height int
리턴 void

DrawStripRaw() 공개 메소드

public DrawStripRaw ( PixelNavigator navDst, BinaryReader src, int height, bool transpCheck ) : void
navDst PixelNavigator
src System.IO.BinaryReader
height int
transpCheck bool
리턴 void

Fill() 공개 정적인 메소드

public static Fill ( PixelNavigator dst, byte color, int width, int height ) : void
dst PixelNavigator
color byte
width int
height int
리턴 void

Fill() 공개 정적인 메소드

public static Fill ( PixelNavigator dst, ushort color, int width, int height ) : void
dst PixelNavigator
color ushort
width int
height int
리턴 void

Fill() 공개 정적인 메소드

public static Fill ( Surface surface, Rect r, int color ) : void
surface NScumm.Core.Graphics.Surface
r NScumm.Core.Graphics.Rect
color int
리턴 void

Fill() 공개 정적인 메소드

public static Fill ( byte dst, int dstPitch, byte color, int w, int h ) : void
dst byte
dstPitch int
color byte
w int
h int
리턴 void

Gdi() 공개 메소드

public Gdi ( ScummEngine vm, GameInfo game ) : System
vm ScummEngine
game NScumm.Scumm.IO.GameInfo
리턴 System

GetMaskBuffer() 공개 메소드

public GetMaskBuffer ( int x, int y, int i ) : PixelNavigator
x int
y int
i int
리턴 PixelNavigator

Init() 공개 메소드

public Init ( ) : void
리턴 void

PrepareDrawBitmap() 보호된 메소드

protected PrepareDrawBitmap ( ImageData img, VirtScreen vs, System.Point p, int width, int height, int stripnr, int numstrip ) : void
img ImageData
vs VirtScreen
p System.Point
width int
height int
stripnr int
numstrip int
리턴 void

ResetBackground() 공개 메소드

public ResetBackground ( int top, int bottom, int strip ) : void
top int
bottom int
strip int
리턴 void

RoomChanged() 공개 메소드

public RoomChanged ( Room room ) : void
room Room
리턴 void

SaveOrLoad() 공개 메소드

public SaveOrLoad ( Serializer serializer ) : void
serializer NScumm.Scumm.IO.Serializer
리턴 void

SetGfxUsageBit() 공개 메소드

public SetGfxUsageBit ( int strip, int bit ) : void
strip int
bit int
리턴 void

SetMaskHeight() 공개 메소드

public SetMaskHeight ( int height ) : void
height int
리턴 void

TestGfxAnyUsageBits() 공개 메소드

public TestGfxAnyUsageBits ( int strip ) : bool
strip int
리턴 bool

TestGfxOtherUsageBits() 공개 메소드

public TestGfxOtherUsageBits ( int strip, int bit ) : bool
strip int
bit int
리턴 bool

TestGfxUsageBit() 공개 메소드

public TestGfxUsageBit ( int strip, int bit ) : bool
strip int
bit int
리턴 bool

UnkDecode10() 공개 메소드

public UnkDecode10 ( PixelNavigator navDst, BinaryReader src, int height ) : void
navDst PixelNavigator
src System.IO.BinaryReader
height int
리턴 void

UnkDecode11() 공개 메소드

public UnkDecode11 ( PixelNavigator navDst, BinaryReader src, int height ) : void
navDst PixelNavigator
src System.IO.BinaryReader
height int
리턴 void

UnkDecode8() 공개 메소드

public UnkDecode8 ( PixelNavigator navDst, BinaryReader src, int height ) : void
navDst PixelNavigator
src System.IO.BinaryReader
height int
리턴 void

UnkDecode9() 공개 메소드

public UnkDecode9 ( PixelNavigator navDst, BinaryReader src, int height ) : void
navDst PixelNavigator
src System.IO.BinaryReader
height int
리턴 void

WriteRoomColor() 공개 메소드

public WriteRoomColor ( PixelNavigator navDst, int color ) : void
navDst PixelNavigator
color int
리턴 void

프로퍼티 상세

NumStrips 공개적으로 프로퍼티

public int NumStrips
리턴 int

NumZBuffer 공개적으로 프로퍼티

public int NumZBuffer
리턴 int

_objectMode 보호되어 있는 프로퍼티

Flag which is true when an object is being rendered, false otherwise.
protected bool _objectMode
리턴 bool

_vm 보호되어 있는 프로퍼티

protected ScummEngine _vm
리턴 ScummEngine