KUDr 
							
						 
					 
					
						
						
							
						
						d7a56088a5 
					 
					
						
						
							
							(svn r7069) -Fix: AI tried to build road from the back or side of road stop/depot (peter1138)  
						
						
						
						
					 
					
						2006-11-05 18:42:25 +00:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						ec48e0a72b 
					 
					
						
						
							
							(svn r6495) -Codechange: removed direct map access in pathfind.c  
						
						
						
						
					 
					
						2006-09-22 21:52:31 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						7e4d0f112e 
					 
					
						
						
							
							(svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts  
						
						... 
						
						
						
						DiagDirections, and add TileOffsByDir that handles Directions.
-Codechange: Make the treeloop use TileOffsByDir(). 
						
						
					 
					
						2006-09-05 23:21:41 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						4f00dd7400 
					 
					
						
						
							
							(svn r6159) -Fix: FindClosestTrainDepot hardly ever found a depot with NPF off due to absence of distance-normalization (Rojer)  
						
						
						
						
					 
					
						2006-08-26 21:54:04 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						908d3bcfe6 
					 
					
						
						
							
							(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.  
						
						
						
						
					 
					
						2006-08-22 14:38:37 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						473efb372e 
					 
					
						
						
							
							(svn r5396) - Remove two fixed parameters  
						
						... 
						
						
						
						- Simplify an expresssion: c ? f(x) : f(y) -> f(c ? x : y) 
						
						
					 
					
						2006-06-28 06:10:20 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a2362674e3 
					 
					
						
						
							
							(svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.  
						
						
						
						
					 
					
						2006-06-10 08:37:41 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7fd88e5798 
					 
					
						
						
							
							(svn r5155) - Remove the bridge branch merge (revision r5070)  
						
						
						
						
					 
					
						2006-06-07 19:35:21 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						b618b75c9b 
					 
					
						
						
							
							(svn r5070) Merged the bridge branch  
						
						... 
						
						
						
						-Feature: Bridges can now be placed above:
	Any railway track combination (excluding depots and waypoints)
	Any road combination (excluding depots)
	Clear tiles (duh), including fields
	Tunnel entrances
	Bridge heads
Thanks to Tron for idea and implementation, KUDr for the yapf synchronization and many others for hours of testing
There are still a number of visual problems remaining, especially when electric railways are on or under the bridge.
DO NOT REPORT THOSE BUGS FOR THE TIME BEING please. 
						
						
					 
					
						2006-06-02 13:05:41 +00:00 
						 
				 
			
				
					
						
							
							
								KUDr 
							
						 
					 
					
						
						
							
						
						308f27a3de 
					 
					
						
						
							
							(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.  
						
						
						
						
					 
					
						2006-05-27 16:12:16 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						a856831aec 
					 
					
						
						
							
							(svn r4964) - Fix NTP over bridges: don't check the rail type when on a bridge  
						
						
						
						
					 
					
						2006-05-23 20:02:52 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						434e5dd4ae 
					 
					
						
						
							
							(svn r4859) - Pathfinder: fix issue with train pathfinding over level crossings.  
						
						
						
						
					 
					
						2006-05-13 11:24:15 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						3c81a1f111 
					 
					
						
						
							
							(svn r4812) -Fix (FS#161) NTP properly checks for railtypes on non-plain-rail-tiles (Rubidium)  
						
						
						
						
					 
					
						2006-05-10 09:38:29 +00:00 
						 
				 
			
				
					
						
							
							
								KUDr 
							
						 
					 
					
						
						
							
						
						3c7dda163e 
					 
					
						
						
							
							(svn r4715) - Fix: (FS#109) — Wrongfully bad signal - Don't allow OPF to enter train depot from the back  
						
						
						
						
					 
					
						2006-05-03 16:18:45 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						f1d85ec3c4 
					 
					
						
						
							
							(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  
						
						
						
						
					 
					
						2006-04-22 05:36:22 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						16c721237b 
					 
					
						
						
							
							(svn r4245) Simplify FindLengthOfTunnel()  
						
						
						
						
					 
					
						2006-04-02 18:03:48 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						6c44bf5012 
					 
					
						
						
							
							(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.  
						
						
						
						
					 
					
						2006-03-29 16:30:26 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						bf3811122d 
					 
					
						
						
							
							(svn r3979) Move GetRailFoundation() to rail_map.h and use it and friends to get information about rail tiles  
						
						
						
						
					 
					
						2006-03-19 12:06:12 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						6e988259a4 
					 
					
						
						
							
							(svn r3907) Replace many bridge related direct map accesses with calls to shiny new functions and mark some strange constructs with XXX  
						
						
						
						
					 
					
						2006-03-16 15:16:27 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						0100871412 
					 
					
						
						
							
							(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  
						
						
						
						
					 
					
						2006-03-12 15:04:03 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						8cfcdaa733 
					 
					
						
						
							
							(svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends  
						
						
						
						
					 
					
						2006-03-08 06:55:33 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						af42610321 
					 
					
						
						
							
							(svn r3777) Add some functions to handle tunnels  
						
						
						
						
					 
					
						2006-03-06 20:55:24 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						49cb8eb470 
					 
					
						
						
							
							(svn r3776) Replace many ints and magic numbers by Direction, DiagDirection and friends  
						
						
						
						
					 
					
						2006-03-06 20:28:28 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						d851781663 
					 
					
						
						
							
							(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)  
						
						
						
						
					 
					
						2006-03-03 19:42:09 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7b106a3d8f 
					 
					
						
						
							
							(svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in which direction a pieces of rail goes  
						
						
						
						
					 
					
						2006-03-01 09:40:34 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						9072d3ee3e 
					 
					
						
						
							
							(svn r3599) -Fix: added some casts to suppress some more warnings  
						
						
						
						
					 
					
						2006-02-13 21:56:49 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						5352e9fbcb 
					 
					
						
						
							
							(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  
						
						
						
						
					 
					
						2006-02-13 21:15:00 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						1c3e8630fe 
					 
					
						
						
							
							(svn r3511) More whitespace ([FS#46] by Rubidium)  
						
						
						
						
					 
					
						2006-02-01 07:36:15 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						30397b6561 
					 
					
						
						
							
							(svn r3329)  - Doc: Some documentation cleanups.  
						
						... 
						
						
						
						- Add: TracksOverlap() (from the map branch), TrackdirBitsToTrackBits(), DiagdirReachesTrackdirs(), DiagdirReachesTracks().
 - Fix: Infinite loop in the pathfinder introduces in r3321. 
						
						
					 
					
						2005-12-21 13:53:44 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						63c24f25a7 
					 
					
						
						
							
							(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).  
						
						... 
						
						
						
						- Fix: [ 1346377 ] Limiting the "depth" of the search tree fixes this assert.
  Though the above fix seems to fix this bug too, it will only make it less likely to occur. The problem here was the StackedItem::depth field overflowing, which made the pathfinder think it was at the first tile again. Adding an explicit overflow check should fix this. 
						
						
					 
					
						2005-12-20 00:50:16 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						0b936c3222 
					 
					
						
						
							
							(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes  
						
						... 
						
						
						
						nothing spectacular, just some stuff, which piled up 
						
						
					 
					
						2005-10-22 06:39:32 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						39f5dbfd3b 
					 
					
						
						
							
							(svn r3019) -Codechange: Replace explicit shifting/anding/oring with GB and SB  
						
						
						
						
					 
					
						2005-10-05 07:20:26 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						b162f08446 
					 
					
						
						
							
							(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  
						
						
						
						
					 
					
						2005-10-04 06:34:39 +00:00 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						9a060a0f24 
					 
					
						
						
							
							(svn r2781) Fix some of the issues with variables in .h files.  
						
						
						
						
					 
					
						2005-08-01 16:31:19 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						647cbd6bdd 
					 
					
						
						
							
							(svn r2701) Insert Id tags into all source files  
						
						
						
						
					 
					
						2005-07-24 14:12:37 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						54cbd01825 
					 
					
						
						
							
							(svn r2673) Include functions.h directly, not globally via openttd.h  
						
						
						
						
					 
					
						2005-07-22 07:02:20 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						b0779b4b65 
					 
					
						
						
							
							(svn r2663) Include variables.h only in these files which need it, not globally via openttd.h  
						
						
						
						
					 
					
						2005-07-21 18:44:27 +00:00 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						57f92104af 
					 
					
						
						
							
							(svn r2647) Fix: [ntp] Fix assertion error introduced in r2635  
						
						
						
						
					 
					
						2005-07-20 09:31:46 +00:00 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						a2f6256c33 
					 
					
						
						
							
							(svn r2646) Change: [ntp] Fix uninitialized variable and add some more asserts to be able to debug an assert error.  
						
						
						
						
					 
					
						2005-07-20 09:17:20 +00:00 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						08725cd6df 
					 
					
						
						
							
							(svn r2635) Fix: [ntp/misc] Improve the old pathfinder. Changed it to A* instead of Dijkstra.  
						
						... 
						
						
						
						- Benchmark shows that NTP is now around 10x faster than NPF.
  - Made IsTunnelTile macro to determine if a tile is a tunnel.
  - Added some useful debugging functions for making tiles red / getting accurate timestamps.
  - Remove old depot finding algorithm.
  - Disable warning for signed/unsigned comparisons. 
						
						
					 
					
						2005-07-19 11:42:40 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a4bf608d40 
					 
					
						
						
							
							(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.  
						
						
						
						
					 
					
						2005-07-13 18:04:01 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						2dd3247a4a 
					 
					
						
						
							
							(svn r2555) Initialise since r2553 uninitialised variable and remove since r2553 unused array (ludde)  
						
						
						
						
					 
					
						2005-07-12 21:13:30 +00:00 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						c62563bc5c 
					 
					
						
						
							
							(svn r2554) - Fix: [pathfinding] Change to using some helper functions for checking the railtype.  
						
						
						
						
					 
					
						2005-07-12 20:41:17 +00:00 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						7bcce65053 
					 
					
						
						
							
							(svn r2553) - Fix: [pathfinding] Remove old-old train pathfinder. Enhanced old pathfinder.  
						
						... 
						
						
						
						- Penalties for red signals and for slopes. 
  - Increased the search depth to work better with large train networks. 
						
						
					 
					
						2005-07-12 20:28:19 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						e675794812 
					 
					
						
						
							
							(svn r2514) - Codechange: [NPF] Move the checking of railtype into a funciton IsCompatibleRail().  
						
						... 
						
						
						
						- Codechange: [NPF] Check the railtype along a route against the engine type instead of against the previouse tile. This clears the way for electriefied rails.
- Add: [NPF] [ 1209644 ] A penalty for crossings (peter1138) 
						
						
					 
					
						2005-07-03 13:02:54 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						5cbd8b598c 
					 
					
						
						
							
							(svn r2492) Remove some pointless casts and fix some nearby indentation  
						
						
						
						
					 
					
						2005-06-27 06:57:24 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						2b73dec567 
					 
					
						
						
							
							(svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY  
						
						
						
						
					 
					
						2005-06-25 06:15:43 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a733fede9b 
					 
					
						
						
							
							(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"  
						
						
						
						
					 
					
						2005-06-24 12:38:35 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a9b95b3cbb 
					 
					
						
						
							
							(svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix some bogus reads of _map_owner  
						
						
						
						
					 
					
						2005-06-04 11:56:32 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						ba8c649fac 
					 
					
						
						
							
							(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.  
						
						
						
						
					 
					
						2005-06-02 19:30:21 +00:00