1 /***********************************************************
2 * Artsoft Retro-Game Library *
3 *----------------------------------------------------------*
4 * (c) 1994-2002 Artsoft Entertainment *
6 * Detmolder Strasse 189 *
9 * e-mail: info@artsoft.org *
10 *----------------------------------------------------------*
12 ***********************************************************/
21 #define FONT_INITIAL_1 0
22 #define FONT_INITIAL_2 1
23 #define FONT_INITIAL_3 2
24 #define FONT_INITIAL_4 3
27 #define FC_RED FONT_INITIAL_1
28 #define FC_BLUE FONT_INITIAL_2
29 #define FC_GREEN FONT_INITIAL_3
30 #define FC_YELLOW FONT_INITIAL_4
32 #define FONT_CHARS_PER_LINE 16
33 #define FONT_LINES_PER_FONT 4
38 /* text output definitions */
39 #define MAX_OUTPUT_LINESIZE 1024
41 /* font structure definitions */
43 void InitFontInfo(struct FontBitmapInfo *, int,
44 int (*select_font_function)(int));
45 int getFontWidth(int);
46 int getFontHeight(int);
47 void DrawInitText(char *, int, int);
48 void DrawTextF(int, int, int, char *, ...);
49 void DrawTextFCentered(int, int, char *, ...);
50 void DrawText(int, int, char *, int);
51 void DrawTextExt(DrawBuffer *, int, int, char *, int, int);