1 /* $Id: gamefont.h,v 1.4 2004-08-28 23:17:45 schaffner 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,.
27 // When adding a new font, don't forget to change the filename in
28 // gamefont.c!!!!!!!!!!!!!!!!!!!!!!!!!!!
30 // We are interleaving low & high resolution fonts, so to access a
31 // font you say fontnum+flag where flag is 0 for lowres, 1 for hires
34 #define GFONT_MEDIUM_1 2
35 #define GFONT_MEDIUM_2 4
36 #define GFONT_MEDIUM_3 6
39 #define SMALL_FONT (Gamefonts[GFONT_SMALL + FontHires])
40 #define MEDIUM1_FONT (Gamefonts[GFONT_MEDIUM_1 + FontHires])
41 #define MEDIUM2_FONT (Gamefonts[GFONT_MEDIUM_2 + FontHires])
42 #define MEDIUM3_FONT (Gamefonts[GFONT_MEDIUM_3 + FontHires])
43 #define HUGE_FONT (Gamefonts[GFONT_BIG_1 + FontHires])
45 #define GAME_FONT SMALL_FONT
49 extern grs_font *Gamefonts[MAX_FONTS];
52 void gamefont_close();
55 extern int FontHiresAvailable;
57 #endif /* _GAMEFONT_H */