/************************************************************************* * Copyright (C) 1995 Datacraft Technologies Pty. Ltd. * All rights reserved * * file: hdrs/consts.h * * purpose: PREFIX - constant definitions * * programmer: David Purdie * * revision date by reason * 00.0 27/01/95 DDP Tidies up the program and formatted the file * 00.0 27/01/95 DDP initial release * * 2.05 17/12/95 DDP Merged a few menus ( uploads ) * Added staggered start and other start options * **************************************************************************/ #define VERSION "5.11" #define MAX_EVENT_NAME 50 /* Max chars in the EVENT name */ #define MAX_TM_NAME 30 /* Maximum chars in a team name */ #define LEN_CNTRY_NAME 15 /* Maximum number of chars in a country name */ #define MAX_PERSON_NAME 20 /* Max chars in a persons name */ #define MAX_LEGS 5 /* Maximum of this system */ #define MAX_MEMB 5 /* Max team members */ #define MAX_TMS_SPLIT 8 /* Max number of breaks in team defs */ #define MAX_LEG_NAME 15 /* Max chars in each leg name */ #define LEN_CLASS_NAME 15 /* Chars in a class name */ #define MAX_COUNTRY 40 /* Maximum countries maintained */ #define MAX_CLASS 40 /* Number of classes allowed */ #define MAX_FAME 10 /* Number of life time awards */ #define MAX_WEBPATH 200 /* Length of Web import URL */ /* ** Common definitions */ #undef offsetof #define offsetof(TYPE, MEMBER) ((unsigned int) &((TYPE *)0)->MEMBER) /* ** Nice HTML colours */ #define HTML_COLOUR_GREEN 0xeeffeeL