UFO: Alien Invasion
|
#include <SDL_ttf.h>
Go to the source code of this file.
Data Structures | |
struct | font_s |
Typedefs | |
typedef struct font_s | font_t |
Functions | |
void | R_FontListCache_f (void) |
Console command binding to show the font cache. More... | |
font_t * | R_GetFont (const char *name) |
Searches the array of available fonts (see fonts.ufo) More... | |
void | R_FontCleanCache (void) |
Clears font cache and frees memory associated with the cache. More... | |
Clears font cache and frees memory associated with the cache.
Definition at line 121 of file r_font.cpp.
References i, numChunks, numWraps, OBJZERO, and R_CheckError.
Referenced by R_FontMakeChunks(), R_FontShutdown(), R_FontWrapText(), and R_ReinitOpenglContext().
Console command binding to show the font cache.
Definition at line 228 of file r_font.cpp.
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 210 of file r_font.cpp.
References Com_Error(), Com_Printf(), ERR_FATAL, i, numFonts, and Q_streq.
Referenced by R_FontDrawString(), R_FontTextSize(), and UI_FontGetHeight().