diff options
Diffstat (limited to 'engines/cruise/font.h')
-rw-r--r-- | engines/cruise/font.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/font.h b/engines/cruise/font.h index b4533f2e43..de3040bf00 100644 --- a/engines/cruise/font.h +++ b/engines/cruise/font.h @@ -38,12 +38,12 @@ void flipLong(uint32 * var); // TODO: move away void flipGen(void *var, int32 length); int32 getLineHeight(int16 charCount, uint8 * fontPtr, uint8 * fontPrt_Desc); // fontProc1 -int32 getTextLineCount(int32 rightBorder_X, int32 wordSpacingWidth, uint8 * ptr, uint8 * textString); // fontProc2 +int32 getTextLineCount(int32 rightBorder_X, int32 wordSpacingWidth, uint8 * ptr, const uint8 *textString); // fontProc2 void renderWord(uint8 * fontPtr_Data, uint8 * outBufferPtr, int32 drawPosPixel_X, int32 heightOff, int32 height, int32 param4, int32 stringRenderBufferSize, int32 width, int32 charWidth); -gfxEntryStruct *renderText(int inRightBorder_X, uint8 * string); +gfxEntryStruct *renderText(int inRightBorder_X, const uint8 *string); void drawString(int32 x, int32 y, uint8 * string, uint8 * buffer, uint8 color, int32 inRightBorder_X); |