Index: code/renderer/tr_font.c =================================================================== --- code/renderer/tr_font.c (révision 2071) +++ code/renderer/tr_font.c (copie de travail) @@ -93,7 +93,7 @@ static fontInfo_t registeredFont[MAX_FONTS]; #ifdef BUILD_FREETYPE -void R_GetGlyphInfo(FT_GlyphSlot glyph, int *left, int *right, int *width, int *top, int *bottom, int *height, int *pitch) { +static void R_GetGlyphInfo(FT_GlyphSlot glyph, int *left, int *right, int *width, int *top, int *bottom, int *height, int *pitch) { *left = _FLOOR( glyph->metrics.horiBearingX ); *right = _CEIL( glyph->metrics.horiBearingX + glyph->metrics.width ); @@ -106,7 +106,7 @@ } -FT_Bitmap *R_RenderGlyph(FT_GlyphSlot glyph, glyphInfo_t* glyphOut) { +static FT_Bitmap *R_RenderGlyph(FT_GlyphSlot glyph, glyphInfo_t* glyphOut) { FT_Bitmap *bit2; int left, right, width, top, bottom, height, pitch, size; @@ -145,7 +145,7 @@ return NULL; } -void WriteTGA (char *filename, byte *data, int width, int height) { +static void WriteTGA (char *filename, byte *data, int width, int height) { byte *buffer; int i, c; @@ -298,7 +298,7 @@ static int fdOffset; static byte *fdFile; -int readInt( void ) { +static int readInt( void ) { int i = fdFile[fdOffset]+(fdFile[fdOffset+1]<<8)+(fdFile[fdOffset+2]<<16)+(fdFile[fdOffset+3]<<24); fdOffset += 4; return i; @@ -309,7 +309,7 @@ float ffred; } poor; -float readFloat( void ) { +static float readFloat( void ) { poor me; #if defined Q3_BIG_ENDIAN me.fred[0] = fdFile[fdOffset+3];