pathfind.c
Thu, 28 Jun 2007 14:31:46 +0000 rubidium (svn r10374) [0.5] -Backport from trunk (r10333, r10336, r10337, r10345, 10346, 10368): 0.5
Sun, 07 Jan 2007 14:10:56 +0000 Darkvater (svn r7963) -Backport from trunk (r7716, r7717, r7718): 0.5
Sun, 31 Dec 2006 00:52:33 +0000 Darkvater (svn r7684) -Backport from trunk (r7620): 0.5
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, 22 Sep 2006 21:52:31 +0000 glx (svn r6495) -Codechange: removed direct map access in pathfind.c
Tue, 05 Sep 2006 23:21:41 +0000 Darkvater (svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts
Sat, 26 Aug 2006 21:54:04 +0000 Darkvater (svn r6159) -Fix: FindClosestTrainDepot hardly ever found a depot with NPF off due to absence of distance-normalization (Rojer)
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.
Wed, 28 Jun 2006 06:10:20 +0000 tron (svn r5396) - Remove two fixed parameters
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)
Fri, 02 Jun 2006 13:05:41 +0000 celestar (svn r5070) Merged the bridge branch
Sat, 27 May 2006 16:12:16 +0000 KUDr (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
Tue, 23 May 2006 20:02:52 +0000 peter1138 (svn r4964) - Fix NTP over bridges: don't check the rail type when on a bridge
Sat, 13 May 2006 11:24:15 +0000 peter1138 (svn r4859) - Pathfinder: fix issue with train pathfinding over level crossings.
Wed, 10 May 2006 09:38:29 +0000 celestar (svn r4812) -Fix (FS#161) NTP properly checks for railtypes on non-plain-rail-tiles (Rubidium)
Wed, 03 May 2006 16:18:45 +0000 KUDr (svn r4715) - Fix: (FS#109) ? Wrongfully bad signal - Don't allow OPF to enter train depot from the back
Sat, 22 Apr 2006 05:36:22 +0000 celestar (svn r4515) -Codechange: TPFMode2 is currently only used for TRANSPORT_WATER. So remove all stuff that deals with other transport types and assert TRANSPORT_WATER
Sun, 02 Apr 2006 18:03:48 +0000 tron (svn r4245) Simplify FindLengthOfTunnel()
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, 19 Mar 2006 12:06:12 +0000 tron (svn r3979) Move GetRailFoundation() to rail_map.h and use it and friends to get information about rail tiles
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
Sun, 12 Mar 2006 15:04:03 +0000 tron (svn r3830) Move IsTunnelTile() from tile.h to tunnel_map.h and add IsTunnel(), which just checks for a tunnel, but not the tile type as IsTunnelTile() does
Wed, 08 Mar 2006 06:55:33 +0000 tron (svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends
Mon, 06 Mar 2006 20:55:24 +0000 tron (svn r3777) Add some functions to handle tunnels
Mon, 06 Mar 2006 20:28:28 +0000 tron (svn r3776) Replace many ints and magic numbers by Direction, DiagDirection and friends
Fri, 03 Mar 2006 19:42:09 +0000 tron (svn r3747) Change HASBIT() to return 0/1 instead of 0/value of tested bit, because the name suggests it does the former and current behavior broke in some places in very subtle ways (for example HASBIT(x, 0) != HASBIT(y, 1) doesn't work, returning a bool after HASBIT(x, 9) neither)
Wed, 01 Mar 2006 09:40:34 +0000 tron (svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in which direction a pieces of rail goes
Mon, 13 Feb 2006 21:56:49 +0000 truelight (svn r3599) -Fix: added some casts to suppress some more warnings
Mon, 13 Feb 2006 21:15:00 +0000 tron (svn r3597) Miscellaneous (I like that word) changes: Fix some indentation, add consts, reduce indentation level by short-circuit logic, convert if cascades to switch, whitespace, bracing, plus some minor stuff
Wed, 01 Feb 2006 07:36:15 +0000 tron (svn r3511) More whitespace ([FS#46] by Rubidium)
Wed, 21 Dec 2005 13:53:44 +0000 matthijs (svn r3329) - Doc: Some documentation cleanups.
Tue, 20 Dec 2005 00:50:16 +0000 matthijs (svn r3321) - Fix: A wrong use of the map m5 bits, where a previously calculated "bits" variable should have been used. This resulted in the pathfinder imagining junctions, which negatively affects performance somewhat (Darkvater).
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
Wed, 05 Oct 2005 07:20:26 +0000 tron (svn r3019) -Codechange: Replace explicit shifting/anding/oring with GB and SB
Tue, 04 Oct 2005 06:34:39 +0000 tron (svn r3012) Extract the correct bits when checking if it's a road or rail tunnel; this is not flagged as fix, because it accidently worked
Mon, 01 Aug 2005 16:31:19 +0000 ludde (svn r2781) Fix some of the issues with variables in .h files.
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Thu, 21 Jul 2005 18:44:27 +0000 tron (svn r2663) Include variables.h only in these files which need it, not globally via openttd.h
Wed, 20 Jul 2005 09:31:46 +0000 ludde (svn r2647) Fix: [ntp] Fix assertion error introduced in r2635
Wed, 20 Jul 2005 09:17:20 +0000 ludde (svn r2646) Change: [ntp] Fix uninitialized variable and add some more asserts to be able to debug an assert error.
Tue, 19 Jul 2005 11:42:40 +0000 ludde (svn r2635) Fix: [ntp/misc] Improve the old pathfinder. Changed it to A* instead of Dijkstra.
Wed, 13 Jul 2005 18:04:01 +0000 tron (svn r2558) Change the internal map format from 7 arrays to one array of structs, this doesn't change the saved format for now. It's a stepping stone for further changes.
Tue, 12 Jul 2005 21:13:30 +0000 tron (svn r2555) Initialise since r2553 uninitialised variable and remove since r2553 unused array (ludde)
Tue, 12 Jul 2005 20:41:17 +0000 ludde (svn r2554) - Fix: [pathfinding] Change to using some helper functions for checking the railtype.
Tue, 12 Jul 2005 20:28:19 +0000 ludde (svn r2553) - Fix: [pathfinding] Remove old-old train pathfinder. Enhanced old pathfinder.
Sun, 03 Jul 2005 13:02:54 +0000 matthijs (svn r2514) - Codechange: [NPF] Move the checking of railtype into a funciton IsCompatibleRail().
Mon, 27 Jun 2005 06:57:24 +0000 tron (svn r2492) Remove some pointless casts and fix some nearby indentation
Sat, 25 Jun 2005 06:15:43 +0000 tron (svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY
Fri, 24 Jun 2005 12:38:35 +0000 tron (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
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.
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
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
Sun, 16 Jan 2005 11:18:17 +0000 truelight (svn r1535) -Fix: bah, I hate to be wrong.. oh, euh, wrong copy/paste from TPFMode 1
Mon, 10 Jan 2005 22:14:35 +0000 tron (svn r1475) Fix some more 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 17:14:37 +0000 truelight (svn r1400) -Fix: signal stays red if a track is removed (Darkvater / Tron / TrueLight)
Wed, 05 Jan 2005 18:59:02 +0000 tron (svn r1391) Make an assert map size agnostic