summaryrefslogtreecommitdiff
path: root/src/network/network_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-12-22 18:40:57 +0000
committerrubidium <rubidium@openttd.org>2008-12-22 18:40:57 +0000
commitabc903d62539333ea5039ed152de07f174617a84 (patch)
tree68a45cb9d1b5a0a6ab29d8cdecc736cd6dbae7ea /src/network/network_func.h
parente6e32bad4d160c67f1c589edd25af423529845c2 (diff)
downloadopenttd-abc903d62539333ea5039ed152de07f174617a84.tar.xz
(svn r14712) -Codechange: split server and client side w.r.t. the storage of network related company information.
Diffstat (limited to 'src/network/network_func.h')
-rw-r--r--src/network/network_func.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_func.h b/src/network/network_func.h
index 688015263..0640c8a41 100644
--- a/src/network/network_func.h
+++ b/src/network/network_func.h
@@ -11,8 +11,8 @@
#include "../console_type.h"
extern NetworkServerGameInfo _network_game_info;
-extern NetworkCompanyInfo _network_company_info[MAX_COMPANIES];
extern NetworkClientInfo _network_client_info[MAX_CLIENT_INFO];
+extern NetworkCompanyState _network_company_states[MAX_COMPANIES];
extern ClientID _network_own_client_id;
extern ClientID _redirect_console_to_client;
@@ -34,7 +34,7 @@ void NetworkUDPGameLoop();
void NetworkUDPCloseAll();
void ParseConnectionString(const char **company, const char **port, char *connection_string);
void NetworkStartDebugLog(const char *hostname, uint16 port);
-void NetworkPopulateCompanyInfo();
+void NetworkPopulateCompanyStats(NetworkCompanyStats *stats);
void NetworkUpdateClientInfo(ClientID client_id);
bool NetworkClientConnectGame(const char *host, uint16 port);