ravenengine/SOURCE/D_FONT.H

32 lines
519 B
C
Raw Normal View History

2014-12-12 00:00:00 +00:00
// d_font.h
#ifndef __FONT__
#define __FONT__
#define MAXPRINTF 256
typedef struct
{
short height;
char width[256];
short charofs[256];
} font_t;
extern font_t *font;
extern int fontbasecolor;
extern int fontspacing;
extern int printx,printy;
extern int windowx,windowy,windoww,windowh;
int FN_RawWidth (char *str);
void FN_Printf (char *fmt, ...);
void FN_CenterPrintf (char *fmt, ...);
void FN_BlockCenterPrintf (char *fmt, ...);
#endif