X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=gl_draw.c;h=6e6654631e09928e6089ec6dab015382376ead4f;hp=d1dbbf4a27b75641411fa97df2d4024e3ee3ff6e;hb=9de326220fe40712f8d5196259cffdb8024e57eb;hpb=dd85919901e74ddf23e2ab07e1d64280800367d3 diff --git a/gl_draw.c b/gl_draw.c index d1dbbf4a..6e665463 100644 --- a/gl_draw.c +++ b/gl_draw.c @@ -30,6 +30,7 @@ static rtexture_t *char_texture; //============================================================================= /* Support Routines */ +#define FONT_FILESIZE 13468 #define MAX_CACHED_PICS 256 #define CACHEPICHASHSIZE 256 static cachepic_t *cachepichash[CACHEPICHASHSIZE]; @@ -38,7 +39,7 @@ static int numcachepics; static rtexturepool_t *drawtexturepool; -static qbyte concharimage[13468] = +static qbyte concharimage[FONT_FILESIZE] = { #include "lhfont.h" }; @@ -51,7 +52,7 @@ static rtexture_t *draw_generateconchars(void) qbyte buffer[65536][4], *data = NULL; double random; - fs_filesize = 13396; + fs_filesize = FONT_FILESIZE; data = LoadTGA (concharimage, 256, 256); fs_filesize = -1; // Gold numbers