/* DEFINES.H  For MTCHPLAY */

#define MAXFL   10         /* maximum number of flights */
#define MAXSZ   24         /* maximum size of any flight */
#define NO_HCP -10

#define MIN(x,y)  ((x)<(y)?(x):(y))

#define ESC      27
#define CR       13
#define UP      -72
#define DN      -80
#define RT      -77
#define LF      -75
#define PgUp    -73
#define PgDn    -81
#define END     -79

typedef struct {
  char name[21];
  short hcp;
  short team;
  char scores[25];
  short won,tied,lost;
  short gross,net,points;
} PLAYER;

