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-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];
|
|
|
|
short font[512];
|
|
|
|
short start[512];
|
|
|
|
short width[512];
|
|
|
|
} font_desc_t;
|
|
|
|
|
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);
|