diff options
author | truelight <truelight@openttd.org> | 2004-12-13 17:47:21 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-13 17:47:21 +0000 |
commit | 9ced62e239c6ff424659cc1151632766d366da20 (patch) | |
tree | 01af336ac91325c4ce99a24b1968cfe7078c5e6b /network.h | |
parent | 382b924b41f1448ef5a843fd6ce07d31415afb99 (diff) | |
download | openttd-9ced62e239c6ff424659cc1151632766d366da20.tar.xz |
(svn r1059) -Fix: [Console] Renamed 'set port' to 'set server_port'
-Add: [Network] Add ip-bind ('set server_bind_ip <ip>' in console or use
scripts/pre_dedicated.scr)
Diffstat (limited to 'network.h')
-rw-r--r-- | network.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -138,6 +138,11 @@ VARDEF uint16 _network_game_count; VARDEF uint16 _network_lobby_company_count; VARDEF uint _network_server_port; +/* We use bind_ip and bind_ip_host, where bind_ip_host is the readable form of + bind_ip_host, and bind_ip the numeric value, because we want a nice number + in the openttd.cfg, but we wants to use the uint32 internally.. */ +VARDEF uint32 _network_server_bind_ip; +VARDEF char _network_server_bind_ip_host[NETWORK_HOSTNAME_LENGTH]; VARDEF bool _is_network_server; // Does this client wants to be a network-server? VARDEF char _network_server_name[NETWORK_NAME_LENGTH]; |