| version 1.9 | | version 1.10 |
|---|
| | |
| * Definitions for graphics lib. | | * Definitions for graphics lib. |
| * | | * |
| * $Log$ | | * $Log$ |
| | | * Revision 1.10 1999/10/14 04:48:21 donut |
| | | * alpha fixes, and gl_font args |
| | | * |
| * Revision 1.9 1999/10/08 08:50:55 donut | | * Revision 1.9 1999/10/08 08:50:55 donut |
| * fixed ogl sub bitmap support | | * fixed ogl sub bitmap support |
| * | | * |
| | |
| | | |
| //old font structure, could not add new items to it without screwing up gr_init_font | | //old font structure, could not add new items to it without screwing up gr_init_font |
| typedef struct _grs_font { | | typedef struct _grs_font { |
| short ft_w,ft_h; // Width and height in pixels | | int16_t ft_w,ft_h; // Width and height in pixels |
| short ft_flags; // Proportional? | | int16_t ft_flags; // Proportional? |
| short ft_baseline; // | | int16_t ft_baseline; // |
| ubyte ft_minchar, // The first and last chars defined by | | ubyte ft_minchar, // The first and last chars defined by |
| ft_maxchar; // This font | | ft_maxchar; // This font |
| short ft_bytewidth; // Width in unsigned chars | | int16_t ft_bytewidth; // Width in unsigned chars |
| ubyte * ft_data; // Ptr to raw data. | | u_int32_t ft_data; // Ptr to raw data. |
| ubyte ** ft_chars; // Ptrs to data for each char (required for prop font) | | u_int32_t ft_chars; // Ptrs to data for each char (required for prop font) |
| short * ft_widths; // Array of widths (required for prop font) | | u_int32_t ft_widths; // Array of widths (required for prop font) |
| ubyte * ft_kerndata; // Array of kerning triplet data | | u_int32_t ft_kerndata; // Array of kerning triplet data |
| } | | } |
| old_grs_font; | | old_grs_font; |
| | | |