1 /* $Id: gamefont.h,v 1.3 2003-10-10 09:36:35 btb Exp $ */
3 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
4 SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
5 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
6 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
7 IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
8 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
9 FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
10 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
11 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
12 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
17 * Font declarations for the game,.
20 * Revision 1.2 1995/08/18 10:23:54 allender
21 * removed large font -- added PC small font
23 * Revision 1.1 1995/05/16 15:56:55 allender
26 * Revision 2.0 1995/02/27 11:31:09 john
27 * New version 2.0, which has no anonymous unions, builds with
28 * Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
30 * Revision 1.7 1994/11/18 16:41:28 adam
33 * Revision 1.6 1994/11/17 13:07:00 adam
36 * Revision 1.5 1994/11/03 21:36:02 john
37 * Added code for credit fonts.
39 * Revision 1.4 1994/08/17 20:20:25 matt
40 * Took out alternate-color versions of font3, since this is a mono font
42 * Revision 1.3 1994/08/11 12:44:32 adam
45 * Revision 1.2 1994/08/10 19:57:16 john
46 * Changed font stuff; Took out old menu; messed up lots of
47 * other stuff like game sequencing messages, etc.
49 * Revision 1.1 1994/08/10 17:20:22 john
61 // When adding a new font, don't forget to change the filename in
62 // gamefont.c!!!!!!!!!!!!!!!!!!!!!!!!!!!
64 // We are interleaving low & high resolution fonts, so to access a
65 // font you say fontnum+flag where flag is 0 for lowres, 1 for hires
68 #define GFONT_MEDIUM_1 2
69 #define GFONT_MEDIUM_2 4
70 #define GFONT_MEDIUM_3 6
73 #define SMALL_FONT (Gamefonts[GFONT_SMALL + FontHires])
74 #define MEDIUM1_FONT (Gamefonts[GFONT_MEDIUM_1 + FontHires])
75 #define MEDIUM2_FONT (Gamefonts[GFONT_MEDIUM_2 + FontHires])
76 #define MEDIUM3_FONT (Gamefonts[GFONT_MEDIUM_3 + FontHires])
77 #define HUGE_FONT (Gamefonts[GFONT_BIG_1 + FontHires])
79 #define GAME_FONT SMALL_FONT
83 extern grs_font *Gamefonts[MAX_FONTS];
86 void gamefont_close();
89 extern int FontHiresAvailable;
91 #endif /* _GAMEFONT_H */