Commit Graph

508 Commits

Author SHA1 Message Date
alberth 977db77921 (svn r16255) -Fix [FS#2887] (r16237): Nested widgets of client list window used incorrect length. 2009-05-09 08:02:17 +00:00
frosch 8fc723800f (svn r16254) -Fix [FS#2886]: Magic constant removed. 2009-05-08 09:00:47 +00:00
rubidium 101af1f9b5 (svn r16250) -Fix (r16242): do not try to unpause when paused for a joining company 2009-05-07 17:08:41 +00:00
rubidium 2664f2a2d9 (svn r16242) -Codechange: rework pausing
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-05-06 15:06:57 +00:00
rubidium 951b9e7615 (svn r16238) -Change: improve/clarify some network related debug "error" messages by adding more information to them. Also give some clues on how to fix certain issues (like failing advertising). 2009-05-06 09:52:52 +00:00
alberth 29675278c4 (svn r16237) -Codechange: Add nested widgets to remaining network windows. 2009-05-05 20:40:08 +00:00
alberth b967b45ae8 (svn r16236) -Codechange: Make widget enums complete of various network windows, and add them as comment. 2009-05-05 20:36:16 +00:00
alberth 4d3f8bbb97 (svn r16235) -Codechange (r16234): But keep the window description. 2009-05-05 20:33:05 +00:00
alberth 6d783983e7 (svn r16234) -Codechange (r16231, r16233): Do not add test functions to trunk. 2009-05-05 20:17:39 +00:00
alberth 819588c51f (svn r16233) -Codechange: Added nested widgets to network content windows. 2009-05-05 20:08:50 +00:00
alberth 4add445012 (svn r16232) -Codechange: Moving network content widgets enums outside window structs. 2009-05-05 20:07:33 +00:00
alberth fb1dbd6d19 (svn r16231) -Codechange: Added nested widgets to chat window. 2009-05-05 20:03:57 +00:00
alberth e04d2c88d9 (svn r16230) -Codechange: Moving chat widgets enum outside window struct. 2009-05-05 20:03:12 +00:00
yexo 52b95bdc96 (svn r16176) -Fix: forbid joining AI companies via the 'move' and 'join' console commands. 2009-04-26 20:01:14 +00:00
yexo c8ce3f7ef0 (svn r16175) -Fix: Disable the join button in the multiplayer lobby for AI companies, since joining an AI company is not possible. 2009-04-26 19:48:42 +00:00
rubidium 85b653bafc (svn r16163) -Codechange: instead of SetDParamStr(0, string); DrawString(..., STR_JUST_RAW_STRING, ...) use DrawString(..., string, ...). 2009-04-26 15:42:45 +00:00
rubidium 7dd677ced2 (svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings. 2009-04-26 15:26:19 +00:00
rubidium 11c6d30e77 (svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter) 2009-04-26 10:45:07 +00:00
rubidium 169a003e9a (svn r16135) -Fix [FS#2856]: always give the server an already resolved 'client address' so we can be sure the client address is always resolved 2009-04-24 10:52:51 +00:00
rubidium 5db32d1dc5 (svn r16134) -Change: do not add duplicates to the broadcast list 2009-04-24 10:33:16 +00:00
rubidium 59d45a04d6 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 2009-04-21 23:40:56 +00:00
rubidium f14425e2c4 (svn r16071) -Fix [FS#2845]: content download progress bar 'resetting' due to mathematical overflow. 2009-04-17 17:48:33 +00:00
rubidium d04ebf2fa5 (svn r16065) -Fix: don't readd (and resolve) the last joined server each time the window gets repainted 2009-04-15 20:37:00 +00:00
rubidium 3061d70387 (svn r16064) -Fix: memory leak when querying a server multiple times. 2009-04-15 20:35:52 +00:00
glx 532fca65ef (svn r16050) -Fix (r15933): little typo causing OTTDfreeaddrinfo to use the fallback even when freeaddrinfo is available 2009-04-12 22:13:05 +00:00
rubidium 47e2901e18 (svn r16034) -Fix: compile warnings generated by 64 bits MSVC. 2009-04-11 20:26:25 +00:00
peter1138 be7215497c (svn r16026) -Codechange: Use font height for chat line spacing instead of fixed value. 2009-04-11 10:38:00 +00:00
rubidium 2663ad302f (svn r16022) -Fix (r15159): sometimes the unregister "query" thread could be delayed so much that the network stuff was already closed and the packet would never reach the master server causing the server to appear online longer than necessary. 2009-04-10 20:18:48 +00:00
rubidium 7d3db3ee91 (svn r16014) -Feature(-ish): allow binding to several IPs; [network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses] 2009-04-10 12:56:55 +00:00
rubidium 460fbc7c92 (svn r16007) -Fix (r16004): when we want to bind to both IPv4 and IPv6, make the master socket do that too; too bad getaddrinfo can't handle binding to any address on any port at the same time :( 2009-04-10 09:23:35 +00:00
rubidium 28bce241fd (svn r16005) -Fix: assertion when there is no last joined server; when you've got an unresolved address, the hostname cannot be resolved either so return it as-is. 2009-04-09 21:36:09 +00:00
rubidium 8477e92386 (svn r16004) -Fix (r16000): explicitly binding to an IPv4 socket would try to register an IPv6 address (only if it could ofcourse) 2009-04-09 21:26:29 +00:00
rubidium c0f9af5607 (svn r16000) -Feature: IPv6 support 2009-04-09 01:22:45 +00:00
rubidium ebe0f9e7f7 (svn r15998) -Codechange: some coding style updates 2009-04-09 01:16:15 +00:00
rubidium 882e495f5c (svn r15993) -Codechange: clean up/generalise the handling of the server list 2009-04-08 23:41:48 +00:00
rubidium c2dbc8270b (svn r15991) -Fix: don't add 0.0.0.0/:: to the server list; you can't connect to them in any case 2009-04-08 21:16:24 +00:00
rubidium 0f0cc67d62 (svn r15990) -Codechange: provide a thread safe variant of GetAddressAsString. 2009-04-08 21:11:16 +00:00
rubidium e779c56e31 (svn r15989) -Fix (r15987: segfault due to uninitialised sockets. 2009-04-08 21:03:00 +00:00
rubidium 1d4318c0d1 (svn r15988) -Fix: inconsistency between using NETWORK_NAME_LENGTH and NETWORK_CLIENT_NAME_LENGTH for the length of client names. 2009-04-08 19:39:03 +00:00
rubidium 08e37a6f10 (svn r15987) -Fix: make the master socket only listen on the IP the server is bound to. 2009-04-08 19:36:51 +00:00
rubidium 080095ade5 (svn r15984) -Codechange: prepare the UDP receiver to process multiple types of returned server lists. 2009-04-08 17:51:04 +00:00
rubidium cd8da0d69e (svn r15982) -Codechange: use GetAddressAsString to get the name instead of passing the hostname and the IP into a string. 2009-04-08 12:52:53 +00:00
rubidium 9d6edae94d (svn r15981) -Fix: don't print the address family when writing the IP+port to the config file. 2009-04-08 12:09:07 +00:00
rubidium 18146572b0 (svn r15980) -Codechange: don't try to bind to the same socket twice; it's quite pointless. 2009-04-08 11:57:00 +00:00
rubidium c2152fa31f (svn r15979) -Codechange: tweak the debug/warning levels of some of the messages when binding 2009-04-08 01:23:44 +00:00
rubidium a5a424ce28 (svn r15978) -Codechange: support parsing [] enclosed IPv6 addresses. 2009-04-08 01:22:57 +00:00
rubidium 20e82c46d3 (svn r15976) -Codechange: make it a bit more clear for what (type of) address binding fails 2009-04-08 00:41:35 +00:00
rubidium 1eb4aa971e (svn r15975) -Codechange: register each of the IPs we have bound to to the masterserver 2009-04-08 00:26:49 +00:00
glx d466fa9672 (svn r15974) -Fix (r15969): win32 compilation was broken (again) 2009-04-08 00:10:20 +00:00
rubidium 8cf88876ef (svn r15973) -Codechange: make it possible to listen on multiple TCP sockets 2009-04-08 00:05:16 +00:00