diff options
author | rubidium <rubidium@openttd.org> | 2010-10-15 14:29:13 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-10-15 14:29:13 +0000 |
commit | 515edee17c6cb6e2f860bcdb3308a0fc5e538e86 (patch) | |
tree | 365111fc46bb5e9ad9b605817df959a058e706ec /src/network/network_internal.h | |
parent | 0ca7e4e82e3657b6e935bc618403192b82b5dcc0 (diff) | |
download | openttd-515edee17c6cb6e2f860bcdb3308a0fc5e538e86.tar.xz |
(svn r20925) -Codechange: make the client send commands have a slightly more sensible name
Diffstat (limited to 'src/network/network_internal.h')
-rw-r--r-- | src/network/network_internal.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/network/network_internal.h b/src/network/network_internal.h index 2532a630e..b492e61c3 100644 --- a/src/network/network_internal.h +++ b/src/network/network_internal.h @@ -175,9 +175,6 @@ StringID GetNetworkErrorMsg(NetworkErrorCode err); bool NetworkFindName(char new_name[NETWORK_CLIENT_NAME_LENGTH]); /* Macros to make life a bit more easier */ -#define DEF_CLIENT_RECEIVE_COMMAND(type) NetworkRecvStatus NetworkPacketReceive_ ## type ## _command(Packet *p) -#define DEF_CLIENT_SEND_COMMAND(type) NetworkRecvStatus NetworkPacketSend_ ## type ## _command() -#define DEF_CLIENT_SEND_COMMAND_PARAM(type) NetworkRecvStatus NetworkPacketSend_ ## type ## _command #define DEF_SERVER_RECEIVE_COMMAND(type) NetworkRecvStatus NetworkPacketReceive_ ## type ## _command(NetworkClientSocket *cs, Packet *p) #define DEF_SERVER_SEND_COMMAND(type) NetworkRecvStatus NetworkPacketSend_ ## type ## _command(NetworkClientSocket *cs) #define DEF_SERVER_SEND_COMMAND_PARAM(type) NetworkRecvStatus NetworkPacketSend_ ## type ## _command |