File diff r11081:725ce4237987 → r11082:09fb79759019
src/network/network_func.h
Show inline comments
 
@@ -7,12 +7,13 @@
 

	
 
#ifdef ENABLE_NETWORK
 

	
 
#include "core/address.h"
 
#include "network_type.h"
 
#include "../console_type.h"
 
#include "../gfx_type.h"
 

	
 
extern NetworkServerGameInfo _network_game_info;
 
extern NetworkCompanyState *_network_company_states;
 

	
 
extern ClientID _network_own_client_id;
 
extern ClientID _redirect_console_to_client;
 
@@ -66,12 +67,12 @@ const char *GetClientIP(const NetworkCli
 
void NetworkServerDoMove(ClientID client_id, CompanyID company_id);
 
void NetworkServerSendRcon(ClientID client_id, ConsoleColour colour_code, const char *string);
 
void NetworkServerSendError(ClientID client_id, NetworkErrorCode error);
 
void NetworkServerSendChat(NetworkAction action, DestType type, int dest, const char *msg, ClientID from_id, int64 data = 0);
 

	
 
void NetworkInitChatMessage();
 
void CDECL NetworkAddChatMessage(uint16 color, uint8 duration, const char *message, ...);
 
void CDECL NetworkAddChatMessage(TextColour colour, uint8 duration, const char *message, ...);
 
void NetworkUndrawChatMessage();
 
void NetworkChatMessageDailyLoop();
 

	
 
#endif /* ENABLE_NETWORK */
 
#endif /* NETWORK_FUNC_H */