equal
deleted
inserted
replaced
10 #ifdef ENABLE_NETWORK |
10 #ifdef ENABLE_NETWORK |
11 |
11 |
12 #include "os_abstraction.h" |
12 #include "os_abstraction.h" |
13 #include "../../newgrf_config.h" |
13 #include "../../newgrf_config.h" |
14 |
14 |
15 bool NetworkCoreInitialize(void); |
15 bool NetworkCoreInitialize(); |
16 void NetworkCoreShutdown(void); |
16 void NetworkCoreShutdown(); |
17 |
17 |
18 /** Status of a network client; reasons why a client has quit */ |
18 /** Status of a network client; reasons why a client has quit */ |
19 typedef enum { |
19 typedef enum { |
20 NETWORK_RECV_STATUS_OKAY, ///< Everything is okay |
20 NETWORK_RECV_STATUS_OKAY, ///< Everything is okay |
21 NETWORK_RECV_STATUS_DESYNC, ///< A desync did occur |
21 NETWORK_RECV_STATUS_DESYNC, ///< A desync did occur |