C# Class NScumm.Sword1.Text

ファイルを表示 Open project: scemino/nscumm Class Usage Examples

Public Methods

Method 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

Method 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 method

public GiveSpriteData ( uint textTarget ) : ByteAccess
textTarget uint
return ByteAccess

LowTextManager() public method

public LowTextManager ( ByteAccess ascii, int width, byte pen ) : uint
ascii ByteAccess
width int
pen byte
return uint

MakeTextSprite() public method

public MakeTextSprite ( byte slot, ByteAccess text, ushort maxWidth, byte pen ) : void
slot byte
text ByteAccess
maxWidth ushort
pen byte
return void

ReleaseText() public method

public ReleaseText ( int id, bool updateCount = true ) : void
id int
updateCount bool
return void

Text() public method

public Text ( ObjectMan objMan, ResMan resMan, bool czechVersion ) : System
objMan ObjectMan
resMan ResMan
czechVersion bool
return System