Files @ r5250:788ce846ec56
Branch filter:

Location: cpp/openttd-patchpack/source/network_client.h

miham
(svn r7375) WebTranslator2 update to 2006-12-05 18:07:02
american - 22 fixed, 2 changed by WhiteRabbit (24)
brazilian_portuguese - 23 fixed by tucalipe (23)
bulgarian - 22 fixed, 2 changed by groupsky (24)
catalan - 23 fixed, 31 changed by arnaullv (54)
croatian - 203 fixed, 2 deleted, 27 changed by knovak (232)
danish - 9 fixed, 26 changed by ThomasA (35)
french - 23 fixed, 10 changed by glx (33)
hungarian - 23 fixed, 1 changed by miham (24)
italian - 23 fixed by sidew (23)
slovak - 8 fixed by lengyel (8)
/* $Id$ */

#ifndef NETWORK_CLIENT_H
#define NETWORK_CLIENT_H

#ifdef ENABLE_NETWORK

DEF_CLIENT_SEND_COMMAND(PACKET_CLIENT_GAME_INFO);
DEF_CLIENT_SEND_COMMAND(PACKET_CLIENT_COMPANY_INFO);
DEF_CLIENT_SEND_COMMAND_PARAM(PACKET_CLIENT_COMMAND)(CommandPacket *cp);
DEF_CLIENT_SEND_COMMAND_PARAM(PACKET_CLIENT_ERROR)(NetworkErrorCode errorno);
DEF_CLIENT_SEND_COMMAND_PARAM(PACKET_CLIENT_QUIT)(const char *leavemsg);
DEF_CLIENT_SEND_COMMAND_PARAM(PACKET_CLIENT_CHAT)(NetworkAction action, DestType desttype, int dest, const char *msg);
DEF_CLIENT_SEND_COMMAND_PARAM(PACKET_CLIENT_PASSWORD)(NetworkPasswordType type, const char *password);
DEF_CLIENT_SEND_COMMAND_PARAM(PACKET_CLIENT_SET_PASSWORD)(const char *password);
DEF_CLIENT_SEND_COMMAND_PARAM(PACKET_CLIENT_SET_NAME)(const char *name);
DEF_CLIENT_SEND_COMMAND(PACKET_CLIENT_ACK);
DEF_CLIENT_SEND_COMMAND_PARAM(PACKET_CLIENT_RCON)(const char *pass, const char *command);

NetworkRecvStatus NetworkClient_ReadPackets(NetworkClientState *cs);
void NetworkClient_Connected(void);

#endif /* ENABLE_NETWORK */

#endif /* NETWORK_CLIENT_H */