ScummVM API documentation
Kyra::TextDisplayer_HoF Class Reference
Inheritance diagram for Kyra::TextDisplayer_HoF:
Kyra::TextDisplayer

Public Member Functions

 TextDisplayer_HoF (KyraEngine_HoF *vm, Screen_v2 *screen)
 
void backupTalkTextMessageBkgd (int srcPage, int dstPage)
 
void restoreTalkTextMessageBkgd (int srcPage, int dstPage) override
 
void restoreScreen ()
 
void printCustomCharacterText (const char *src, int x, int y, uint8 c1, int srcPage, int dstPage)
 
char * preprocessString (const char *str) override
 
void calcWidestLineBounds (int &x1, int &x2, int w, int x) override
 
- Public Member Functions inherited from Kyra::TextDisplayer
 TextDisplayer (KyraEngine_v1 *vm, Screen *screen)
 
int maxSubstringLen () const
 
void setTalkCoords (uint16 y)
 
int getCenterStringX (const Common::String &str, int x1, int x2)
 
int getCharLength (const char *str, int len)
 
int dropCRIntoString (char *str, int offs)
 
int buildMessageSubstrings (const char *str)
 
int getWidestLineWidth (int linesCount)
 
void printTalkTextMessage (const char *text, int x, int y, uint8 color, int srcPage, int dstPage)
 
virtual void printText (const Common::String &str, int x, int y, uint8 c0, uint8 c1, uint8 c2)
 
void printCharacterText (const char *text, int8 charNum, int charX)
 
bool printed () const
 

Additional Inherited Members

- Public Attributes inherited from Kyra::TextDisplayer
uint16 _talkMessageY
 
uint16 _talkMessageH
 
int _langExtraSpacing
 
- Protected Types inherited from Kyra::TextDisplayer
enum  { TALK_SUBSTRING_LEN = 80, TALK_SUBSTRING_NUM = 6 }
 
- Protected Member Functions inherited from Kyra::TextDisplayer
void setTextColor (uint8 color)
 
- Protected Attributes inherited from Kyra::TextDisplayer
Screen_screen
 
KyraEngine_v1_vm
 
char _talkBuffer [1040]
 
char _talkSubstrings [TALK_SUBSTRING_LEN *TALK_SUBSTRING_NUM]
 
TalkCoords _talkCoords
 
bool _talkMessagePrinted
 
char _lineBreakChar
 

The documentation for this class was generated from the following file: