summaryrefslogtreecommitdiff
path: root/src/network/network_server.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-30 18:20:26 +0000
committerrubidium <rubidium@openttd.org>2008-05-30 18:20:26 +0000
commitbae02e8c671b523b671910d75a838aee2cdc57d6 (patch)
treeae098eb73283ba9ab9875b3df24bbe3b5eb7fef1 /src/network/network_server.h
parent026afc097a1cf098b2b62a6f91a384bf3ae17c91 (diff)
downloadopenttd-bae02e8c671b523b671910d75a838aee2cdc57d6.tar.xz
(svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers.
Diffstat (limited to 'src/network/network_server.h')
-rw-r--r--src/network/network_server.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/network/network_server.h b/src/network/network_server.h
index 07f9cf29a..3b5b02fef 100644
--- a/src/network/network_server.h
+++ b/src/network/network_server.h
@@ -14,21 +14,8 @@ DEF_SERVER_SEND_COMMAND(PACKET_SERVER_SHUTDOWN);
DEF_SERVER_SEND_COMMAND(PACKET_SERVER_NEWGAME);
DEF_SERVER_SEND_COMMAND_PARAM(PACKET_SERVER_RCON)(NetworkTCPSocketHandler *cs, uint16 color, const char *command);
-bool NetworkFindName(char new_name[NETWORK_CLIENT_NAME_LENGTH]);
-void NetworkServer_HandleChat(NetworkAction action, DestType type, int dest, const char *msg, uint16 from_index);
-
bool NetworkServer_ReadPackets(NetworkTCPSocketHandler *cs);
void NetworkServer_Tick(bool send_frame);
-void NetworkServerMonthlyLoop();
-void NetworkServerYearlyLoop();
-
-static inline const char* GetPlayerIP(const NetworkClientInfo* ci)
-{
- struct in_addr addr;
-
- addr.s_addr = ci->client_ip;
- return inet_ntoa(addr);
-}
#else /* ENABLE_NETWORK */
/* Network function stubs when networking is disabled */