#include <SDL_ttf.h>
Go to the source code of this file.
Data Structures | |
struct | font_s |
Defines | |
#define | TEXNUM_FONTS (TEXNUM_FRAMEBUFFER_TEXTURES + MAX_GL_FRAMEBUFFERS) |
Typedefs | |
typedef struct font_s | font_t |
Functions | |
void | R_FontListCache_f (void) |
Console command binding to show the font cache. | |
font_t * | R_GetFont (const char *name) |
Searches the array of available fonts (see fonts.ufo). |
Definition in file r_font.h.
#define TEXNUM_FONTS (TEXNUM_FRAMEBUFFER_TEXTURES + MAX_GL_FRAMEBUFFERS) |
Definition at line 31 of file r_font.h.
Referenced by R_FontGenerateTexture().
void R_FontListCache_f | ( | void | ) |
Console command binding to show the font cache.
Definition at line 223 of file r_font.c.
References Com_Printf(), i, MAX_CHUNK_CACHE, MAX_WRAP_CACHE, wrapCache_s::next, numChunks, numWraps, and wrapCache_s::text.
font_t* R_GetFont | ( | const char * | name | ) |
Searches the array of available fonts (see fonts.ufo).
Definition at line 208 of file r_font.c.
References Com_Error(), ERR_FATAL, i, and numFonts.
Referenced by R_FontDrawString(), R_FontTextSize(), and UI_FontGetHeight().