FTEQW
Documentation of the FTE engine source tree.
|
Typedefs | |
typedef unsigned int | FT_Pixel_Mode |
typedef struct fontface_s | fontface_t |
typedef struct font_s | font_t |
Enumerations | |
enum | fontfmt_e { FMT_AUTO , FMT_QUAKE , FMT_ISO88591 , FMT_WINDOWS1252 , FMT_KOI8U , FMT_HORIZONTAL } |
Functions | |
void | Font_Init (void) |
void | Font_Shutdown (void) |
struct font_s * | Font_LoadFont (const char *fontfilename, float height, float scale, int outline, unsigned int flags) |
void | Font_Free (struct font_s *f) |
void | Font_BeginString (struct font_s *font, float vx, float vy, int *px, int *py) |
void | Font_BeginScaledString (struct font_s *font, float vx, float vy, float szx, float szy, float *px, float *py) |
void | Font_Transform (float vx, float vy, int *px, int *py) |
int | Font_CharHeight (void) |
float | Font_CharScaleHeight (void) |
int | Font_CharWidth (unsigned int charflags, unsigned int codepoint) |
float | Font_CharScaleWidth (unsigned int charflags, unsigned int codepoint) |
int | Font_CharEndCoord (struct font_s *font, int x, unsigned int charflags, unsigned int codepoint) |
int | Font_DrawChar (int px, int py, unsigned int charflags, unsigned int codepoint) |
float | Font_DrawScaleChar (float px, float py, unsigned int charflags, unsigned int codepoint) |
void | Font_EndString (struct font_s *font) |
int | Font_LineBreaks (conchar_t *start, conchar_t *end, int maxpixelwidth, int maxlines, conchar_t **starts, conchar_t **ends) |
int | Font_ChangeFTSize (struct fontface_s *qface, int pixelheight) |
FT_Error (VARGS *pFT_Init_FreeType)(FT_Library *alibrary) | |
FT_UInt (VARGS *pFT_Get_Char_Index)(FT_Face face | |
const char *VARGS * | pFT_Error_String (FT_Error error_code) |
int | Font_RegisterTrackerImage (const char *image) |
qboolean | Font_TrackerValid (unsigned int imid) |
void | Font_FlushPlane (void) |
qboolean | Font_LoadHorizontalFont (struct font_s *f, int fheight, const char *fontfilename) |
qboolean | Font_LoadKexFont (struct font_s *f, int fheight, const char *fontfilename) |
qboolean | Font_LoadFreeTypeFont (struct font_s *f, int height, const char *fontfilename, const char *styles) |
FTE_ALIGN (4) | |
void | Doom_ExpandPatch (doompatch_t *p, unsigned char *b, int stride) |
int | Font_CharPHeight (struct font_s *font) |
int | Font_GetTrueHeight (struct font_s *font) |
float | Font_CharVHeight (struct font_s *font) |
int | Font_TabWidth (int x) |
conchar_t * | Font_DecodeReverse (conchar_t *start, conchar_t *stop, unsigned int *codeflags, unsigned int *codepoint) |
int | Font_LineWidth (conchar_t *start, conchar_t *end) |
float | Font_LineScaleWidth (conchar_t *start, conchar_t *end) |
void | Font_LineDraw (int x, int y, conchar_t *start, conchar_t *end) |
conchar_t * | Font_CharAt (int x, conchar_t *start, conchar_t *end) |
void | Font_InvalidateColour (vec4_t newcolour) |
Variables | |
struct font_s * | font_menu |
struct font_s * | font_default |
struct font_s * | font_console |
struct font_s * | font_tiny |
unsigned int | r2d_be_flags |
qboolean | triedtoloadfreetype |
dllhandle_t * | fontmodule |
FT_ULong | char_code |
FT_ULong FT_Int32 | load_flags |
FT_ULong | charcode |
FT_UInt | pixel_width |
FT_UInt FT_UInt | pixel_height |
FT_Int | strike_index |
const char * | pathname |
const char FT_Long | face_index |
const char FT_Long FT_Face * | aface |
const FT_Byte * | file_base |
const FT_Byte FT_Long | file_size |
cvar_t | cl_noblink |
cvar_t | con_ocranaleds |
cvar_t | r_font_linear |
unsigned short | hex [16] |
cvar_t | dpcompat_smallerfonts |
typedef struct font_s font_t |
typedef struct fontface_s fontface_t |
typedef unsigned int FT_Pixel_Mode |
enum fontfmt_e |
void Font_BeginScaledString | ( | struct font_s * | font, |
float | vx, | ||
float | vy, | ||
float | szx, | ||
float | szy, | ||
float * | px, | ||
float * | py | ||
) |
int Font_CharEndCoord | ( | struct font_s * | font, |
int | x, | ||
unsigned int | charflags, | ||
unsigned int | codepoint | ||
) |
int Font_CharPHeight | ( | struct font_s * | font | ) |
float Font_CharScaleHeight | ( | void | ) |
float Font_CharVHeight | ( | struct font_s * | font | ) |
conchar_t * Font_DecodeReverse | ( | conchar_t * | start, |
conchar_t * | stop, | ||
unsigned int * | codeflags, | ||
unsigned int * | codepoint | ||
) |
void Font_EndString | ( | struct font_s * | font | ) |
void Font_Free | ( | struct font_s * | f | ) |
int Font_GetTrueHeight | ( | struct font_s * | font | ) |
int Font_LineBreaks | ( | conchar_t * | start, |
conchar_t * | end, | ||
int | maxpixelwidth, | ||
int | maxlines, | ||
conchar_t ** | starts, | ||
conchar_t ** | ends | ||
) |
struct font_s * Font_LoadFont | ( | const char * | fontfilename, |
float | height, | ||
float | scale, | ||
int | outline, | ||
unsigned int | flags | ||
) |
qboolean Font_LoadFreeTypeFont | ( | struct font_s * | f, |
int | height, | ||
const char * | fontfilename, | ||
const char * | styles | ||
) |
int Font_RegisterTrackerImage | ( | const char * | image | ) |
FT_Error | ( | VARGS * | pFT_Init_FreeType | ) |
FT_UInt | ( | VARGS * | pFT_Get_Char_Index | ) |
FTE_ALIGN | ( | 4 | ) |
const char *VARGS * pFT_Error_String | ( | FT_Error | error_code | ) |
const FT_Byte FT_Long FT_Long FT_Face * aface |
FT_ULong char_code |
FT_ULong charcode |
|
extern |
|
extern |
|
extern |
const FT_Byte FT_Long FT_Long face_index |
const FT_Byte* file_base |
const FT_Byte FT_Long file_size |
struct font_s* font_console |
struct font_s* font_default |
struct font_s* font_menu |
struct font_s* font_tiny |
dllhandle_t* fontmodule |
unsigned short hex[16] |
image_t* image |
FT_ULong FT_Int32 load_flags |
char name[64] |
const char* pathname |
FT_UInt pixel_width |
|
extern |
|
extern |
FT_Int strike_index |
qboolean triedtoloadfreetype |