r_font.h File Reference

#include <SDL_ttf.h>
Include dependency graph for r_font.h:
This graph shows which files directly or indirectly include this file:

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_tR_GetFont (const char *name)
 Searches the array of available fonts (see fonts.ufo).

Detailed Description

Definition in file r_font.h.


Define Documentation

#define TEXNUM_FONTS   (TEXNUM_FRAMEBUFFER_TEXTURES + MAX_GL_FRAMEBUFFERS)

Definition at line 31 of file r_font.h.

Referenced by R_FontGenerateTexture().


Typedef Documentation

typedef struct font_s font_t

Function Documentation

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().


Generated by  doxygen 1.6.2