npf.c
Fri, 10 Aug 2007 17:53:12 +0000 rubidium (svn r10841) [0.5] -Backport from trunk (r10835, r10593, r10500, r10497, r10410, r10357, r10199): 0.5
Wed, 06 Sep 2006 01:56:01 +0000 glx (svn r6408) -Fix(r6406): compilation was broken
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
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.
Sun, 27 Aug 2006 22:08:40 +0000 glx (svn r6179) - Silence the old npf warnings
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 15:33:35 +0000 truelight (svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Mon, 19 Jun 2006 20:13:50 +0000 tron (svn r5317) s/RGT_/ROADSIDE_/ and some minor changes
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.
Fri, 09 Jun 2006 14:37:28 +0000 peter1138 (svn r5196) - Codechange: replace two incorrect uses of TILE_HEIGHT with TILE_SIZE / 2
Wed, 07 Jun 2006 19:35:21 +0000 tron (svn r5155) - Remove the bridge branch merge (revision r5070)
Mon, 05 Jun 2006 08:34:39 +0000 tron (svn r5116) Move the overly generic GetDepotDirection() from a header to its only consumer
Fri, 02 Jun 2006 13:05:41 +0000 celestar (svn r5070) Merged the bridge branch
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
Sat, 22 Apr 2006 13:56:16 +0000 Darkvater (svn r4529) - Codechange: Use proper naming for hex numbers in debug prints eg. 0xF3A6. Use fixed lengths where applicable (newgrf). Unfortunately '%#X' is unusable since it gives 0XFF3 and '%#x' gives 0xff3 while we want 0xFF3 :P
Wed, 12 Apr 2006 15:08:27 +0000 matthijs (svn r4389) -Fix: [NPF] Don't mark tiles when debugging in multiplayer, this will cause desyncs.
Wed, 12 Apr 2006 14:17:07 +0000 celestar (svn r4387) -Codechange: Use map accessors even for debugging purposes (npf).
Wed, 12 Apr 2006 08:28:03 +0000 celestar (svn r4376) -Codechange Renamed GetSignalState to GetSignalStateByTrackdir
Mon, 10 Apr 2006 20:46:37 +0000 tron (svn r4349) Remove GetCrossingTransportType(), it's slightly overkill
Tue, 04 Apr 2006 11:35:52 +0000 celestar (svn r4272) -Codechange: Moved the map-accessing stuff from station.h into station_map.h
Fri, 31 Mar 2006 19:10:54 +0000 celestar (svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and moved them to station_map.h to keep consistency
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 11:08:44 +0000 tron (svn r4111) Fix/Remove some stale comments
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
Thu, 23 Mar 2006 17:49:50 +0000 matthijs (svn r4071) - Fix: [NPF] Trains & busses were unable to find a route when leaving a depot or bus stop. Small omission from r4023 (fix by glx)
Wed, 22 Mar 2006 16:37:59 +0000 matthijs (svn r4023) - Fix: [ 1453646 NPF ] Road vehicles planning through the back of depots and stations.
Fri, 17 Mar 2006 06:26:37 +0000 tron (svn r3912) Move the signal type enum and GetSignalType() to rail_map.h; also add SetSignalType() and use the functions
Thu, 16 Mar 2006 15:28:44 +0000 tron (svn r3908) Fix last commit (I'm saying that way too often *sigh*) (Pointed out by Celestar)
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
Sat, 11 Mar 2006 09:10:46 +0000 tron (svn r3816) Use existing accessors
Mon, 06 Mar 2006 20:55:24 +0000 tron (svn r3777) Add some functions to handle tunnels
Sun, 05 Mar 2006 12:34:55 +0000 tron (svn r3767) Move all direction related enums and functions to a separate header
Fri, 03 Mar 2006 20:54:54 +0000 tron (svn r3750) Use INVALID_STATION instead of -1 in NPF
Tue, 21 Feb 2006 01:15:59 +0000 Darkvater (svn r3642) There is a 'npf' debug level for a reason, use that instead of bastardizing 'misc'. Also, pointers are checked against NULL in an if-statement
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, 01 Feb 2006 06:32:03 +0000 tron (svn r3510) Fiddle with whitespace and parentheses
Sun, 29 Jan 2006 18:57:26 +0000 Darkvater (svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
Tue, 24 Jan 2006 18:38:06 +0000 peter1138 (svn r3426) - Fix typo from r3019 -- only affected NPF debugging.
Thu, 08 Dec 2005 09:12:25 +0000 hackykid (svn r3271) Remove some debug statements of mine which somehow got into svn.
Sat, 05 Nov 2005 18:32:21 +0000 peter1138 (svn r3142) Remove a now invalid case fall-through and use helper function instead of map access.
Wed, 05 Oct 2005 07:20:26 +0000 tron (svn r3019) -Codechange: Replace explicit shifting/anding/oring with GB and SB
Sun, 11 Sep 2005 15:01:00 +0000 tron (svn r2942) Staticise some functions
Fri, 09 Sep 2005 23:14:38 +0000 matthijs (svn r2929) * Move DistanceTrack from map.c to npf.c and rename to NPFDistanceTrack.
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Sat, 23 Jul 2005 19:48:24 +0000 tron (svn r2696) Remove stray semicolons
Fri, 22 Jul 2005 08:40:19 +0000 hackykid (svn r2674) - CodeChange: [pbs] Generalise the PSBISPbsDepot function so it can check if an arbitrary junction is a pbs junction. Preparations for making pbs more safe.
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Sun, 17 Jul 2005 20:09:02 +0000 hackykid (svn r2625) - Fix: [pbs] Store the end of a train's reserved path explicitly. Prevents trains from unreserving eachothers paths in some cases.
Fri, 15 Jul 2005 21:28:26 +0000 Darkvater (svn r2585) - Fix [Makefile]: some small cleanups, remove warnings, and add mersenne to makefile (Luca)
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.
Sat, 09 Jul 2005 11:39:35 +0000 hackykid (svn r2538) - Fix: Use IsCompatibleRailType() function instead of checking this yourself.
Mon, 04 Jul 2005 15:25:06 +0000 hackykid (svn r2517) - Fix: [pbs] Detect end-of-lines properly regarding depots.
Mon, 04 Jul 2005 14:58:55 +0000 hackykid (svn r2516) - Feature: [pbs] Implement path-based-signalling. This allows multiple trains within the same signal block, provided their paths dont intersect. For this the block must have all exit and entry signals be pbs signals. Place these by ctrl-clicking 4 times on a normal signal.
Sun, 03 Jul 2005 13:02:54 +0000 matthijs (svn r2514) - Codechange: [NPF] Move the checking of railtype into a funciton IsCompatibleRail().
Sat, 25 Jun 2005 19:08:58 +0000 tron (svn r2489) static, bracing style and use clamp()
Sat, 25 Jun 2005 16:44:57 +0000 tron (svn r2487) Replace TILE_XY by TileXY/TileDiffXY