pathfind.c
Sat, 18 Mar 2006 15:31:34 +0000 Darkvater (svn r3958) Change HASBIT() to return 0/1 instead of 0/value of tested bit. Backport of r3747 from trunk 0.4.5
Mon, 01 Jan 2007 15:04:35 +0000 peter1138 (svn r7718) -Fix (runknown): When pathfinding onto a bridge or tunnel end from
Mon, 01 Jan 2007 14:58:27 +0000 peter1138 (svn r7717) -Fix (runknown): When following path for signals, don't skip back to the
Mon, 01 Jan 2007 14:53:57 +0000 peter1138 (svn r7716) -Revert r7620: Changes introduced more problems than they fixed (and a goto?)
Fri, 29 Dec 2006 17:51:16 +0000 KUDr (svn r7620) -Fix: [OPF] signal update was incorrectly propagated:
Tue, 02 Jan 2007 18:40:37 +0000 KUDr (svn r7755) [cbh] - Fix: [NTP] now works with cbh (needs testing) custombridgeheads
Tue, 02 Jan 2007 11:41:17 +0000 KUDr (svn r7744) [cbh] - Fix: signal update didn't work when new tunnel built (peter1138) custombridgeheads
Tue, 02 Jan 2007 02:06:48 +0000 KUDr (svn r7737) [cbh] - Fix: signal updates are now propagated through cbh custombridgeheads
Mon, 01 Jan 2007 16:31:13 +0000 celestar (svn r7721) [cbh] - Sync with 7607:7720 from trunk custombridgeheads
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 12:38:02 +0000 celestar (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals)
Tue, 26 Dec 2006 17:36:18 +0000 Darkvater (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
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().