GAMEFONT.H 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. #ifndef _GAMEFONT_H
  51. #define _GAMEFONT_H
  52. // When adding a new font, don't forget to change the
  53. // filename in gamefont.c!!!!!!!!!!!!!!!!!!!!!!!!!!!
  54. #define GFONT_BIG_1 0
  55. #define GFONT_MEDIUM_1 1
  56. #define GFONT_MEDIUM_2 2
  57. #define GFONT_MEDIUM_3 3
  58. #define GFONT_SMALL 4
  59. #define GAME_FONT (Gamefonts[GFONT_SMALL])
  60. #define HELP_FONT (Gamefonts[GFONT_MEDIUM_1])
  61. #define MENU_FONT (Gamefonts[GFONT_MEDIUM_1])
  62. #define SCORES_FONT (Gamefonts[GFONT_MEDIUM_1])
  63. #define MAX_FONTS 5
  64. extern grs_font *Gamefonts[MAX_FONTS];
  65. void gamefont_init();
  66. void gamefont_close();
  67. #endif
  68.