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 | 40a9b91b37ecac9aad66d1deeca4c6ad2cff1f7f (patch) | |
tree | 71c58f5741951475a3a1776a1833c7a13b621ba7 /network.h | |
parent | 58a72bf48371143268c8b1ae07d1bce6d0d76daf (diff) | |
download | openttd-40a9b91b37ecac9aad66d1deeca4c6ad2cff1f7f.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; |