ssnfont.h
787 Bytes
#define SSNFONTSIZEX 5
#define SSNFONTSIZEY 7
#define SSNFONTSIZEXX 80
#define SSNFONTSIZEYY 112
#define SSNFONTCHRX 0x10
#define SSNFONTCHRY 0x10-1
#define SSNSCROFSTX 10
#define SSNSCROFSTY 10
#define SSNCOL0 0x0001
#define SSNCOL1 0x003f
#define SSNCOL2 0xf801
#define SSNCOL3 0xf83f
#define SSNCOL4 0x07c1
#define SSNCOL5 0x07ff
#define SSNCOL6 0xffc1
#define SSNCOL7 0xfff1
#define SSNCOLGRAY 0x18c7
typedef struct {
int x;
int y;
int c; /* 0x003f:blue 0x07c1:Green 0xf101:red */
} locate;
extern void SsnPrintf(locate* loc,char* ssnstr);
extern void SsnPrintfxy(int chrx,int chry,char *ssnstr);
extern unsigned short font5x7[];
extern void SsnPutOneChar(int filter,int chrx,int chry,unsigned char c);