Commit Graph

516 Commits (e56cc911f13153f174ed2636d80c33e236ed4492)

Author SHA1 Message Date
rubidium e7dedf4e1b (svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions) 16 years ago
smatz 871107f529 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 16 years ago
smatz ed1e54bd84 (svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize() 16 years ago
smatz 6221d74644 (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 16 years ago
rubidium a5d6e23e9d (svn r16305) -Codechange: force-enable extra sync checking when random debugging is enable and give the calling location of Chance16(R) instead of the Random call within those functions. 16 years ago
smatz 3afce9b641 (svn r16288) -Fix (r16237): crash after clicking in the ClientList window 16 years ago
smatz f5316c5cbd (svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
16 years ago
smatz d4971a22d0 (svn r16265) -Fix (r16238): wrong format string for debug output 16 years ago
alberth 977db77921 (svn r16255) -Fix [FS#2887] (r16237): Nested widgets of client list window used incorrect length. 16 years ago
frosch 8fc723800f (svn r16254) -Fix [FS#2886]: Magic constant removed. 16 years ago
rubidium 101af1f9b5 (svn r16250) -Fix (r16242): do not try to unpause when paused for a joining company 16 years ago
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
16 years ago
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). 16 years ago
alberth 29675278c4 (svn r16237) -Codechange: Add nested widgets to remaining network windows. 16 years ago
alberth b967b45ae8 (svn r16236) -Codechange: Make widget enums complete of various network windows, and add them as comment. 16 years ago
alberth 4d3f8bbb97 (svn r16235) -Codechange (r16234): But keep the window description. 16 years ago
alberth 6d783983e7 (svn r16234) -Codechange (r16231, r16233): Do not add test functions to trunk. 16 years ago
alberth 819588c51f (svn r16233) -Codechange: Added nested widgets to network content windows. 16 years ago
alberth 4add445012 (svn r16232) -Codechange: Moving network content widgets enums outside window structs. 16 years ago
alberth fb1dbd6d19 (svn r16231) -Codechange: Added nested widgets to chat window. 16 years ago
alberth e04d2c88d9 (svn r16230) -Codechange: Moving chat widgets enum outside window struct. 16 years ago
yexo 52b95bdc96 (svn r16176) -Fix: forbid joining AI companies via the 'move' and 'join' console commands. 16 years ago
yexo c8ce3f7ef0 (svn r16175) -Fix: Disable the join button in the multiplayer lobby for AI companies, since joining an AI company is not possible. 16 years ago
rubidium 85b653bafc (svn r16163) -Codechange: instead of SetDParamStr(0, string); DrawString(..., STR_JUST_RAW_STRING, ...) use DrawString(..., string, ...). 16 years ago
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. 16 years ago
rubidium 11c6d30e77 (svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter) 16 years ago
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 16 years ago
rubidium 5db32d1dc5 (svn r16134) -Change: do not add duplicates to the broadcast list 16 years ago
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. 16 years ago
rubidium f14425e2c4 (svn r16071) -Fix [FS#2845]: content download progress bar 'resetting' due to mathematical overflow. 16 years ago
rubidium d04ebf2fa5 (svn r16065) -Fix: don't readd (and resolve) the last joined server each time the window gets repainted 16 years ago
rubidium 3061d70387 (svn r16064) -Fix: memory leak when querying a server multiple times. 16 years ago
glx 532fca65ef (svn r16050) -Fix (r15933): little typo causing OTTDfreeaddrinfo to use the fallback even when freeaddrinfo is available 16 years ago
rubidium 47e2901e18 (svn r16034) -Fix: compile warnings generated by 64 bits MSVC. 16 years ago
peter1138 be7215497c (svn r16026) -Codechange: Use font height for chat line spacing instead of fixed value. 16 years ago
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. 16 years ago
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] 16 years ago
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 :( 16 years ago
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. 16 years ago
rubidium 8477e92386 (svn r16004) -Fix (r16000): explicitly binding to an IPv4 socket would try to register an IPv6 address (only if it could ofcourse) 16 years ago
rubidium c0f9af5607 (svn r16000) -Feature: IPv6 support 16 years ago
rubidium ebe0f9e7f7 (svn r15998) -Codechange: some coding style updates 16 years ago
rubidium 882e495f5c (svn r15993) -Codechange: clean up/generalise the handling of the server list 16 years ago
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 16 years ago
rubidium 0f0cc67d62 (svn r15990) -Codechange: provide a thread safe variant of GetAddressAsString. 16 years ago
rubidium e779c56e31 (svn r15989) -Fix (r15987: segfault due to uninitialised sockets. 16 years ago
rubidium 1d4318c0d1 (svn r15988) -Fix: inconsistency between using NETWORK_NAME_LENGTH and NETWORK_CLIENT_NAME_LENGTH for the length of client names. 16 years ago
rubidium 08e37a6f10 (svn r15987) -Fix: make the master socket only listen on the IP the server is bound to. 16 years ago
rubidium 080095ade5 (svn r15984) -Codechange: prepare the UDP receiver to process multiple types of returned server lists. 16 years ago
rubidium cd8da0d69e (svn r15982) -Codechange: use GetAddressAsString to get the name instead of passing the hostname and the IP into a string. 16 years ago