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.
6 // Matthew E. Moses & Michael A. Long
9 // $Date: 1998/09/10 19:58:20 $
15 // Revision 1.5 1998/09/10 19:58:20 mlong
16 // *** empty log message ***
18 // Revision 1.4 1998/06/18 18:42:09 mlong
19 // prepairing for yet another move.
21 // Revision 1.3 1998/04/18 19:00:07 mlong
24 // Revision 1.2 1997/10/08 21:03:08 chess
27 // Revision 1.1 1996/09/30 20:52:48 moses
31 //--------------------------------------------------------------------------
36 #ifndef CONFIG_FILENAME
37 #define CONFIG_FILENAME "./mamer.config"
41 #define DEFAULT_PATH "/home/hgm/mamer"
44 #ifndef DEFAULT_HELP_FILE_PATH
45 #define DEFAULT_HELP_FILE_PATH "help"
48 #ifndef DEFAULT_DATA_PATH
49 #define DEFAULT_DATA_PATH "data"
52 #ifndef DEFAULT_LOG_FILE
53 #define DEFAULT_LOG_FILE "logs/mamer"
56 #ifndef DEFAULT_USER_PATH
57 #define DEFAULT_USER_PATH "players"
60 #ifndef DEFAULT_HOSTNAME
61 #define DEFAULT_HOSTNAME "ics.onenet.net"
65 #define DEFAULT_PORT 5000
68 #ifndef DEFAULT_CHANNEL
69 #define DEFAULT_CHANNEL 49
72 #ifndef DEFAULT_USERNAME
73 #define DEFAULT_USERNAME "mamertesti"
76 #ifndef DEFAULT_PASSWORD
77 #define DEFAULT_PASSWORD "passwordgoeshere"
80 #ifndef ABUSE_INCREMENT_VALUE
81 #define ABUSE_INCREMENT_VALUE 1
84 #ifndef ABUSE_RESET_VALUE
85 #define ABUSE_RESET_VALUE 5
88 #ifndef FIRSTPLACEVALUE
89 #define FIRSTPLACEVALUE 5
97 #define MAX_INCREMENT 60
101 #define MAX_TIME 9000
104 #ifndef DEFAULT_MAX_PLAYERS
105 #define DEFAULT_MAX_PLAYERS 16
109 #define DEFAULT_TIME 4
112 #ifndef DEFAULT_INCREMENT
113 #define DEFAULT_INCREMENT 0
116 #ifndef DEFAULT_ROUNDS
117 #define DEFAULT_ROUNDS 0
120 #ifndef PENALTY_PER_ROUND
121 #define PENALTY_PER_ROUND 10
124 #ifndef KEEP_TOURNEY_TIME
125 #define KEEP_TOURNEY_TIME 7200
128 #ifndef SEC_BETWEEN_CSHOUTS
129 #define SEC_BETWEEN_CSHOUTS 240
132 #ifndef MAX_CHAOS_POINTS
133 #define MAX_CHAOS_POINTS 100
136 // MINIMUM_ROUNDS should always be less than MINIMUM_PLAYERS
138 #ifndef MINIMUM_ROUNDS
139 #define MINIMUM_ROUNDS 3
142 #ifndef MINIMUM_PLAYERS
143 #define MINIMUM_PLAYERS 4