players.c
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)
Fri, 02 Sep 2005 19:10:45 +0000 truelight (svn r2907) -Codechange: splitted the AIs to their own directory. AINew becomes 'trolly', AIOld becomes 'default', both in their own dir in the 'ai' dir. More AIs to come.
Sat, 06 Aug 2005 16:07:22 +0000 bjarni (svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside
Tue, 26 Jul 2005 19:34:03 +0000 tron (svn r2720) Remove unused declarations and definitions
Sun, 24 Jul 2005 15:56:31 +0000 celestar (svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Sat, 23 Jul 2005 06:51:26 +0000 tron (svn r2684) Correctly save and load company_value, it's 64 bits wide, not 32 bits
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
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
Thu, 21 Jul 2005 06:31:02 +0000 tron (svn r2660) Get rid of some more shifting/anding/casting
Wed, 20 Jul 2005 22:02:58 +0000 celestar (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
Wed, 20 Jul 2005 15:29:28 +0000 tron (svn r2650) Convert many explicit shifts+ands to extract bits to invocations of GB - should be a bit nicer to read
Mon, 18 Jul 2005 23:33:14 +0000 truelight (svn r2629) -Codechange: removed stupid comment on top of players.c
Sun, 17 Jul 2005 18:11:17 +0000 Darkvater (svn r2617) - Fix: fix some warnings, and reenable vs.net2003 signed/unsigned warnings
Sun, 17 Jul 2005 15:34:10 +0000 truelight (svn r2606) -Codechange: renamed ai.c to ai_old.c, and ai.h to ai_new.h to make room
Sun, 17 Jul 2005 13:34:19 +0000 truelight (svn r2602) -Codechange: removed unused variable (disable_computer)
Fri, 15 Jul 2005 18:30:13 +0000 ludde (svn r2580) Change: Added {INDUSTRY} command for printing industry names instead of the old {TOWN} {STRING} way.
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
Sat, 04 Jun 2005 11:56:32 +0000 tron (svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix some bogus reads of _map_owner
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Mon, 30 May 2005 22:16:05 +0000 Darkvater (svn r2387) - CodeChange: made the saveload code more readable and also removed the 'byte' saveload arrays which means you can save an array of more than 255 elements, or bigger structs than 255 bytes. This doesn't yet solve the problem that a chunk can be a maximum of 16384 big.
Tue, 17 May 2005 18:22:59 +0000 Darkvater (svn r2339) - Fix: on a dedicated server, after the joining of a player, the player was set to player 0 instead of remaining OWNER_SPECTATOR. Fix this, and allow the dedicated server to execute commands (so 'patch <value>') now works and not only when a client is connected.
Sun, 15 May 2005 18:50:55 +0000 tron (svn r2324) Introduce _cmd_text for passing strings with a command instead of abusing _decode_parameters as text buffer. This should prevent several possible buffer overruns and is a bit cleaner to use. As bonus it reduces the size of most command packets by 79 bytes.
Sat, 14 May 2005 23:48:39 +0000 Darkvater (svn r2316) - Fix: [ 1154454 ] Fix BeOS build on Trunk (myob)
Thu, 12 May 2005 23:46:01 +0000 Darkvater (svn r2300) - CodeChange: check the last number of commands, now only the refit ones remain, and some server-only commands.
Wed, 11 May 2005 12:46:19 +0000 Darkvater (svn r2291) - Fix (regression): When a client joined it changed the server-player's name. Funny effect; but not desired. Thanks for pointing it out Tron. It needed a bit of hacking, but is not less of a hack than the one used before :)
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.
Tue, 22 Feb 2005 20:32:26 +0000 Darkvater (svn r1906) - Fix: [ 1117327 ] Assertion error on kick. When a company is cleaned all its windows need to be closed. For global vehicle lists, the no-staiton index of -1 was not taken into account
Sun, 06 Feb 2005 22:25:27 +0000 tron (svn r1833) byte -> char transition: the rest
Sun, 06 Feb 2005 13:41:02 +0000 tron (svn r1821) Move generic string handling functions to string.[ch] and introduce stre{cpy,cat}, see string.h for their semantics
Sun, 06 Feb 2005 08:18:00 +0000 tron (svn r1813) Declare functions implemented in strings.c in their own shiny new header (though i think some of these function don't belong into strings.c)
Sat, 05 Feb 2005 22:50:33 +0000 tron (svn r1808) Use strcmp() instead of home brewed function str_eq()
Tue, 25 Jan 2005 21:43:57 +0000 tron (svn r1676) Increase the size of TileIndex and TileIndexDiff to 32bits and adapt the save/load data and some other parts of the code to that change