File diff r23482:de566f8c088d → r23483:3733e6b8ff17
src/network/core/core.h
Show inline comments
 
@@ -14,14 +14,12 @@
 
#ifndef NETWORK_CORE_CORE_H
 
#define NETWORK_CORE_CORE_H
 

	
 
#include "../../newgrf_config.h"
 
#include "config.h"
 

	
 
#ifdef ENABLE_NETWORK
 

	
 
bool NetworkCoreInitialize();
 
void NetworkCoreShutdown();
 

	
 
/** Status of a network client; reasons why a client has quit */
 
enum NetworkRecvStatus {
 
	NETWORK_RECV_STATUS_OKAY,             ///< Everything is okay
 
@@ -77,9 +75,7 @@ public:
 

	
 
	void SendGRFIdentifier(Packet *p, const GRFIdentifier *grf);
 
	void ReceiveGRFIdentifier(Packet *p, GRFIdentifier *grf);
 
	void SendCompanyInformation(Packet *p, const struct Company *c, const struct NetworkCompanyStats *stats, uint max_len = NETWORK_COMPANY_NAME_LENGTH);
 
};
 

	
 
#endif /* ENABLE_NETWORK */
 

	
 
#endif /* NETWORK_CORE_CORE_H */