view libvo/font_load.h @ 251:ea2dcb082185

alpha rendering, virtual screensize reset fix
author szabii
date Thu, 29 Mar 2001 17:59:21 +0000
parents 09d565842a33
children e7e89cd4169f
line wrap: on
line source


typedef struct {
    unsigned char *bmp;
    unsigned char *pal;
    int w,h,c;
} raw_file;

typedef struct {
    char *name;
    int spacewidth;
    int charspace;
    int height;
//    char *fname_a;
//    char *fname_b;
    raw_file* pic_a[16];
    raw_file* pic_b[16];
    short font[512];
    short start[512];
    short width[512];
} font_desc_t;

raw_file* load_raw(char *name);
font_desc_t* read_font_desc(char* fname,float factor);