From a25e3f8d701f89c15f3504ae0c7aa956c5810290 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 29 Dec 2008 10:37:53 +0000 Subject: (svn r14764) -Codechange: make the '***' chat messages like "Game paused (not enough players)" fully translateable. --- src/network/network_func.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network/network_func.h') diff --git a/src/network/network_func.h b/src/network/network_func.h index 32f0265a0..51249f8da 100644 --- a/src/network/network_func.h +++ b/src/network/network_func.h @@ -38,7 +38,7 @@ void NetworkPopulateCompanyStats(NetworkCompanyStats *stats); void NetworkUpdateClientInfo(ClientID client_id); bool NetworkClientConnectGame(const char *host, uint16 port); void NetworkClientSendRcon(const char *password, const char *command); -void NetworkClientSendChat(NetworkAction action, DestType type, int dest, const char *msg); +void NetworkClientSendChat(NetworkAction action, DestType type, int dest, const char *msg, int64 data = 0); void NetworkClientSetPassword(const char *password); bool NetworkClientPreferTeamChat(const NetworkClientInfo *cio); void NetworkPrintClients(); @@ -57,7 +57,7 @@ const char* GetClientIP(const NetworkClientInfo *ci); 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); +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, ...); -- cgit v1.2.3-54-g00ecf