/* PLEASE NOTE: This file and the routines it contains were written by David Randall. e-mail: drandall99@charter.net Some routines were modified by myself. */ #ifndef _FontUtils #define _FontUtils typedef enum { COLOR_White, COLOR_LGray, COLOR_DGray, COLOR_Black, COLOR_TotalColors } FontColorEnum; typedef struct { char* pFont; unsigned short width; unsigned short height; } UserFontType; extern UserFontType userFont; void SetUserFont(char* pFont, unsigned char fontWidth, unsigned char fontHeight); void GrayUserDrawStr(unsigned char x, unsigned char y, char* str); void GrayUserDrawStrLength(unsigned char x, unsigned char y, char* str, unsigned short color, unsigned short invert, unsigned short length); void UppercaseString(char* pString); void GraySingleSprite8_XOR_R( register short x asm("%d0"), register short y asm("%d1"), register short h asm("%d2"), unsigned char *sprt, // a2 register void *dest0 asm("%a0"), register void *dest1 asm("%a1")) __attribute__((__stkparm__)); #endif