C# Class NScumm.Sky.Text

Afficher le fichier Open project: scemino/nscumm Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public ChangeTextSpriteColor ( byte sprData, byte newCol ) : void
sprData byte
newCol byte
Résultat void

DisplayText() public méthode

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

DisplayText() public méthode

public DisplayText ( ushort textNum, byte dest, bool center, ushort pixelWidth, byte color ) : DisplayedText
textNum ushort
dest byte
center bool
pixelWidth ushort
color byte
Résultat DisplayedText

FnPointerText() public méthode

public FnPointerText ( uint pointedId, ushort mouseX, ushort mouseY ) : void
pointedId uint
mouseX ushort
mouseY ushort
Résultat void

FnSetFont() public méthode

public FnSetFont ( uint fontNr ) : void
fontNr uint
Résultat void

FnTextModule() public méthode

public FnTextModule ( uint textInfoId, uint textNo ) : void
textInfoId uint
textNo uint
Résultat void

LogicCursor() public méthode

public LogicCursor ( Compact textCompact, ushort mouseX, ushort mouseY ) : void
textCompact Compact
mouseX ushort
mouseY ushort
Résultat void

LowTextManager() public méthode

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

Text() public méthode

public Text ( Disk disk, SkyCompact skyCompact ) : System
disk Disk
skyCompact SkyCompact
Résultat System