network.c
Tue, 26 Dec 2006 17:36:18 +0000 Darkvater (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
Tue, 15 May 2007 22:02:32 +0000 rubidium (svn r9853) [0.5] -Backport from trunk (r9837, r9827, r9785, r9775, r9758, r9716): 0.5
Tue, 20 Mar 2007 20:36:45 +0000 rubidium (svn r9380) [0.5] -Backport from trunk (r9378): 0.5
Thu, 08 Feb 2007 10:19:03 +0000 rubidium (svn r8625) [0.5] -Backport from trunk (8253, 8273, 8497, 8520 + 8542): 0.5
Wed, 31 Jan 2007 12:39:41 +0000 rubidium (svn r8489) [0.5] -Backport from trunk (8459, 8461): check for NewGRF compatability before actually downloading the map from a game server when connecting from the command prompt and internal console. 0.5
Tue, 16 Jan 2007 23:59:03 +0000 Darkvater (svn r8170) -Backport from trunk (r7984, r8118, r8167, r8168): 0.5
Thu, 16 Nov 2006 22:05:33 +0000 peter1138 (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
Tue, 24 Oct 2006 22:23:08 +0000 Darkvater (svn r6932) -Codechange: Send server messages with format NETWORK_ACTION_SERVER_MESSAGE so it is
Tue, 24 Oct 2006 22:19:12 +0000 Darkvater (svn r6931) -Codechange: Change textmessage format a bit. Only the sender's name and target are
Sat, 21 Oct 2006 23:31:34 +0000 Darkvater (svn r6884) -Codechange: Add strict bounds checking in string formatting system.
Sat, 21 Oct 2006 22:38:50 +0000 Darkvater (svn r6878) -Fix r6876 +add network.c, network_client.c
Wed, 18 Oct 2006 13:17:46 +0000 Darkvater (svn r6820) -Codechange: Some more const correctness, coding style.
Tue, 17 Oct 2006 23:34:12 +0000 Darkvater (svn r6816) -Codechange: Some coding style, variable localization, const correctness.
Tue, 17 Oct 2006 22:16:46 +0000 Darkvater (svn r6814) -Codechange: For network games ci->client_playas was always p->index + 1. To
Sun, 15 Oct 2006 23:37:15 +0000 Darkvater (svn r6785) -Cleanup: Remove unused _network_playas from NetworkAddServer. This function
Sun, 15 Oct 2006 23:31:22 +0000 Darkvater (svn r6783) -Codechange: Allow ParseConnectionString to allow players with more than one digit
Sat, 14 Oct 2006 15:49:43 +0000 Darkvater (svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPECTATOR and
Thu, 12 Oct 2006 14:48:36 +0000 Darkvater (svn r6753) -Codechange: Move some function declerations from functions.h into network.h
Thu, 12 Oct 2006 14:13:39 +0000 Darkvater (svn r6750) -Codechange: Juggle around some header includes as they're only used when
Tue, 03 Oct 2006 16:15:34 +0000 peter1138 (svn r6628) - Feature: Add the ability to pause a server if not enough players are connected. The setting for this is 'min_players' and can be set in the config and via the console. If the number of players drops below this number, the server will pause the game.
Sun, 27 Aug 2006 10:49:43 +0000 Darkvater (svn r6170) -Feature: save max_companies/clients/spectators in the config file.
Wed, 16 Aug 2006 12:07:24 +0000 rubidium (svn r5928) -Cleanup: remove ConvertIntDate and use ConvertYMDToDate as ConvertIntDate was only called with Years.
Tue, 15 Aug 2006 14:52:17 +0000 rubidium (svn r5915) -Cleanup: some variables were named *_date while they were only holding years; rename these variables to match this.
Mon, 14 Aug 2006 14:21:15 +0000 rubidium (svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Sat, 17 Jun 2006 14:11:26 +0000 tron (svn r5298) Hide function declarations and remove function stubs which aren't needed in the !ENABLE_NETWORK case
Sat, 17 Jun 2006 13:25:22 +0000 tron (svn r5297) Check the interface flags if IFF_BROADCAST is set before asking for the broadcast address
Sat, 17 Jun 2006 12:11:17 +0000 tron (svn r5295) Handle a quirk in the Windows interface detection code and fix a typo in r5293 (thanks to Darkvater for testing)
Sat, 17 Jun 2006 10:24:20 +0000 tron (svn r5293) -Fix: Not all network interfaces are capable of broadcasting. Don't record those which aren't
Sat, 17 Jun 2006 08:16:58 +0000 tron (svn r5292) -Fix: When using SIOCGIFCONF to detect network interfaces accomodate for the fact that struct sockaddr doesn't have fixed size in all implementations
Sat, 10 Jun 2006 08:37:41 +0000 tron (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
Sat, 22 Apr 2006 09:46:31 +0000 Darkvater (svn r4521) - Fix: be consistent about the size of the player-name in MP. This hopefully fixes a crash on lesser OS's (eg Win98). Use ttd_strlcpy() to just copy over strings and properly terminate them because different implementations of snprintf() behave differently. Courtesy of TrueLight
Mon, 03 Apr 2006 19:09:20 +0000 Darkvater (svn r4268) - Delete the network-copy of the Patches struct as it is not needed anymore. All relevant patch-settings that are changed by a network-game are those that are saved with a savegame, so these are not affected for loaded games (since Patches are saved with them). Also there is a distinction between in-game patch settings and default patch settings and this is not affected in MP. Thus this temp copy can be removed.
Mon, 03 Apr 2006 18:31:01 +0000 Darkvater (svn r4267) - Fix (r4241): also validate the error number that a client receives from a server, and encapsulate this functionality into GetNetworkErrorMsg().
Wed, 01 Feb 2006 07:36:15 +0000 tron (svn r3511) More whitespace ([FS#46] by Rubidium)
Tue, 31 Jan 2006 22:16:15 +0000 Darkvater (svn r3500) - Workaround the inaccurate count of spectators/companies that can happen in certain border-cases. For now just dynamically get this value when requested so it is always right. To do properly all player/client creation/destruction needs a hook for networking.
Sun, 29 Jan 2006 18:34:43 +0000 Darkvater (svn r3470) - Fix: plug a memleak in _network_host_list.
Wed, 25 Jan 2006 19:03:50 +0000 Darkvater (svn r3429) - Feature (Followup): Change the gamelist window to accomodate for the new information.
Wed, 25 Jan 2006 18:11:06 +0000 Darkvater (svn r3427) - Feature: Allow seeing and setting the maximum amount of companies and spectators for a server. This can be changed/viewed during runtime as well in the console.
Thu, 19 Jan 2006 17:50:40 +0000 peter1138 (svn r3409) - Change the server advertisement interval to use the frame counter instead
Thu, 19 Jan 2006 15:58:57 +0000 Darkvater (svn r3407) - Feature: Kick and ban now with IP numbers.
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Sun, 28 Aug 2005 12:24:57 +0000 tron (svn r2899) -Fix: Several format string vulnerabilities and buffer overflows in the network code
Fri, 29 Jul 2005 21:55:49 +0000 ludde (svn r2755) Fix: Fix a desync issue with autoreplace
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Thu, 21 Jul 2005 18:44:27 +0000 tron (svn r2663) Include variables.h only in these files which need it, not globally via openttd.h
Sat, 16 Jul 2005 14:29:36 +0000 ludde (svn r2590) Fix: [network] Fixed NetworkHandleLocalQueue
Sat, 16 Jul 2005 12:59:23 +0000 ludde (svn r2589) Fix: [network] Fixed static variable that wasn't initialized. Would stop the sync checking from working in some cases.
Sat, 16 Jul 2005 12:30:03 +0000 ludde (svn r2588) Codechange: Remove PLAYER_SEED_RANDOM
Fri, 15 Jul 2005 20:29:06 +0000 ludde (svn r2583) Move OS specific code out of misc.c
Thu, 14 Jul 2005 09:43:59 +0000 ludde (svn r2564) Fix: Fixed conceptual issue in network_gui.c. AllocateName is not meant to be used by GUI-code, because it modifies the "game-state".
Sat, 04 Jun 2005 07:35:12 +0000 tron (svn r2405) Simplify a few '? true : false' and '? false : true', especially the latter is confusing
Tue, 17 May 2005 16:01:19 +0000 truelight (svn r2337) -Fix: NetworkUDPRemoveAdvertise wasn't fully correct (which made Darkvater go crazy ;))
Mon, 02 May 2005 15:52:19 +0000 Darkvater (svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'.
Wed, 06 Apr 2005 18:44:34 +0000 Darkvater (svn r2157) - Feature (request): [ 1166978 ] Focus keyboard on input-box in Multiplayer Menu
Sat, 02 Apr 2005 15:08:31 +0000 Darkvater (svn r2126) - Fix: #2 Fix compilation with network disabled, and comment out some of the warnings (unused function) (I missed this out the last commit, sorry)
Wed, 30 Mar 2005 08:50:34 +0000 truelight (svn r2108) -Fix: the server now also unpause when a client desyncs or something
Tue, 29 Mar 2005 19:10:13 +0000 truelight (svn r2106) -Fix: improved the network-join algoritm, it is now a bit more stable
Wed, 09 Mar 2005 11:49:34 +0000 tron (svn r1970) Fix some warnings which Cygwin showed