use dynamic eye position-centered bouncegrid when rendering in dynamic
[xonotic/darkplaces.git] / ft2_fontdefs.h
index 20726d0..34c1637 100644 (file)
@@ -43,11 +43,14 @@ struct ft2_font_map_s
        ft2_kerning_t          kerning;
        // safes us the trouble of calculating these over and over again
        double                 sfx, sfy;
+
+       // the width_of for the image-font, pixel-snapped for this size
+       float           width_of[256];
 };
 
 struct ft2_attachment_s
 {
-       unsigned char *data;
+       const unsigned char *data;
        fs_offset_t    size;
 };