C# Class NScumm.Sky.Text

显示文件 Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
ChangeTextSpriteColor ( byte sprData, byte newCol ) : void
DisplayText ( string text, byte dest, bool center, ushort pixelWidth, byte color ) : DisplayedText
DisplayText ( ushort textNum, byte dest, bool center, ushort pixelWidth, byte color ) : DisplayedText
FnPointerText ( uint pointedId, ushort mouseX, ushort mouseY ) : void
FnSetFont ( uint fontNr ) : void
FnTextModule ( uint textInfoId, uint textNo ) : void
LogicCursor ( Compact textCompact, ushort mouseX, ushort mouseY ) : void
LowTextManager ( uint textNum, ushort width, ushort logicNum, byte color, bool center ) : DisplayedText
Text ( Disk disk, SkyCompact skyCompact ) : System

Private Methods

Method Description
DoPatchMessage ( uint textNum ) : bool
GetText ( uint textNr ) : void
GetTextBit ( byte data, int &dataPtr, int &bitPos ) : bool
GetTextChar ( byte data, int &dataPtr, int &bitPos ) : char
InitHuffTree ( ) : void
MakeGameCharacter ( byte textChar, byte charSetPtr, byte dest, int &dstPtr, byte color, ushort bufPitch ) : void

Method Details

ChangeTextSpriteColor() public method

public ChangeTextSpriteColor ( byte sprData, byte newCol ) : void
sprData byte
newCol byte
return void

DisplayText() public method

public DisplayText ( string text, byte dest, bool center, ushort pixelWidth, byte color ) : DisplayedText
text string
dest byte
center bool
pixelWidth ushort
color byte
return DisplayedText

DisplayText() public method

public DisplayText ( ushort textNum, byte dest, bool center, ushort pixelWidth, byte color ) : DisplayedText
textNum ushort
dest byte
center bool
pixelWidth ushort
color byte
return DisplayedText

FnPointerText() public method

public FnPointerText ( uint pointedId, ushort mouseX, ushort mouseY ) : void
pointedId uint
mouseX ushort
mouseY ushort
return void

FnSetFont() public method

public FnSetFont ( uint fontNr ) : void
fontNr uint
return void

FnTextModule() public method

public FnTextModule ( uint textInfoId, uint textNo ) : void
textInfoId uint
textNo uint
return void

LogicCursor() public method

public LogicCursor ( Compact textCompact, ushort mouseX, ushort mouseY ) : void
textCompact Compact
mouseX ushort
mouseY ushort
return void

LowTextManager() public method

public LowTextManager ( uint textNum, ushort width, ushort logicNum, byte color, bool center ) : DisplayedText
textNum uint
width ushort
logicNum ushort
color byte
center bool
return DisplayedText

Text() public method

public Text ( Disk disk, SkyCompact skyCompact ) : System
disk Disk
skyCompact SkyCompact
return System