ai.c
Fri, 24 Jun 2005 12:38:35 +0000 tron (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Tue, 07 Jun 2005 21:37:00 +0000 Darkvater (svn r2433) - CodeChange: unmagicify all road/train crossings with IsLevelCrossing() function (peter1138)
Tue, 07 Jun 2005 18:13:49 +0000 tron (svn r2432) Use GetEngine() instead of DEREF_ENGINE() or even _engines[]
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.
Thu, 26 May 2005 19:43:56 +0000 tron (svn r2367) Remove some unused functions, probably was some debug stuff
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
Wed, 20 Apr 2005 22:30:40 +0000 Darkvater (svn r2217) - Fix: [ 1184201 ] AI orders its vehicles to a competitor's truck stop. Added a CmdFailed() check to all command returns of the AI instead of the simple == / != CMD_ERROR check. This should fix the problem.
Sun, 03 Apr 2005 13:57:39 +0000 darkvater (svn r2144) - Fix: AI crash when trying to remove stations with index higher than 256.
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.
Fri, 25 Mar 2005 17:30:54 +0000 Darkvater (svn r2066) - Fix: [ 1164248 ] game crash while AI builds bridge. Also protect bridge building against invalid bridges and some safeguards when drawing.
Mon, 07 Feb 2005 10:41:45 +0000 tron (svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more explicit types as parameters
Sun, 06 Feb 2005 22:36:08 +0000 matthijs (svn r1834) - Fix: NPF does not check the owner of its target, busses try to enter other players' depots. TODO
Sun, 06 Feb 2005 10:18:47 +0000 truelight (svn r1817) -Codechange: Moved depot-functions to depot.c
Mon, 31 Jan 2005 07:23:15 +0000 tron (svn r1749) Move the functions which calculate distances to map.[ch] and give the more meaningful names
Sun, 30 Jan 2005 13:42:11 +0000 bjarni (svn r1728) - Fix: now a player can only build a road vehicle in depots he owns (hacked client protection)
Sun, 30 Jan 2005 13:03:32 +0000 bjarni (svn r1727) - Fix: now CmdBuildRailVehicle() behaves correctly if DC_EXEC is set
Sat, 29 Jan 2005 19:41:44 +0000 celestar (svn r1721) -Feature: It is now possible to build multiple road stations (up to 8) on
Sat, 29 Jan 2005 18:22:07 +0000 darkvater (svn r1720) - Fix: signed/unsigned warnings. Tile which is incremented/decremented every time until suitable ground is found is compared to the direction it is going in. If this wraps, return error. For this treat the tile itself as a TileIndexDiff
Sat, 29 Jan 2005 12:19:05 +0000 tron (svn r1713) Split off several functions which query/set information about a single tile from map.h and put them into a seperate file tile.h
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
Mon, 24 Jan 2005 20:20:30 +0000 truelight (svn r1642) -Fix: solve AI related order-problem
Sat, 22 Jan 2005 20:23:18 +0000 tron (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Sun, 16 Jan 2005 14:42:53 +0000 truelight (svn r1544) -Fix: SwapOrder did not use AssignOrder, which caused the saveroutine to
Sun, 16 Jan 2005 11:24:58 +0000 tron (svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts
Sat, 15 Jan 2005 19:06:22 +0000 truelight (svn r1525) -Codechange: rewrote the _order_array, now it can be made dynamic.
Sun, 09 Jan 2005 21:25:44 +0000 tron (svn r1451) Fix some of the signed/unsigned comparison warnings
Fri, 07 Jan 2005 17:02:43 +0000 tron (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY]
Thu, 06 Jan 2005 22:31:58 +0000 truelight (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
Thu, 06 Jan 2005 11:39:00 +0000 tron (svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
Wed, 05 Jan 2005 13:32:03 +0000 tron (svn r1386) Move TileIndexDiff to map.h
Thu, 30 Dec 2004 10:03:35 +0000 truelight (svn r1301) -Codechange: _industries finally has FOR_ALL_INDUSTRIES too
Wed, 15 Dec 2004 22:18:54 +0000 tron (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
Wed, 08 Dec 2004 15:46:13 +0000 Celestar (svn r979) Allow more realistically sized catchment areas
Sun, 05 Dec 2004 21:30:58 +0000 darkvater (svn r960) -Fix: forgotten conversion of orders for the AI (Tron)
Sun, 05 Dec 2004 12:43:04 +0000 tron (svn r955) Replace uint16 for orders with struct Order
Sat, 04 Dec 2004 00:34:20 +0000 tron (svn r923) Forgot s/rail_vehinfo/RailVehInfo/
Fri, 03 Dec 2004 21:57:05 +0000 tron (svn r920) Replace vehicle info macros with inline functions and add asserts to check limits
Fri, 03 Dec 2004 07:43:00 +0000 tron (svn r907) Sprinkle holy ANSI water:
Fri, 19 Nov 2004 19:13:32 +0000 darkvater (svn r677) -newgrf: Fix some custom electric trains appearing in maglev depots (pasky).
Sun, 14 Nov 2004 19:44:06 +0000 tron (svn r607) -Patch: [ 985102 ] static cleanup
Fri, 10 Sep 2004 19:02:27 +0000 truelight (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
Fri, 10 Sep 2004 18:54:23 +0000 truelight (svn r193) -Fix: [OldAI] If service-interval is in %, it works correct now.
Sun, 05 Sep 2004 16:15:22 +0000 truelight (svn r160) -Codechange: made GetTileTrackStatus more readable (blathijs)
Tue, 17 Aug 2004 16:20:04 +0000 truelight (svn r77) -Fix: [1010788] AI service interval bug (tnx truesatan)
Wed, 11 Aug 2004 21:48:27 +0000 truelight (svn r22) Add: Competitors menu under patches
Wed, 11 Aug 2004 21:35:52 +0000 truelight (svn r21) Remove: PE_BYTE (bit-bools) in favour of PE_BOOL
Mon, 09 Aug 2004 17:04:08 +0000 truelight (svn r1) Import of revision 975 of old (crashed) SVN