X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=ft2_fontdefs.h;h=8cdc9e1d0ceb3ac6240e1a8ef9e16e51fa0a0e36;hp=3f08187db52e355bc65d1058273c3f75e0ac49da;hb=4d34e0a632cbc401712f46e10bb9864438b0881f;hpb=86084b10a110d8398e08c28223327ba07757f649 diff --git a/ft2_fontdefs.h b/ft2_fontdefs.h index 3f08187d..8cdc9e1d 100644 --- a/ft2_fontdefs.h +++ b/ft2_fontdefs.h @@ -9,7 +9,7 @@ typedef struct glyph_slot_s { - qboolean image; + qbool image; // we keep the quad coords here only currently // if you need other info, make Font_LoadMapForIndex fill it into this slot float txmin; // texture coordinate in [0,1] @@ -35,7 +35,7 @@ struct ft2_font_map_s int glyphSize; cachepic_t *pic; - qboolean static_tex; + qbool static_tex; glyph_slot_t glyphs[FONT_CHARS_PER_MAP]; // contains the kerning information for the first 256 characters @@ -54,8 +54,8 @@ struct ft2_attachment_s fs_offset_t size; }; -//qboolean Font_LoadMapForIndex(ft2_font_t *font, Uchar _ch, ft2_font_map_t **outmap); -qboolean Font_LoadMapForIndex(ft2_font_t *font, int map_index, Uchar _ch, ft2_font_map_t **outmap); +//qbool Font_LoadMapForIndex(ft2_font_t *font, Uchar _ch, ft2_font_map_t **outmap); +qbool Font_LoadMapForIndex(ft2_font_t *font, int map_index, Uchar _ch, ft2_font_map_t **outmap); void font_start(void); void font_shutdown(void);