celestar
							
						 
					 | 
					
						
						
							
						
						69e1c716e8
					 | 
					
						
						
							
							(svn r4249) -Codechange: Replace more occurences of 16 by TILE_SIZE and of 8 by TILE_HEIGHT. Reverted one change from the previous commit because it was faulty
						
						
						
						
						
						
					 | 
					
						2006-04-03 09:07:21 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						7163a64c25
					 | 
					
						
						
							
							(svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo
						
						
						
						
						
						
					 | 
					
						2006-04-02 12:49:18 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								belugas
							
						 
					 | 
					
						
						
							
						
						1b28d92fc8
					 | 
					
						
						
							
							(svn r4181) CodeChange : Replaced [G/S]etMapExtraBits by [G/S]etTropicZone. Although it was an accessor, nor his usage nor the values were clear.
						
						
						
						
						
						
					 | 
					
						2006-03-30 19:16:44 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						410b5569fe
					 | 
					
						
						
							
							(svn r4164) Use acessor functions
						
						
						
						
						
						
					 | 
					
						2006-03-30 09:08:43 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								belugas
							
						 
					 | 
					
						
						
							
						
						1cadf4ea53
					 | 
					
						
						
							
							(svn r4157) CodeChange : Keep on cleaning up Celestar's elrail merge
						
						
						
						
						
						
					 | 
					
						2006-03-29 20:35:39 +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
							
						 
					 | 
					
						
						
							
						
						21ae42de51
					 | 
					
						
						
							
							(svn r4047) Remove two calls to FindLandscapeHeight() and some confusing use of the comma operator
						
						
						
						
						
						
					 | 
					
						2006-03-23 06:30:39 +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
							
						 
					 | 
					
						
						
							
						
						d3aa2addc2
					 | 
					
						
						
							
							(svn r3922) Fix copy&pasto in r3916 (Slowly it's getting a bad habit)
						
						
						
						
						
						
					 | 
					
						2006-03-17 13:28:50 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						7b1c7c31fb
					 | 
					
						
						
							
							(svn r3916) Get/Set the rail type by [GS]etRailType{Crossing,OnBridge,}()
						
						
						
						
						
						
					 | 
					
						2006-03-17 10:10:31 +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
							
						 
					 | 
					
						
						
							
						
						b2e8045613
					 | 
					
						
						
							
							(svn r3906) Before removing a rail/setting the owner of a road to none check if there's a transport route at all under the bridge
						
						
						
						
						
						
					 | 
					
						2006-03-16 13:35:35 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						1c6915bca3
					 | 
					
						
						
							
							(svn r3904) Move GetBridgePiece() and GetBridgeType() to bridge_map.h and make the only place which still extracted that info diretly use the wrapper
						
						
						
						
						
						
					 | 
					
						2006-03-16 10:00:50 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						3a36dba821
					 | 
					
						
						
							
							(svn r3903) Fix a copy&pasto in last commit and remove a redundant comment (the line above already says what's going on)
						
						
						
						
						
						
					 | 
					
						2006-03-16 07:18:38 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						13ed895336
					 | 
					
						
						
							
							(svn r3902) When drawing a bridge middle part get the bridge axis only once instead of again and again
						
						
						
						
						
						
					 | 
					
						2006-03-16 07:12:28 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						385326943d
					 | 
					
						
						
							
							(svn r3901) Remove the last user of FindEdgesOfBridge() by using functions with similar functionality
						
						
						
						
						
						
					 | 
					
						2006-03-16 06:38:51 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						633870df94
					 | 
					
						
						
							
							(svn r3900) When clearing a bridge determine the bridge direction and tile offset once instead of all over the place; also use UpdateSignalsOnSegment() instead of SetSignalsOnBothDir(), because this is sufficient
						
						
						
						
						
						
					 | 
					
						2006-03-16 06:30:47 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						666c0a379d
					 | 
					
						
						
							
							(svn r3899) Use wrapper functions to make more clear how deleting stuff under bridges works; also remove an unnecessary local variable
						
						
						
						
						
						
					 | 
					
						2006-03-16 06:06:05 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						1ac97fe008
					 | 
					
						
						
							
							(svn r3898) Add functions to find a bridge end starting at a middle tile
						
						
						
						
						
						
					 | 
					
						2006-03-16 05:28:15 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Darkvater
							
						 
					 | 
					
						
						
							
						
						a390b6e4d1
					 | 
					
						
						
							
							(svn r3893) - Fix: Properly set back the owner of a crossing/road-under bridge after removing it. For crossings we can always use .m2 because it is already 0 when not owned by a town.
						
						
						
						
						
						
					 | 
					
						2006-03-15 21:27:19 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						8208ee5ea2
					 | 
					
						
						
							
							(svn r3891) Fix r3885
						
						
						
						
						
						
					 | 
					
						2006-03-15 19:53:25 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						0c9a269bd3
					 | 
					
						
						
							
							(svn r3890) Simplify deleting a bridge by handling the ramps outside of the removal loop
						
						
						
						
						
						
					 | 
					
						2006-03-15 17:38:00 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						23d5188b7b
					 | 
					
						
						
							
							(svn r3889) Change a part of the bridge drawing code to make it more comprehensible and add the needed accessors
						
						
						
						
						
						
					 | 
					
						2006-03-15 17:27:15 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						e74d77211f
					 | 
					
						
						
							
							(svn r3888) If you think you've checked everything, check once more. *sigh* Fix r3887
						
						
						
						
						
						
					 | 
					
						2006-03-15 16:47:35 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						626109f3f9
					 | 
					
						
						
							
							(svn r3887) Add a function to get the other bridge end when you're at a bridge ramp
						
						
						
						
						
						
					 | 
					
						2006-03-15 16:44:50 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						bd5def0092
					 | 
					
						
						
							
							(svn r3885) Simplify DoConvertTunnelBridgeRail() a bit
						
						
						
						
						
						
					 | 
					
						2006-03-15 16:09:23 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						c515c34008
					 | 
					
						
						
							
							(svn r3877) Add functions to turn a tile into a rail/road bridge ramp/middle part
						
						
						
						
						
						
					 | 
					
						2006-03-15 07:10:41 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						273533d4c7
					 | 
					
						
						
							
							(svn r3857) Add and use GetBridgeRampDirection()
						
						
						
						
						
						
						
						Note: This slightly changes the behavior of GetAnyRoadBits() to only return a road piece for the start of the bridge ramp instead of a full ROAD_[XY] 
						
						
					 | 
					
						2006-03-14 12:00:11 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						23ae850484
					 | 
					
						
						
							
							(svn r3849) Fix bug in r3846
						
						
						
						
						
						
					 | 
					
						2006-03-13 15:38:52 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						26815f7405
					 | 
					
						
						
							
							(svn r3846) Add functions to set the type of stuff (clear, water, rail, road) under bridges
						
						
						
						
						
						
					 | 
					
						2006-03-13 12:55:20 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						3e932a0a4f
					 | 
					
						
						
							
							(svn r3838) Demystify building bridge middle parts a bit by removing some magic numbers and generic names
						
						
						
						
						
						
					 | 
					
						2006-03-13 07:12:49 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						8259a29ead
					 | 
					
						
						
							
							(svn r3837) Partially unmagicfy restoring the tiles when deleting a bridge
						
						
						
						
						
						
						
						Existing bug: When restoring a road piece which belongs to a town the town index unconditionally gets set to 0 
						
						
					 | 
					
						2006-03-12 20:59:56 +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
							
						 
					 | 
					
						
						
							
						
						7a0071cc53
					 | 
					
						
						
							
							(svn r3829) Reduce the use of _error_message by directly returning error codes instead of using this global variable
						
						
						
						
						
						
					 | 
					
						2006-03-12 12:19:25 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						6c30c9ae4d
					 | 
					
						
						
							
							(svn r3823) Remove dead code: A value for 'image' gets calculated and overwritten just a few lines later without being used in between
						
						
						
						
						
						
					 | 
					
						2006-03-12 08:47:18 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						86491ca257
					 | 
					
						
						
							
							(svn r3820) Be a bit more strict with types: use special types instead of generic byte and don't fill arbitrary data into inappropriate types
						
						
						
						
						
						
					 | 
					
						2006-03-11 17:06:16 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						0e4ee1241f
					 | 
					
						
						
							
							(svn r3814) Remove another call to FindLandscapeHeight()
						
						
						
						
						
						
					 | 
					
						2006-03-10 17:01:51 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						ee03f15f27
					 | 
					
						
						
							
							(svn r3803) Change the second parameter of UpdateSignalsOnSegment() from Direction to DiagDirection as that's what it really operates on
						
						
						
						
						
						
					 | 
					
						2006-03-09 12:32:25 +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
							
						 
					 | 
					
						
						
							
						
						3027b8673e
					 | 
					
						
						
							
							(svn r3779) Move CheckTunnelInWay() to a more appropriate place, invert its result and give it a less ambiguous name (IsTunnelInWay)
						
						
						
						
						
						
					 | 
					
						2006-03-07 07:51:05 +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
							
						 
					 | 
					
						
						
							
						
						4efa560ffc
					 | 
					
						
						
							
							(svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme
						
						
						
						
						
						
					 | 
					
						2006-03-05 10:19:33 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						2f8e3dcc05
					 | 
					
						
						
							
							(svn r3658) Add functions and symbolic names to retrieve road tile types and road pieces
						
						
						
						
						
						
					 | 
					
						2006-02-23 08:20:28 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						251f519d26
					 | 
					
						
						
							
							(svn r3654) Turn another if-cascade into a switch
						
						
						
						
						
						
					 | 
					
						2006-02-22 21:35:45 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						c9d540c0f0
					 | 
					
						
						
							
							(svn r3653) -Fix: You didn't pay for terraforming at the end tile when building a tunnel
						
						
						
						
						
						
					 | 
					
						2006-02-22 21:11:31 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						9d4400c89f
					 | 
					
						
						
							
							(svn r3652) Rewrite CmdBuildTunnel in the hope to make it a bit more comprehensible
						
						
						
						
						
						
						
						This implementation is also significantly shorter because it removes many redundant checks 
						
						
					 | 
					
						2006-02-22 21:09:55 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						08f132fef2
					 | 
					
						
						
							
							(svn r3645) Fix stupid typos in last (r3644) commit *sigh*
						
						
						
						
						
						
					 | 
					
						2006-02-21 07:44:33 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						b8b6084da2
					 | 
					
						
						
							
							(svn r3644) Don't use FindLandscapeHeightByTile() when it's overkill - often it was just a complicated way of writing GetTileSlope(tile, NULL)
						
						
						
						
						
						
					 | 
					
						2006-02-21 07:41:54 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								tron
							
						 
					 | 
					
						
						
							
						
						7692556c62
					 | 
					
						
						
							
							(svn r3613) Some more const, indentation, whitespace and similar stuff
						
						
						
						
						
						
					 | 
					
						2006-02-18 14:41:24 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |