C# Class NScumm.Sword1.Text

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

Méthodes publiques

Méthode Description
GiveSpriteData ( uint textTarget ) : ByteAccess
LowTextManager ( ByteAccess ascii, int width, byte pen ) : uint
MakeTextSprite ( byte slot, ByteAccess text, ushort maxWidth, byte pen ) : void
ReleaseText ( int id, bool updateCount = true ) : void
Text ( ObjectMan objMan, ResMan resMan, bool czechVersion ) : System

Private Methods

Méthode Description
AnalyzeSentence ( ByteAccess textSrc, ushort maxWidth, LineInfo line ) : ushort
CharWidth ( byte ch ) : int
CopyChar ( byte ch, ByteAccess sprPtr, ushort sprWidth, byte pen ) : ushort

Method Details

GiveSpriteData() public méthode

public GiveSpriteData ( uint textTarget ) : ByteAccess
textTarget uint
Résultat ByteAccess

LowTextManager() public méthode

public LowTextManager ( ByteAccess ascii, int width, byte pen ) : uint
ascii ByteAccess
width int
pen byte
Résultat uint

MakeTextSprite() public méthode

public MakeTextSprite ( byte slot, ByteAccess text, ushort maxWidth, byte pen ) : void
slot byte
text ByteAccess
maxWidth ushort
pen byte
Résultat void

ReleaseText() public méthode

public ReleaseText ( int id, bool updateCount = true ) : void
id int
updateCount bool
Résultat void

Text() public méthode

public Text ( ObjectMan objMan, ResMan resMan, bool czechVersion ) : System
objMan ObjectMan
resMan ResMan
czechVersion bool
Résultat System