ai/default/default.c
Thu, 15 Jun 2006 14:16:57 +0000 tron (svn r5279) -Backport: r4116 0.4
Sat, 20 May 2006 17:35:11 +0000 Darkvater (svn r4925) - Backport from trunk (r4911): 0.4
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
Thu, 28 Dec 2006 17:21:22 +0000 celestar (svn r7597) [cbh] - Codechange: Remove MP_TUNNELBRIDGE and introduce three new TileTypes: MP_TUNNEL, MP_STREET_BRIDGE, MP_RAILWAY_BRIDGE custombridgeheads
Wed, 27 Dec 2006 13:48:57 +0000 celestar (svn r7575) -Codechange: Allow the AI to build signals under bridges (revert r4911)
Wed, 27 Dec 2006 12:38:02 +0000 celestar (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals)
Mon, 20 Aug 2007 15:17:24 +0000 glx (svn r10952) [0.5] -Backport from trunk (r10877, r10890, r10892, r10942, r10948): 0.5
Tue, 10 Apr 2007 09:49:41 +0000 truelight (svn r9583) [0.5] -Backport from trunk (r9529, r9533, r9540, r9541): 0.5
Mon, 19 Mar 2007 20:38:26 +0000 rubidium (svn r9351) [0.5] -Backport from trunk (r9147, r9205, r9251, r9298): 0.5
Tue, 05 Dec 2006 13:58:20 +0000 matthijs (svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface.
Sun, 05 Nov 2006 22:49:34 +0000 peter1138 (svn r7073) -Feature: Add cargo refit support to both AIs for road vehicles
Sun, 05 Nov 2006 21:50:08 +0000 peter1138 (svn r7070) -Codechange: Make the AI choose road vehicles based on a rating (currently max speed * capacity) instead of either the cost or the index of the vheicle.
Sun, 05 Nov 2006 18:42:25 +0000 KUDr (svn r7069) -Fix: AI tried to build road from the back or side of road stop/depot (peter1138)
Fri, 03 Nov 2006 23:06:54 +0000 peter1138 (svn r7057) -Codechange: Remove hardcoded lists of road vehicles for each cargo type in favour of just checking the cargo type of each vehicle.
Tue, 31 Oct 2006 17:13:12 +0000 glx (svn r7020) -Fix r6047: AI tries to delete stations that are 'in use' because FOR_ALL_STATIONS skips invalid stations
Sat, 14 Oct 2006 15:15:56 +0000 Darkvater (svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and
Tue, 05 Sep 2006 23:43:42 +0000 Darkvater (svn r6407) -Fix: Check return values of DoCommand() with CmdFailed and that of DoCommandP
Tue, 05 Sep 2006 23:21:41 +0000 Darkvater (svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts
Sun, 03 Sep 2006 08:25:27 +0000 tron (svn r6353) -Codechange: Make DestinationID a typedef of uin16, which is as large as any type of destinataion (StationID, DepotID, WaypointID) it can hold
Thu, 31 Aug 2006 15:57:38 +0000 Darkvater (svn r6280) -Codechange: Use the same naming for trains as for other vehicles:
Mon, 28 Aug 2006 18:53:03 +0000 rubidium (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
Sat, 26 Aug 2006 16:34:03 +0000 truelight (svn r6142) -Codechange: added WaypointID (sorry DV, couldn't splits it anymore)
Tue, 22 Aug 2006 21:14:45 +0000 truelight (svn r6057) -Codechange: made a function GetRandomXXX, that _always_ returns a valid XXX, unless there are none to pick from. Then NULL is returned.
Tue, 22 Aug 2006 20:41:26 +0000 truelight (svn r6055) -Codechange: added GetXXXArraySize, which returns HighestID + 1 (or, will do that).
Tue, 22 Aug 2006 15:33:35 +0000 truelight (svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones
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.
Tue, 22 Aug 2006 12:15:51 +0000 truelight (svn r6043) -Codechange: use wrapper if they are available
Sun, 20 Aug 2006 12:39:17 +0000 rubidium (svn r5975) -Cleanup: use ORIGINAL_BASE_YEAR & ORIGINAL_MAX_YEAR where the functions really depend on the original date format.
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
Wed, 14 Jun 2006 11:26:56 +0000 tron (svn r5263) Use the flag which denotes if it's a plane or helicopter instead of magical engine numbers
Sun, 11 Jun 2006 21:19:51 +0000 KUDr (svn r5228) Suppress MSVC warnings about signed/unsigned comparison
Sun, 11 Jun 2006 07:17:43 +0000 tron (svn r5222) Misc. smaller changes, mostly const, variable scope and replacing some magic numbers by enums
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.
Wed, 07 Jun 2006 19:35:21 +0000 tron (svn r5155) - Remove the bridge branch merge (revision r5070)
Mon, 05 Jun 2006 15:47:08 +0000 tron (svn r5129) Accommodate the default AI for the new railtype: It used hard coded numbers instead of enums to calculate prices
Mon, 05 Jun 2006 15:29:47 +0000 tron (svn r5128) Remove the global variable _cur_ai_player
Mon, 05 Jun 2006 14:54:23 +0000 tron (svn r5127) Use IsRoadVehInDepotStopped() and IsAircraftInHangarStopped()
Sun, 04 Jun 2006 09:28:33 +0000 tron (svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough.
Fri, 02 Jun 2006 13:05:41 +0000 celestar (svn r5070) Merged the bridge branch
Sat, 20 May 2006 15:13:27 +0000 tron (svn r4918) Move the information about the size of airports from an global array into the struct which describes an airport
Fri, 19 May 2006 12:08:01 +0000 celestar (svn r4911) -Fix (FS#156): The Ai no longer attempts to build signals under bridges.
Tue, 09 May 2006 08:25:31 +0000 rubidium (svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency
Tue, 09 May 2006 08:17:33 +0000 rubidium (svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
Sun, 23 Apr 2006 19:08:33 +0000 tron (svn r4553) int and magic numbers -> Slope and DiagDirection
Fri, 21 Apr 2006 17:51:01 +0000 celestar (svn r4502) -Cleanup: Remove code unused since rev1. (Rubidium)
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
Sat, 08 Apr 2006 01:07:32 +0000 belugas (svn r4318) CodeChange : Remove last direct map access on ai/default/default.c
Wed, 29 Mar 2006 19:03:47 +0000 celestar (svn r4154) -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes two drops ...
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:56:58 +0000 Darkvater (svn r4132) - Missed 3 CargoID's
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.
Sun, 26 Mar 2006 19:20:15 +0000 tron (svn r4120) Use the new station functions where appropriate
Sun, 26 Mar 2006 18:48:23 +0000 tron (svn r4116) -Fix: The AI should send a plane into a hangar if it's not in a hangar _or_ not stopped, not when it's not in a hangar _and_ not stopped
Fri, 24 Mar 2006 08:55:08 +0000 tron (svn r4079) Add GetSation{Index,ByTile}() to get the station index resp. the station from a tile
Sun, 19 Mar 2006 13:48:08 +0000 tron (svn r3981) More work for the rail accessing functions and enums
Thu, 16 Mar 2006 15:16:27 +0000 tron (svn r3907) Replace many bridge related direct map accesses with calls to shiny new functions and mark some strange constructs with XXX
Wed, 15 Mar 2006 16:44:50 +0000 tron (svn r3887) Add a function to get the other bridge end when you're at a bridge ramp
Tue, 14 Mar 2006 12:00:11 +0000 tron (svn r3857) Add and use GetBridgeRampDirection()
Sun, 12 Mar 2006 16:13:16 +0000 tron (svn r3831) Add and use GetRailDepotDirection()