--- np2/font/font.h 2003/10/16 17:58:31 1.1.1.1 +++ np2/font/font.h 2011/02/23 10:11:44 1.6 @@ -1,20 +1,27 @@ +/** + * @file font.h + * @brief CGROM and font loader + * + * @author $Author: yui $ + * @date $Date: 2011/02/23 10:11:44 $ + */ #define FONTMEMORYBIND // 520KBくらいメモリ削除(ぉぃ - #ifdef __cplusplus extern "C" { #endif #ifdef FONTMEMORYBIND -#define font (mem + FONT_ADRS) +#define fontrom (mem + FONT_ADRS) #else -extern BYTE __font[0x84000]; -#define font (__font) +extern UINT8 __font[0x84000]; +#define fontrom (__font) #endif -void font_init(void); -BYTE font_load(const char *filename, BOOL force); +void font_initialize(void); +void font_setchargraph(BOOL epson); +UINT8 font_load(const OEMCHAR *filename, BOOL force); #ifdef __cplusplus }