DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
 
dp_font_t Struct Reference

#include <draw.h>

+ Collaboration diagram for dp_font_t:

Data Fields

char cmdline [MAX_FONT_CMDLINE]
 
int fallback_faces [MAX_FONT_FALLBACKS]
 
char fallbacks [MAX_FONT_FALLBACKS][MAX_QPATH]
 
struct ft2_font_s * ft2
 
float maxwidth
 
cachepic_t * pic
 
int req_face
 
float req_sizes [MAX_FONT_SIZES]
 
ft2_settings_t settings
 
char texpath [MAX_QPATH]
 
char title [MAX_QPATH]
 
float width_of [256]
 
float width_of_ft2 [MAX_FONT_SIZES][256]
 

Detailed Description

Definition at line 97 of file draw.h.

Field Documentation

◆ cmdline

char dp_font_t::cmdline[MAX_FONT_CMDLINE]

Definition at line 114 of file draw.h.

◆ fallback_faces

int dp_font_t::fallback_faces[MAX_FONT_FALLBACKS]

Definition at line 109 of file draw.h.

Referenced by Font_LoadFont().

◆ fallbacks

char dp_font_t::fallbacks[MAX_FONT_FALLBACKS][MAX_QPATH]

Definition at line 108 of file draw.h.

Referenced by Font_LoadFont(), and LoadFont().

◆ ft2

struct ft2_font_s* dp_font_t::ft2

◆ maxwidth

float dp_font_t::maxwidth

Definition at line 102 of file draw.h.

Referenced by CL_DrawVideo_WordWidthFunc(), Con_WordWidthFunc(), and LoadFont().

◆ pic

cachepic_t* dp_font_t::pic

Definition at line 99 of file draw.h.

Referenced by DrawQ_String_Scale(), and LoadFont().

◆ req_face

int dp_font_t::req_face

Definition at line 106 of file draw.h.

Referenced by Font_LoadFont(), and LoadFont().

◆ req_sizes

float dp_font_t::req_sizes[MAX_FONT_SIZES]

Definition at line 107 of file draw.h.

Referenced by Font_LoadFont().

◆ settings

◆ texpath

char dp_font_t::texpath[MAX_QPATH]

Definition at line 103 of file draw.h.

Referenced by LoadFont().

◆ title

char dp_font_t::title[MAX_QPATH]

Definition at line 104 of file draw.h.

Referenced by FindFont(), getdrawfontnum(), gl_draw_start(), and LoadFont_f().

◆ width_of

float dp_font_t::width_of[256]

◆ width_of_ft2

float dp_font_t::width_of_ft2[MAX_FONT_SIZES][256]

The documentation for this struct was generated from the following file: