player.h
Wed, 22 Mar 2006 22:38:29 +0000 matthijs (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers. 0.4
Sat, 30 Dec 2006 23:20:00 +0000 Darkvater (svn r7671) -Backport from trunk (r7560, r7561, r7566): 0.5
Sun, 03 Dec 2006 17:27:43 +0000 matthijs (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it.
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
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:48:34 +0000 Darkvater (svn r6787) -Codechange: Use PLAYER_NEW_COMPANY as a player identifier wishing to become a
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.
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 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.
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.
Tue, 15 Aug 2006 16:55:40 +0000 rubidium (svn r5919) -Cleanup: use the type Date when the variable really is a date
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Wed, 29 Mar 2006 16:30:26 +0000 celestar (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
Sun, 26 Mar 2006 22:25:29 +0000 Darkvater (svn r4129) - CodeChange: Add proper bool type for is_ai as well...it is a bool type.
Sun, 26 Mar 2006 22:23:32 +0000 Darkvater (svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.
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.
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
Sat, 26 Nov 2005 16:41:14 +0000 peter1138 (svn r3239) - Codechange: Introduce and use helper functions for engine replacement code.
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 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 12:01:41 +0000 peter1138 (svn r3110) Replace another 256 with TOTAL_NUM_ENGINES.
Thu, 20 Oct 2005 17:43:13 +0000 tron (svn r3073) int/byte -> EngineID/PlayerID/VehicleID
Mon, 17 Oct 2005 10:09:37 +0000 tron (svn r3054) Remove the unsused function GetNumRailtypes()
Sun, 16 Oct 2005 09:13:04 +0000 tron (svn r3049) Replace byte/int/uint by RailType where appropriate
Fri, 30 Sep 2005 20:37:25 +0000 tron (svn r3001) s/Player*/const Player*/
Fri, 23 Sep 2005 06:38:36 +0000 tron (svn r2973) Move a function declaration somewhere where it belongs
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
Sat, 06 Aug 2005 16:07:22 +0000 bjarni (svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Thu, 21 Jul 2005 19:36:43 +0000 tron (svn r2664) Remove depedency on player.h from variables.h
Wed, 20 Jul 2005 22:02:58 +0000 celestar (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
Fri, 24 Jun 2005 12:38:35 +0000 tron (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Tue, 21 Jun 2005 16:28:17 +0000 celestar (svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
Wed, 11 May 2005 00:00:27 +0000 Darkvater (svn r2290) - CodeChange: protect the next batch of commands. This brings us to a total of 61, which is 53% :)
Fri, 06 May 2005 06:56:30 +0000 tron (svn r2271) CMD_SET_PLAYER_FACE, CMD_SET_PLAYER_COLOR, CMD_INCREASE_LOAN, CMD_DECREASE_LOAN only make sense for the current player, so don't explicitly pass a player number
Sun, 27 Mar 2005 00:28:14 +0000 pasky (svn r2080) - Fix: [OldAI] p->ai.state_counter was uint16 but could hold a tile index, therefore overflowing - changed that to uint32 and bumped the savegame revision to 32. It *MIGHT* close bug 1151374 - it certainly caused AI to stop building anything sometimes.
Thu, 13 Jan 2005 16:28:47 +0000 darkvater (svn r1496) -Fix: highscore no longer crashes in network games with a dedicated server. At the end of the game (can only be set by the server) the highscore is shown for the top5 companies of that game
Wed, 12 Jan 2005 11:54:51 +0000 truelight (svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron)
Tue, 11 Jan 2005 00:54:06 +0000 darkvater (svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu)
Wed, 29 Dec 2004 13:13:29 +0000 miham (svn r1297) Language fixes in the source.. (ln-)
Sat, 11 Sep 2004 09:40:19 +0000 truelight (svn r201) -Fix: [1025836] Company values bigger dan int32 were put to negative
Wed, 01 Sep 2004 21:54:12 +0000 darkvater (svn r148) -Feature: Company HQ can now be moved somewhere else (cost 1% of company value). Water floods HQ.
Tue, 31 Aug 2004 16:12:52 +0000 truelight (svn r146) -Fix [AI]: Tunnel/bridge bug
Fri, 20 Aug 2004 09:32:32 +0000 truelight (svn r85) -Add: initial commit of new AI (enable in Patch menu)
Mon, 09 Aug 2004 17:04:08 +0000 truelight (svn r1) Import of revision 975 of old (crashed) SVN