summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-22 23:30:28 +0000
committerrubidium <rubidium@openttd.org>2007-12-22 23:30:28 +0000
commit1f6043458c2677f3651618bc23f8b0a24598bffb (patch)
treebb7b4abc525aa4e79b1a40ebe21516d9c47244e1 /src/network
parentf9c26f80c5f95e1860722a33bdc6e8af39beb482 (diff)
downloadopenttd-1f6043458c2677f3651618bc23f8b0a24598bffb.tar.xz
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/network.h b/src/network/network.h
index 2017d6b47..d2a18749b 100644
--- a/src/network/network.h
+++ b/src/network/network.h
@@ -216,6 +216,7 @@ void NetworkDisconnect();
bool IsNetworkCompatibleVersion(const char *version);
+extern bool _networking; ///< are we in networking mode?
VARDEF bool _network_server; ///< network-server is active
VARDEF bool _network_available; ///< is network mode available?
VARDEF bool _network_dedicated; ///< are we a dedicated server?
@@ -235,7 +236,7 @@ static inline void NetworkShutDown() {}
#endif /* ENABLE_NETWORK */
-/* Thss variable must always be registered! */
+/* This variable must always be registered! */
VARDEF PlayerID _network_playas; ///< an id to play as.. (see players.h:Players)
#endif /* NETWORK_H */