|
OpenTTD
|
Basic functions/variables used all over the place. More...
Go to the source code of this file.
Functions | |
| void | NetworkStartUp () |
| This tries to launch the network for a given OS. | |
| void | NetworkShutDown () |
| This shuts the network down. | |
| void | NetworkDrawChatMessage () |
| Draw the chat message-box. | |
| bool | HasClients () |
| Return whether there is any client connected or trying to connect at all. | |
Variables | |
| bool | _networking |
| are we in networking mode? | |
| bool | _network_server |
| network-server is active | |
| bool | _network_available |
| is network mode available? | |
| bool | _network_dedicated |
| are we a dedicated server? | |
| bool | _is_network_server |
| Does this client wants to be a network-server? | |
Basic functions/variables used all over the place.
Definition in file network.h.
| bool HasClients | ( | ) |
Return whether there is any client connected or trying to connect at all.
Definition at line 105 of file network.cpp.
References FOR_ALL_CLIENT_SOCKETS.
Referenced by VideoDriver_Dedicated::MainLoop().
1.8.1.2