font.h 779 Bytes
#ifndef __font_h__
#define __font_h__

#define MAX_STRING_LEN     200 

extern int     gBlink;
#if 0
extern u8      gFontMap[147204];
extern u16     gStringMap[256*MAX_STRING_LEN] __attribute__ ((aligned (16)));
extern u16    *gStringMapPtr;
#endif

extern void    drawGBChar(u16* texFont, u8 gb_b0, u8 gb_b1, f32 posx, f32 posy, u16 color);
extern void    drawAsciiChar(u8 ascii, f32 posx, f32 posy, u16 color);
extern void    drawString(u8* str, u16* texFont, f32 posx, f32 posy);
extern void    drawColorString(u8* str, f32 posx, f32 posy, u16 color);
extern void    drawBnumString(u8* str, f32 posx, f32 posy, u16 color);
extern void    drawBlinkString(u8* str, f32 posx, f32 posy, u16 color);
extern void    drawIsbnString(u8* str, u16* texFont, f32 posx, f32 posy);
#endif