26 #include "common/scummsys.h" 41 #define NUM_PATCH_MSG 9 52 struct DisplayedText displayText(uint32 textNum, uint8 *dest,
bool center, uint16 pixelWidth, uint8 color);
53 struct DisplayedText displayText(char *textPtr, uint32 bufLen, uint8 *dest,
bool center, uint16 pixelWidth, uint8 color);
54 struct DisplayedText lowTextManager(uint32 textNum, uint16 width, uint16 logicNum, uint8 color, bool center);
55 void fnSetFont(uint32 fontNr);
56 void fnTextModule(uint32 textInfoId, uint32 textNo);
57 void fnPointerText(uint32 pointedId, uint16 mouseX, uint16 mouseY);
58 void logicCursor(
Compact *textCompact, uint16 mouseX, uint16 mouseY);
59 void changeTextSpriteColor(uint8 *sprData, uint8 newCol);
60 uint32 giveCurrentCharSet();
66 void getText(uint32 textNr);
67 char getTextChar(uint8 **data, uint32 *bitPos);
68 bool getTextBit(uint8 **data, uint32 *bitPos);
69 void makeGameCharacter(uint8 textChar, uint8 *charSetPtr, uint8 *&data, uint8 color, uint16 bufPitch);
70 void makeChineseGameCharacter(uint16 textChar, uint8 *charSetPtr, uint8 *&dest, uint8 color, uint16 bufPitch);
72 bool patchMessage(uint32 textNum);
84 } _mainCharacterSet, _linkCharacterSet, _controlCharacterSet;
90 char _textBuffer[1024];
92 uint32 _dtCharSpacing;
93 uint32 _mouseOfsX, _mouseOfsY;
94 static const PatchMessage _patchedMessages[NUM_PATCH_MSG];
95 static const uint16 _patchLangIdx[8];
96 static const uint16 _patchLangNum[8];
98 static const HuffTree _huffTree_00109[];
99 static const HuffTree _huffTree_00267[];
100 static const HuffTree _huffTree_00288[];
101 static const HuffTree _huffTree_00303[];
102 static const HuffTree _huffTree_00331[];
103 static const HuffTree _huffTree_00348[];
104 static const HuffTree _huffTree_00365[];
105 static const HuffTree _huffTree_00368[];
106 static const HuffTree _huffTree_00372[];
Definition: autoroute.h:28