players.c
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.
Thu, 12 Jan 2006 15:52:18 +0000 peter1138 (svn r3396) - Autoreplace changes:
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Mon, 02 Jan 2006 19:55:09 +0000 peter1138 (svn r3359) - Autoreplace GUI: When starting or stopping a replacement, redraw the replace window after the command has completed, rather than after calling the command.
Mon, 26 Dec 2005 15:41:24 +0000 peter1138 (svn r3343) Fix calculation of available rail types where all engines of a particular type are obsolete.
Wed, 14 Dec 2005 06:49:54 +0000 tron (svn r3300) Remove unreachable code - in this case some duplicate breaks
Sat, 26 Nov 2005 16:41:14 +0000 peter1138 (svn r3239) - Codechange: Introduce and use helper functions for engine replacement code.
Tue, 22 Nov 2005 15:55:38 +0000 truelight (svn r3226) -Fix: GPMI implementation had minor glitches
Mon, 21 Nov 2005 14:28:31 +0000 truelight (svn r3224) -Add: Allow the NewAI to work in Multiplayer Games (switchable via patch
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Mon, 14 Nov 2005 08:09:57 +0000 tron (svn r3177) GB, CLRBIT, HASBIT, TOGGLEBIT
Sun, 13 Nov 2005 21:16:34 +0000 tron (svn r3176) Use proper types, not some variants of int
Mon, 07 Nov 2005 23:20:47 +0000 bjarni (svn r3155) -Feature: [autoreplace] autoreplace can now remove cars from too long trains
Mon, 07 Nov 2005 17:31:21 +0000 Darkvater (svn r3154) - Fix: Last value of an array is lengthof-1; let's keep this at a typo, shall we :P
Mon, 07 Nov 2005 13:30:43 +0000 Darkvater (svn r3151) - Fix: showing the highscore might crash the game with an invalid string message in the case when a highscore file was used before certain strings were added.
Mon, 31 Oct 2005 11:22:52 +0000 peter1138 (svn r3109) Replace two occurrences of '256' with TOTAL_NUM_ENGINES
Tue, 25 Oct 2005 18:29:32 +0000 tron (svn r3087) Rewrite GetPlayerRailtypes() so it doesn't depend on magical numbers to sort out wagons
Sat, 22 Oct 2005 06:39:32 +0000 tron (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
Thu, 20 Oct 2005 17:43:13 +0000 tron (svn r3073) int/byte -> EngineID/PlayerID/VehicleID
Wed, 19 Oct 2005 06:46:41 +0000 tron (svn r3064) Replace some numbers by sprite names
Fri, 07 Oct 2005 07:35:15 +0000 tron (svn r3024) -Codechange: Another batch of replacements of int/uint/int16/byte/-1 with proper types and constants
Mon, 03 Oct 2005 21:20:01 +0000 tron (svn r3010) Get rid of quite some dubious casts, either by using GB(), proper types or just removing them
Fri, 30 Sep 2005 20:37:25 +0000 tron (svn r3001) s/Player*/const Player*/
Wed, 28 Sep 2005 19:35:36 +0000 tron (svn r2995) Replace 0xFF/0xFFFF with CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate
Sun, 18 Sep 2005 20:56:44 +0000 Darkvater (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Wed, 14 Sep 2005 18:03:38 +0000 Darkvater (svn r2951) - Fix: [ 1259345 ] Changing engine in netgame opens train window for everyone
Wed, 07 Sep 2005 15:10:11 +0000 truelight (svn r2921) -Codechange: moved all AI-code to 1 central place (ai/ai.c)