25 #include "common/scummsys.h" 29 #include "common/pack-start.h" 47 #include "common/pack-end.h" 49 void loadFNT(
const char *fileName);
54 void bigEndianShortToNative(
void *var);
55 void bigEndianLongToNative(
void *var);
56 void flipGen(
void *var, int32 length);
58 int32 getLineHeight(int16 charCount,
const FontEntry *fontPtr,
const uint8 *fontPrt_Desc);
59 int32 getTextLineCount(int32 rightBorder_X, int32 wordSpacingWidth,
const FontEntry *fontData,
60 const char *textString);
61 void renderWord(uint8 *fontPtr_Data, uint8 *outBufferPtr,
62 int32 drawPosPixel_X, int32 heightOff, int32 height, int32 param4,
63 int32 stringRenderBufferSize, int32 width, int32 charWidth);
64 gfxEntryStruct *renderText(
int inRightBorder_X,
const char *
string);
65 void drawString(int32 x, int32 y,
const char *
string, uint8 * buffer, uint8 fontColor,
66 int32 inRightBorder_X);