2001-03-25 04:28:40 +00:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
unsigned char *bmp;
|
|
|
|
unsigned char *pal;
|
|
|
|
int w,h,c;
|
|
|
|
} raw_file;
|
|
|
|
|
|
|
|
typedef struct {
|
2001-03-25 19:10:52 +00:00
|
|
|
char *name;
|
2001-07-20 00:01:09 +00:00
|
|
|
char *fpath;
|
2001-03-25 04:28:40 +00:00
|
|
|
int spacewidth;
|
|
|
|
int charspace;
|
|
|
|
int height;
|
|
|
|
// char *fname_a;
|
|
|
|
// char *fname_b;
|
|
|
|
raw_file* pic_a[16];
|
|
|
|
raw_file* pic_b[16];
|
2001-05-06 02:26:17 +00:00
|
|
|
short font[65536];
|
|
|
|
short start[65536];
|
|
|
|
short width[65536];
|
2001-03-25 04:28:40 +00:00
|
|
|
} font_desc_t;
|
|
|
|
|
2002-03-24 00:32:13 +00:00
|
|
|
extern font_desc_t* vo_font;
|
|
|
|
|
2001-04-11 00:47:05 +00:00
|
|
|
raw_file* load_raw(char *name,int verbose);
|
|
|
|
font_desc_t* read_font_desc(char* fname,float factor,int verbose);
|