Fix color assignment by mamer
[capablanca.git] / lasker-2.2.3 / bots / mamer / config.h
1       //--------------------------------------------------------------------------
2 // config.h - default configuration parameters if the config file doesn't
3 //            exist, or the value isn't in the config file.  Can be
4 //            overridden during the build by using the DEFINES flags.
5 //
6 // Matthew E. Moses & Michael A. Long
7 //
8 // $Revision: 1.5 $
9 // $Date: 1998/09/10 19:58:20 $
10 //
11 // $Author: mlong $
12 // $Locker:  $
13 //
14 // $Log: config.h,v $
15 // Revision 1.5  1998/09/10 19:58:20  mlong
16 // *** empty log message ***
17 //
18 // Revision 1.4  1998/06/18 18:42:09  mlong
19 // prepairing for yet another move.
20 //
21 // Revision 1.3  1998/04/18 19:00:07  mlong
22 // y
23 //
24 // Revision 1.2  1997/10/08 21:03:08  chess
25 // no log message
26 //
27 // Revision 1.1  1996/09/30 20:52:48  moses
28 // Initial revision
29 //
30 //
31 //--------------------------------------------------------------------------
32
33 #ifndef _CONFIG_
34 #define _CONFIG_
35
36 #ifndef CONFIG_FILENAME
37 #define CONFIG_FILENAME "./mamer.config"
38 #endif
39
40 #ifndef DEFAULT_PATH
41 #define DEFAULT_PATH "/home/mlong/mamer"
42 #endif
43
44 #ifndef DEFAULT_HELP_FILE_PATH
45 #define DEFAULT_HELP_FILE_PATH "help"
46 #endif
47
48 #ifndef DEFAULT_DATA_PATH
49 #define DEFAULT_DATA_PATH "data"
50 #endif
51
52 #ifndef DEFAULT_LOG_FILE 
53 #define DEFAULT_LOG_FILE "logs/mamer"
54 #endif
55
56 #ifndef DEFAULT_USER_PATH
57 #define DEFAULT_USER_PATH "players"
58 #endif
59
60 #ifndef DEFAULT_HOSTNAME
61 #define DEFAULT_HOSTNAME "ics.onenet.net"
62 #endif
63  
64 #ifndef DEFAULT_PORT
65 #define DEFAULT_PORT 5000
66 #endif
67
68 #ifndef DEFAULT_CHANNEL
69 #define DEFAULT_CHANNEL 49
70 #endif
71
72 #ifndef DEFAULT_USERNAME
73 #define DEFAULT_USERNAME "mamertesti"
74 #endif
75
76 #ifndef DEFAULT_PASSWORD
77 #define DEFAULT_PASSWORD "fkdi29s"
78 #endif
79
80 #ifndef ABUSE_INCREMENT_VALUE
81 #define ABUSE_INCREMENT_VALUE 1
82 #endif
83
84 #ifndef ABUSE_RESET_VALUE
85 #define ABUSE_RESET_VALUE 5
86 #endif
87
88 #ifndef FIRSTPLACEVALUE 
89 #define FIRSTPLACEVALUE 5
90 #endif
91
92 #ifndef MAX_ROUNDS
93 #define MAX_ROUNDS 10
94 #endif
95
96 #ifndef MAX_INCREMENT
97 #define MAX_INCREMENT 60
98 #endif
99
100 #ifndef MAX_TIME
101 #define MAX_TIME 9000
102 #endif
103
104 #ifndef DEFAULT_MAX_PLAYERS
105 #define DEFAULT_MAX_PLAYERS 16
106 #endif
107
108 #ifndef DEFAULT_TIME
109 #define DEFAULT_TIME 4
110 #endif
111
112 #ifndef DEFAULT_INCREMENT
113 #define DEFAULT_INCREMENT 0
114 #endif
115
116 #ifndef DEFAULT_ROUNDS
117 #define DEFAULT_ROUNDS 0
118 #endif
119
120 #ifndef PENALTY_PER_ROUND
121 #define PENALTY_PER_ROUND 10
122 #endif
123
124 #ifndef KEEP_TOURNEY_TIME
125 #define KEEP_TOURNEY_TIME 7200
126 #endif
127
128 #ifndef SEC_BETWEEN_CSHOUTS
129 #define SEC_BETWEEN_CSHOUTS 240
130 #endif
131
132 #ifndef MAX_CHAOS_POINTS
133 #define MAX_CHAOS_POINTS 100
134 #endif
135
136 // MINIMUM_ROUNDS should always be less than MINIMUM_PLAYERS
137
138 #ifndef MINIMUM_ROUNDS
139 #define MINIMUM_ROUNDS 3
140 #endif
141
142 #ifndef MINIMUM_PLAYERS
143 #define MINIMUM_PLAYERS 4
144 #endif
145
146 #endif
147
148
149