equal
deleted
inserted
replaced
9 |
9 |
10 #ifdef ENABLE_NETWORK |
10 #ifdef ENABLE_NETWORK |
11 |
11 |
12 #include "../stdafx.h" |
12 #include "../stdafx.h" |
13 #include "../debug.h" |
13 #include "../debug.h" |
14 #include "../string.h" |
|
15 #include "network_data.h" |
14 #include "network_data.h" |
16 #include "../date.h" |
15 #include "../date_func.h" |
17 #include "../map.h" |
16 #include "../map_func.h" |
18 #include "network_gamelist.h" |
17 #include "network_gamelist.h" |
19 #include "network_udp.h" |
18 #include "network_udp.h" |
20 #include "../variables.h" |
19 #include "../variables.h" |
21 #include "../newgrf_config.h" |
20 #include "../newgrf_config.h" |
|
21 #include "../core/endian_func.hpp" |
|
22 #include "../string_func.h" |
|
23 #include "../player_base.h" |
|
24 #include "../player_func.h" |
|
25 #include "../settings_type.h" |
22 |
26 |
23 #include "core/udp.h" |
27 #include "core/udp.h" |
24 |
28 |
25 enum { |
29 enum { |
26 ADVERTISE_NORMAL_INTERVAL = 30000, // interval between advertising in ticks (15 minutes) |
30 ADVERTISE_NORMAL_INTERVAL = 30000, // interval between advertising in ticks (15 minutes) |