diff options
author | rubidium <rubidium@openttd.org> | 2008-05-30 18:20:26 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-30 18:20:26 +0000 |
commit | bae02e8c671b523b671910d75a838aee2cdc57d6 (patch) | |
tree | ae098eb73283ba9ab9875b3df24bbe3b5eb7fef1 /src/network/network.h | |
parent | 026afc097a1cf098b2b62a6f91a384bf3ae17c91 (diff) | |
download | openttd-bae02e8c671b523b671910d75a838aee2cdc57d6.tar.xz |
(svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers.
Diffstat (limited to 'src/network/network.h')
-rw-r--r-- | src/network/network.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network.h b/src/network/network.h index 0e4653901..1331a6826 100644 --- a/src/network/network.h +++ b/src/network/network.h @@ -17,6 +17,7 @@ extern bool _network_server; ///< network-server is active extern bool _network_available; ///< is network mode available? extern bool _network_dedicated; ///< are we a dedicated server? extern bool _network_advertise; ///< is the server advertising to the master server? +extern bool _is_network_server; ///< Does this client wants to be a network-server? #else /* ENABLE_NETWORK */ /* Network function stubs when networking is disabled */ @@ -29,6 +30,7 @@ static inline void NetworkShutDown() {} #define _network_available 0 #define _network_dedicated 0 #define _network_advertise 0 +#define _is_network_server 0 #endif /* ENABLE_NETWORK */ |