| 1 |
root |
1 |
/*************************************************************************
|
|
|
2 |
* Copyright (C) 1995 Datacraft Technologies Pty. Ltd.
|
|
|
3 |
* All rights reserved
|
|
|
4 |
*
|
|
|
5 |
* file: hdrs/consts.h
|
|
|
6 |
*
|
|
|
7 |
* purpose: PREFIX - constant definitions
|
|
|
8 |
*
|
|
|
9 |
* programmer: David Purdie
|
|
|
10 |
*
|
|
|
11 |
* revision date by reason
|
|
|
12 |
* 00.0 27/01/95 DDP Tidies up the program and formatted the file
|
|
|
13 |
* 00.0 27/01/95 DDP initial release
|
|
|
14 |
*
|
|
|
15 |
* 2.05 17/12/95 DDP Merged a few menus ( uploads )
|
|
|
16 |
* Added staggered start and other start options
|
|
|
17 |
*
|
|
|
18 |
**************************************************************************/
|
|
|
19 |
|
| 380 |
david |
20 |
#define VERSION "5.11"
|
| 1 |
root |
21 |
|
|
|
22 |
#define MAX_EVENT_NAME 50 /* Max chars in the EVENT name */
|
|
|
23 |
#define MAX_TM_NAME 30 /* Maximum chars in a team name */
|
|
|
24 |
#define LEN_CNTRY_NAME 15 /* Maximum number of chars in a country name */
|
|
|
25 |
#define MAX_PERSON_NAME 20 /* Max chars in a persons name */
|
|
|
26 |
#define MAX_LEGS 5 /* Maximum of this system */
|
|
|
27 |
#define MAX_MEMB 5 /* Max team members */
|
|
|
28 |
#define MAX_TMS_SPLIT 8 /* Max number of breaks in team defs */
|
|
|
29 |
#define MAX_LEG_NAME 15 /* Max chars in each leg name */
|
|
|
30 |
#define LEN_CLASS_NAME 15 /* Chars in a class name */
|
|
|
31 |
#define MAX_COUNTRY 40 /* Maximum countries maintained */
|
|
|
32 |
#define MAX_CLASS 40 /* Number of classes allowed */
|
|
|
33 |
#define MAX_FAME 10 /* Number of life time awards */
|
| 380 |
david |
34 |
#define MAX_WEBPATH 200 /* Length of Web import URL */
|
| 1 |
root |
35 |
|
|
|
36 |
/*
|
|
|
37 |
** Common definitions
|
|
|
38 |
*/
|
|
|
39 |
#undef offsetof
|
|
|
40 |
#define offsetof(TYPE, MEMBER) ((unsigned int) &((TYPE *)0)->MEMBER)
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
/*
|
|
|
44 |
** Nice HTML colours
|
|
|
45 |
*/
|
|
|
46 |
#define HTML_COLOUR_GREEN 0xeeffeeL
|