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
commit33bdf3c701de8adb40be3fdcff09117cee48efea (patch)
tree60abaed2f57035730d0ffc371d9915b76b3426c2 /network.h
parent1fedb05cca47cc20fff2319a0dcc3a0ff1a931f8 (diff)
downloadopenttd-33bdf3c701de8adb40be3fdcff09117cee48efea.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 */