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
commit8f0e68285b4eadd1780280d7e36b00ff80c20f67 (patch)
treebb7b4abc525aa4e79b1a40ebe21516d9c47244e1 /src/network
parenta7d54cf9464f457f181f920a4edc34fcb97aac4f (diff)
downloadopenttd-8f0e68285b4eadd1780280d7e36b00ff80c20f67.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 */