39 #define kDMFontLetterWidth 5 40 #define kDMFontLetterHeight 6 44 int16 _messageAreaCursorColumn;
45 int16 _messageAreaCursorRow;
46 int32 _messageAreaRowExpirationTime[4];
47 byte *_bitmapMessageAreaNewRow;
51 int64 _startedScrollingAt;
52 byte *_messageAreaCopy;
59 void printTextToBitmap(byte *destBitmap, uint16 destByteWidth, int16 destX, int16 destY,
60 Color textColor, Color bgColor,
const char *text, uint16 destHeight);
61 void printToLogicalScreen(uint16 destX, uint16 destY, Color textColor, Color bgColor,
const char *text);
62 void printToViewport(int16 posX, int16 posY, Color textColor,
const char *text, Color bgColor = kDMColorDarkestGray);
63 void printWithTrailingSpaces(byte *destBitmap, int16 destByteWidth, int16 destX, int16 destY, Color textColor, Color bgColor,
64 const char *text, int16 strLenght, int16 destHeight);
66 void printMessage(Color color,
const char *
string,
bool printWithScroll =
true);
68 void printString(Color color,
const char*
string);
70 void moveCursor(int16 column, int16 row);
71 void clearExpiredRows();
72 void printEndGameString(int16 x, int16 y, Color textColor,
const char *text);
73 bool isTextScrolling(
TextScroller *scroller,
bool waitEndOfScrolling) {
return false; }
74 void setScrollerCommand(
TextScroller *scroller, int16 command) { }
77 void updateMessageArea();
Definition: champion.h:35