home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / catalogs / mtchplay.zip / DEFINES.H next >
Text File  |  1992-09-24  |  556b  |  28 lines

  1. /* DEFINES.H  For MTCHPLAY */
  2.  
  3. #define MAXFL   10         /* maximum number of flights */
  4. #define MAXSZ   24         /* maximum size of any flight */
  5. #define NO_HCP -10
  6.  
  7. #define MIN(x,y)  ((x)<(y)?(x):(y))
  8.  
  9. #define ESC      27
  10. #define CR       13
  11. #define UP      -72
  12. #define DN      -80
  13. #define RT      -77
  14. #define LF      -75
  15. #define PgUp    -73
  16. #define PgDn    -81
  17. #define END     -79
  18.  
  19. typedef struct {
  20.   char name[21];
  21.   short hcp;
  22.   short team;
  23.   char scores[25];
  24.   short won,tied,lost;
  25.   short gross,net,points;
  26. } PLAYER;
  27.  
  28.