|
UFO: Alien Invasion
|
#include <SDL_ttf.h>

Go to the source code of this file.
Data Structures | |
| struct | 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). | |
| void | R_FontCleanCache (void) |
| Clears font cache and frees memory associated with the cache. | |
Clears font cache and frees memory associated with the cache.
Definition at line 121 of file r_font.cpp.
References chunkCache, hash, i, numChunks, numWraps, OBJZERO, R_CheckError, and wrapCache.
Referenced by R_FontMakeChunks(), R_FontShutdown(), R_FontWrapText(), and R_ReinitOpenglContext().
Console command binding to show the font cache.
Definition at line 226 of file r_font.cpp.
References Com_Printf(), i, MAX_CHUNK_CACHE, MAX_WRAP_CACHE, wrapCache_t::next, numChunks, numWraps, wrapCache_t::text, and wrapCache.
| font_t * R_GetFont | ( | const char * | name | ) |
Searches the array of available fonts (see fonts.ufo).
Definition at line 208 of file r_font.cpp.
References Com_Error(), Com_Printf(), ERR_FATAL, fonts, i, name, numFonts, and Q_streq.
Referenced by R_FontDrawString(), R_FontTextSize(), and UI_FontGetHeight().