equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
2 |
2 |
3 /** |
3 /** |
4 * @file config.h Configuration options of the network stuff |
4 * @file config.h Configuration options of the network stuff. It is used even when compiling without network support. |
5 */ |
5 */ |
6 |
6 |
7 #ifndef NETWORK_CORE_CONFIG_H |
7 #ifndef NETWORK_CORE_CONFIG_H |
8 #define NETWORK_CORE_CONFIG_H |
8 #define NETWORK_CORE_CONFIG_H |
9 |
|
10 #ifdef ENABLE_NETWORK |
|
11 |
9 |
12 /** DNS hostname of the masterserver */ |
10 /** DNS hostname of the masterserver */ |
13 #define NETWORK_MASTER_SERVER_HOST "master.openttd.org" |
11 #define NETWORK_MASTER_SERVER_HOST "master.openttd.org" |
14 /** Message sent to the masterserver to 'identify' this client as OpenTTD */ |
12 /** Message sent to the masterserver to 'identify' this client as OpenTTD */ |
15 #define NETWORK_MASTER_SERVER_WELCOME_MESSAGE "OpenTTDRegister" |
13 #define NETWORK_MASTER_SERVER_WELCOME_MESSAGE "OpenTTDRegister" |
52 * to NETWORK_NUM_LANDSCAPES. |
50 * to NETWORK_NUM_LANDSCAPES. |
53 */ |
51 */ |
54 NETWORK_NUM_LANDSCAPES = 4, |
52 NETWORK_NUM_LANDSCAPES = 4, |
55 }; |
53 }; |
56 |
54 |
57 #endif /* ENABLE_NETWORK */ |
|
58 |
|
59 #endif /* NETWORK_CORE_CONFIG_H */ |
55 #endif /* NETWORK_CORE_CONFIG_H */ |