25 #include "common/scummsys.h" 27 #include "kyra/graphics/screen.h" 37 int maxSubstringLen()
const {
return TALK_SUBSTRING_LEN; }
39 void setTalkCoords(uint16 y);
41 int getCharLength(
const char *str,
int len);
42 int dropCRIntoString(
char *str,
int offs);
43 virtual char *preprocessString(
const char *str);
44 int buildMessageSubstrings(
const char *str);
45 int getWidestLineWidth(
int linesCount);
46 virtual void calcWidestLineBounds(
int &x1,
int &x2,
int w,
int cx);
47 virtual void restoreTalkTextMessageBkgd(
int srcPage,
int dstPage);
48 void printTalkTextMessage(
const char *text,
int x,
int y, uint8 color,
int srcPage,
int dstPage);
49 virtual void printText(
const Common::String &str,
int x,
int y, uint8 c0, uint8 c1, uint8 c2);
50 void printCharacterText(
const char *text, int8 charNum,
int charX);
54 int _langExtraSpacing;
55 bool printed()
const {
return _talkMessagePrinted; }
66 void setTextColor(uint8 color);
69 TALK_SUBSTRING_LEN = 80,
70 TALK_SUBSTRING_NUM = 6
73 char _talkBuffer[1040];
74 char _talkSubstrings[TALK_SUBSTRING_LEN * TALK_SUBSTRING_NUM];
76 bool _talkMessagePrinted;
Definition: kyra_v1.h:126
Definition: detection.h:27