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

Public Member Functions

 TextDisplayer_MR (KyraEngine_MR *vm, Screen_MR *screen)
 
char * preprocessString (const char *str) override
 
int dropCRIntoString (char *str, int minOffs, int maxOffs)
 
void printText (const Common::String &str, int x, int y, uint8 c0, uint8 c1, uint8 c2) override
 
void restoreScreen ()
 
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)
 
virtual void restoreTalkTextMessageBkgd (int srcPage, int dstPage)
 
void printTalkTextMessage (const char *text, int x, int y, uint8 color, int srcPage, int dstPage)
 
void printCharacterText (const char *text, int8 charNum, int charX)
 
bool printed () const
 

Protected Attributes

KyraEngine_MR_vm
 
Screen_MR_screen
 
- 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
 

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)
 

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