]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - ft2_fontdefs.h
common: Move filematch headers to new filematch.h
[xonotic/darkplaces.git] / ft2_fontdefs.h
index 34c1637014c9ef7863e44987a90ba113f065d6bf..8cdc9e1d0ceb3ac6240e1a8ef9e16e51fa0a0e36 100644 (file)
@@ -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]
@@ -34,8 +34,8 @@ struct ft2_font_map_s
        float                  intSize;
        int                    glyphSize;
 
-       rtexture_t            *texture;
-       qboolean               static_tex;
+       cachepic_t            *pic;
+       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);