home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #6 / amigaacscoverdisc1998-061998.iso / games / descent / source / lib / gamefont.h < prev    next >
Text File  |  1998-06-08  |  2KB  |  80 lines

  1. /*
  2. THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
  3. SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
  4. END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
  5. ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
  6. IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
  7. SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
  8. FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
  9. CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
  10. AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.  
  11. COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
  12. */
  13. /*
  14.  * $Source: f:/miner/source/main/rcs/gamefont.h $
  15.  * $Revision: 2.0 $
  16.  * $Author: john $
  17.  * $Date: 1995/02/27 11:31:09 $
  18.  * 
  19.  * Font declarations for the game,.
  20.  * 
  21.  * $Log: gamefont.h $
  22.  * Revision 2.0  1995/02/27  11:31:09  john
  23.  * New version 2.0, which has no anonymous unions, builds with
  24.  * Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
  25.  * 
  26.  * Revision 1.7  1994/11/18  16:41:28  adam
  27.  * trimmed meat
  28.  * 
  29.  * Revision 1.6  1994/11/17  13:07:00  adam
  30.  * removed unused font
  31.  * 
  32.  * Revision 1.5  1994/11/03  21:36:02  john
  33.  * Added code for credit fonts.
  34.  * 
  35.  * Revision 1.4  1994/08/17  20:20:25  matt
  36.  * Took out alternate-color versions of font3, since this is a mono font
  37.  * 
  38.  * Revision 1.3  1994/08/11  12:44:32  adam
  39.  * killed a #define
  40.  * 
  41.  * Revision 1.2  1994/08/10  19:57:16  john
  42.  * Changed font stuff; Took out old menu; messed up lots of
  43.  * other stuff like game sequencing messages, etc.
  44.  * 
  45.  * Revision 1.1  1994/08/10  17:20:22  john
  46.  * Initial revision
  47.  * 
  48.  * 
  49.  */
  50.  
  51.  
  52.  
  53. #ifndef _GAMEFONT_H
  54. #define _GAMEFONT_H
  55.  
  56. // When adding a new font, don't forget to change the
  57. // filename in gamefont.c!!!!!!!!!!!!!!!!!!!!!!!!!!!
  58.  
  59. #define GFONT_BIG_1         0
  60. #define GFONT_MEDIUM_1    1
  61. #define GFONT_MEDIUM_2    2
  62. #define GFONT_MEDIUM_3    3
  63. #define GFONT_SMALL        4
  64.  
  65. #define GAME_FONT        (Gamefonts[GFONT_SMALL])
  66. #define HELP_FONT        (Gamefonts[GFONT_MEDIUM_1])
  67. #define MENU_FONT        (Gamefonts[GFONT_MEDIUM_1])
  68. #define SCORES_FONT    (Gamefonts[GFONT_MEDIUM_1])
  69.  
  70. #define MAX_FONTS 5
  71.  
  72. extern grs_font *Gamefonts[MAX_FONTS];
  73.  
  74. void gamefont_init();
  75. void gamefont_close();
  76.  
  77.  
  78. #endif
  79. 
  80.