diff options
author | truelight <truelight@openttd.org> | 2005-03-29 19:10:13 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-03-29 19:10:13 +0000 |
commit | 508738f836af7f5315ea14f8daa280d00cad2d10 (patch) | |
tree | 71c58f5741951475a3a1776a1833c7a13b621ba7 /network.h | |
parent | c68cfdeecaccbd3979e920ec424f98375e0f9e3d (diff) | |
download | openttd-508738f836af7f5315ea14f8daa280d00cad2d10.tar.xz |
(svn r2106) -Fix: improved the network-join algoritm, it is now a bit more stable
-Add: added 'pause_on_join' and 'max_join_time' for MP games, where you
can auto-pause the game when a client wants to join the game. This to
avoid connection losses because of big maps (200+ trains). (with tnx to
#openttdcoop for the ideas and testing)
Diffstat (limited to 'network.h')
-rw-r--r-- | network.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -161,6 +161,9 @@ VARDEF char _network_server_name[NETWORK_NAME_LENGTH]; VARDEF char _network_server_password[NETWORK_PASSWORD_LENGTH]; VARDEF char _network_rcon_password[NETWORK_PASSWORD_LENGTH]; +VARDEF uint16 _network_max_join_time; //! Time a client can max take to join +VARDEF bool _network_pause_on_join; //! Pause the game when a client tries to join (more chance of succeeding join) + VARDEF uint16 _redirect_console_to_client; VARDEF uint16 _network_sync_freq; |