summaryrefslogtreecommitdiff
path: root/network.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-10-17 23:34:12 +0000
committerDarkvater <darkvater@openttd.org>2006-10-17 23:34:12 +0000
commite97d801d9255d405690141cffc5e3488bb419273 (patch)
tree60abaed2f57035730d0ffc371d9915b76b3426c2 /network.h
parent7cdf6f0aff61598ec5d38dc3826ce6d1252248f5 (diff)
downloadopenttd-e97d801d9255d405690141cffc5e3488bb419273.tar.xz
(svn r6816) -Codechange: Some coding style, variable localization, const correctness.
-Codechange: 'quited' is not a word, use has_quit instead for NetworkClientState
Diffstat (limited to 'network.h')
-rw-r--r--network.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/network.h b/network.h
index 20a4a5df8..61e7dab84 100644
--- a/network.h
+++ b/network.h
@@ -229,7 +229,7 @@ void NetworkShutDown(void);
void NetworkGameLoop(void);
void NetworkUDPGameLoop(void);
bool NetworkServerStart(void);
-bool NetworkClientConnectGame(const char* host, unsigned short port);
+bool NetworkClientConnectGame(const char *host, uint16 port);
void NetworkReboot(void);
void NetworkDisconnect(void);
@@ -252,6 +252,6 @@ static inline void NetworkShutDown(void) {}
/* These variables must always be registered! */
VARDEF bool _network_dedicated; ///< are we a dedicated server?
VARDEF bool _network_advertise; ///< is the server advertising to the master server?
-VARDEF PlayerID _network_playas; ///< an id to play as..
+VARDEF PlayerID _network_playas; ///< an id to play as.. (see players.h:Players)
#endif /* NETWORK_H */