players.c
Sat, 18 Mar 2006 15:17:57 +0000 Darkvater (svn r3952) - Fix: On loading a game, GetPlayerRailtypes() didn't account for the fact that vehicles are introduced a year after their introduction date. This will also relieve possible (rare) network desyncs. Backport of r3565 from trunk 0.4.5
Wed, 03 Jan 2007 08:32:17 +0000 celestar (svn r7789) [cbh] - Sync with r7720:7758 from trunk custombridgeheads
Mon, 01 Jan 2007 16:31:13 +0000 celestar (svn r7721) [cbh] - Sync with 7607:7720 from trunk custombridgeheads
Tue, 26 Dec 2006 12:56:48 +0000 rubidium (svn r7561) -Fix (FS#431): core and (patches) GUI were not in-sync with respect to autorenew settings. This is only a temporary fix, as the definite fix needs to move the autorenew settings to a per-company settings window.
Tue, 26 Dec 2006 11:47:31 +0000 rubidium (svn r7560) -Fix (r2300): p2 is not a PlayerID when creating a new company, but the ClientID (index in _network_client_info). Therefore it was not possible to create a new company if 8 or more clients were connected. Thanks to FlashFF for noticing this bug.
Fri, 22 Jun 2007 22:15:49 +0000 truelight (svn r10285) [0.5] -Backport from trunk (r10284): 0.5
Fri, 22 Jun 2007 21:06:51 +0000 rubidium (svn r10282) [0.5] -Fix: compilation without networking support. 0.5
Tue, 10 Apr 2007 09:49:41 +0000 truelight (svn r9583) [0.5] -Backport from trunk (r9529, r9533, r9540, r9541): 0.5
Sun, 07 Jan 2007 11:34:20 +0000 Darkvater (svn r7944) -Backport from trunk (r7692): 0.5
Sat, 30 Dec 2006 23:20:00 +0000 Darkvater (svn r7671) -Backport from trunk (r7560, r7561, r7566): 0.5
Mon, 13 Nov 2006 20:33:51 +0000 bjarni (svn r7138) -Fix: [vehicle list windows] fixed a rare crash where having some (not all) vehicle list windows open for a player, that goes bankrupt would crash the game
Sat, 11 Nov 2006 23:08:07 +0000 Darkvater (svn r7131) -Fix (r7126) which fixes (r2817) the activating of a function call that was
Fri, 10 Nov 2006 18:34:19 +0000 Darkvater (svn r7126) -Synchronize the engine-renew settings of a player when joining a multiplayer game.
Fri, 10 Nov 2006 17:52:51 +0000 Darkvater (svn r7125) -Fix: Several errors/glitches related to multiplayer and bankrupcy, mainly such a
Tue, 24 Oct 2006 22:23:08 +0000 Darkvater (svn r6932) -Codechange: Send server messages with format NETWORK_ACTION_SERVER_MESSAGE so it is
Sun, 22 Oct 2006 19:56:26 +0000 peter1138 (svn r6897) - Fix (r6884): Another wrong last parametr :)
Sat, 21 Oct 2006 23:31:34 +0000 Darkvater (svn r6884) -Codechange: Add strict bounds checking in string formatting system.
Tue, 17 Oct 2006 22:16:46 +0000 Darkvater (svn r6814) -Codechange: For network games ci->client_playas was always p->index + 1. To
Tue, 17 Oct 2006 17:59:41 +0000 Darkvater (svn r6803) -Codechange: Substitute magic numbers by an enum for the news windows
Sun, 15 Oct 2006 23:35:26 +0000 Darkvater (svn r6784) -Codechange: Change invalid PlayerID type into ClientID which it is in CmdPlayerCtrl
Sun, 15 Oct 2006 17:01:19 +0000 Darkvater (svn r6780) -Codechange: Remove GPMI leftovers (-b impersonisation of AI in MP).
Sat, 14 Oct 2006 22:31:18 +0000 Darkvater (svn r6776) -Codechange: Use IsValidPlayer() function to determine of a PlayerID is an
Sat, 14 Oct 2006 22:22:48 +0000 Darkvater (svn r6775) -Codechange: Use some more proper types, especially Owner and PlayerID as
Sat, 14 Oct 2006 15:49:43 +0000 Darkvater (svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPECTATOR and
Sat, 14 Oct 2006 15:15:56 +0000 Darkvater (svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and
Thu, 12 Oct 2006 11:42:57 +0000 Darkvater (svn r6748) -Codechange: Use already existing function to count active players.
Thu, 28 Sep 2006 07:02:55 +0000 peter1138 (svn r6544) - Codechange: Rename CmdReplaceVehicle to CmdSetAutoReplace, to reflect what it does.
Sat, 16 Sep 2006 13:20:14 +0000 Darkvater (svn r6462) -Codechange: Have GetStringWidth() return width as well as the height bounding
Fri, 15 Sep 2006 21:02:44 +0000 peter1138 (svn r6458) - Fix (r6457): ... but close the colour window if the company is removed. (Thanks Rubidium)
Fri, 15 Sep 2006 12:27:00 +0000 peter1138 (svn r6455) - Feature: Add 2cc (two company colours) livery schemes. This replaces the original colour selection window and bumps the saveload version. Liveries are supported for all vehicles, not just those with 2cc support. Thanks to lakie for GUI inspiration.
Fri, 08 Sep 2006 19:38:12 +0000 bjarni (svn r6430) -Fix r6424: fixed failure to init the whole array of engines when starting a new player
Fri, 08 Sep 2006 10:47:39 +0000 bjarni (svn r6424) -Codechange: [autoreplace] removed a loop though all vehicles from each time the window is redrawn
Mon, 04 Sep 2006 20:40:33 +0000 rubidium (svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
Tue, 29 Aug 2006 19:26:13 +0000 tron (svn r6222) Remove struct ColorList, because the names of its attributes are plain confusing
Mon, 28 Aug 2006 06:21:48 +0000 tron (svn r6183) Move GetDrawStringPlayerColor() out of gfx.[ch]
Tue, 22 Aug 2006 14:38:37 +0000 rubidium (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Sun, 20 Aug 2006 18:40:57 +0000 rubidium (svn r5999) -Feature: change the original date format to a 32 bits format based at the year 0.
Sun, 20 Aug 2006 12:09:32 +0000 truelight (svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)
Wed, 16 Aug 2006 11:39:55 +0000 rubidium (svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920
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]
Mon, 14 Aug 2006 11:44:19 +0000 Darkvater (svn r5886) -Fix [FS#273]: Incomplete removal of player owned property due to lack of money.
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Wed, 14 Jun 2006 11:05:30 +0000 tron (svn r5262) Add symbolic names for the aircraft subtypes. not perfect, but better than raw numbers
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.
Fri, 19 May 2006 19:36:17 +0000 KUDr (svn r4915) - Fix: SLE_UINT8 replaced by SLE_BOOL for bool variables (found by Celestar)
Mon, 10 Apr 2006 07:15:58 +0000 tron (svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex
Fri, 31 Mar 2006 12:59:43 +0000 peter1138 (svn r4201) - Codechange: Do for _engine_info[] what we do for _*_vehicle_info[]; create and use a function to retrieve data, and ensure constness.
Mon, 27 Mar 2006 14:28:56 +0000 belugas (svn r4136) CodeChange : Revert part of r4092 (as spotted by Tron) and clean-up a little further
Fri, 24 Mar 2006 18:16:39 +0000 belugas (svn r4092) CodeChange : Named sprites instead of magic numbers plus create/use helper macro/enum for recoloring scheme
Thu, 16 Mar 2006 00:20:33 +0000 Darkvater (svn r3895) - Add proper SLE(G)_CONDNULL macros for the empty space reservation in savegames and update where used
Mon, 20 Feb 2006 19:43:26 +0000 Darkvater (svn r3627) - Change all hardcoded 255 max-saveload versions with the define SL_MAX_VERSION
Mon, 06 Feb 2006 23:28:07 +0000 Darkvater (svn r3568) - Fix: constantizing side-effect of qsort in r3563. Ugly? Yes. Makes MSVC happy? Yes.
Mon, 06 Feb 2006 10:05:41 +0000 peter1138 (svn r3565) - Fix: On loading a game, GetPlayerRailtypes() didn't account for the fact that vehicles are introduced a year after their introduction date. This will also relieve possible (rare) network desyncs.
Mon, 06 Feb 2006 08:43:05 +0000 tron (svn r3563) Simplify the code for calculating the highscore table in network games and saving of old ecenomy data
Mon, 06 Feb 2006 08:28:31 +0000 tron (svn r3562) Remove pointless buffer copies
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 12:52:07 +0000 peter1138 (svn r3468) - Fix: Rail type availability should take climate type into account.
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.