smatz 
							
						 
					 
					
						
						
							
						
						6e9b952623 
					 
					
						
						
							
							(svn r12186) -Fix [FS#1784](r12169): assert when trying to play tile sound at NW border of map (placing buyos, leveling land)  
						
						
						
						
					 
					
						2008-02-19 17:45:30 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						adf1227290 
					 
					
						
						
							
							(svn r12185) -Fix (r12177): wrong operator priority, hopefully harmless (spotted by michi_cc)  
						
						
						
						
					 
					
						2008-02-18 23:37:16 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						578e833284 
					 
					
						
						
							
							(svn r12184) -Fix: take into account possible loan when AI is deciding which bridge to build, so it won't build wooden bridges everytime  
						
						
						
						
					 
					
						2008-02-18 22:50:58 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						0821df8537 
					 
					
						
						
							
							(svn r12183) -Codechange: give a better error message when building road over existing road with vehicle on it, or do not fail at all  
						
						
						
						
					 
					
						2008-02-18 22:12:27 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						a4c14fb442 
					 
					
						
						
							
							(svn r12180) -Fix: Test purchase list loading/loaded sprites instead of unconditionally returning a possibly non-existant sprite.  
						
						
						
						
					 
					
						2008-02-18 19:20:37 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						509b3a3247 
					 
					
						
						
							
							(svn r12179) -Codechange: use GetCrossingRailTrack() and GetCrossingRailAxis() to improve code readability  
						
						
						
						
					 
					
						2008-02-18 18:35:36 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						c7a8080c3a 
					 
					
						
						
							
							(svn r12178) -Codechange: use the 'side' parameter in TrainController and TrainCheckIfLineEnds to simplify the code  
						
						
						
						
					 
					
						2008-02-18 16:35:38 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						29125c0e68 
					 
					
						
						
							
							(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges  
						
						
						
						
					 
					
						2008-02-18 16:11:31 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						a0a225ab02 
					 
					
						
						
							
							(svn r12176) -Codechange: one division less when playing sounds (patch by Dominik)  
						
						
						
						
					 
					
						2008-02-18 14:59:30 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						a0fda5b969 
					 
					
						
						
							
							(svn r12175) -Fix (r12174): Ensure the patches window is centred properly.  
						
						
						
						
					 
					
						2008-02-18 13:19:57 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						b3f304cde3 
					 
					
						
						
							
							(svn r12174) -Codechange: Make the patches window dynamically resize to the largest patch tab, so adding patch options is simply a case of adding to the lists.  
						
						
						
						
					 
					
						2008-02-18 12:36:10 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						06de1215c1 
					 
					
						
						
							
							(svn r12173) -Cleanup: Minor codestyle fixes.  
						
						
						
						
					 
					
						2008-02-18 11:47:53 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						db0eb9570c 
					 
					
						
						
							
							(svn r12172) -Codechange: Allow buttons to resize in NewGRF settings window  
						
						
						
						
					 
					
						2008-02-18 09:16:02 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						38969fe46d 
					 
					
						
						
							
							(svn r12171) -Fix [FS#609]: return correct bridge price for AI when DC_QUERY_COST is set (patch by Raimar Falke)  
						
						... 
						
						
						
						It never happens in current code, but it is better to be ready for it 
						
						
					 
					
						2008-02-18 01:42:21 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						d75cccf5d5 
					 
					
						
						
							
							(svn r12170) -Fix: do not draw trees along road and street lights under low bridges (spotted by _minime_)  
						
						
						
						
					 
					
						2008-02-17 21:27:44 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						6bf44158c5 
					 
					
						
						
							
							(svn r12169) -Change [FS#1696]: play sounds when there is only small part of tile/vehicle visible too (original idea by Dominik)  
						
						... 
						
						
						
						It improves the game appearance when playing with very small screen resolution 
						
						
					 
					
						2008-02-17 20:15:20 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						505951e9fa 
					 
					
						
						
							
							(svn r12168) -Fix: behave a bit better when 'R' is pressed during rail station dragging  
						
						
						
						
					 
					
						2008-02-17 18:19:33 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						8b56e7544e 
					 
					
						
						
							
							(svn r12167) -Feature(tte): change colour of autorail and autoroad selection when Ctrl is pressed  
						
						
						
						
					 
					
						2008-02-17 17:00:43 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						291931bf50 
					 
					
						
						
							
							(svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard input, depot/group window wasn't updated (original patch by GrimRC)  
						
						
						
						
					 
					
						2008-02-17 12:21:05 +00:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						16e23a75fe 
					 
					
						
						
							
							(svn r12165) -Fix [FS#1652, FS#1773]: buffer overflow when drawing scrolling news  
						
						
						
						
					 
					
						2008-02-17 00:47:39 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						7394b9d030 
					 
					
						
						
							
							(svn r12164) -Fix (r12137, FS#1775]: Variable scope bug crept in  
						
						
						
						
					 
					
						2008-02-16 23:09:33 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						13781ec11b 
					 
					
						
						
							
							(svn r12163) -Fix [FS#1705]: if a train is 'stopping' when entering a depot, do not let it leave again  
						
						
						
						
					 
					
						2008-02-16 22:29:30 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						ebe03109ad 
					 
					
						
						
							
							(svn r12162) -Fix [FS#1757]: towns shouldn't build over houses owned by another town  
						
						
						
						
					 
					
						2008-02-16 17:54:29 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						4b7a812e55 
					 
					
						
						
							
							(svn r12161) -Fix: towns will no longer build houses > 1x1 there where should be road (with 2x2, 3x3 grid town layouts)  
						
						
						
						
					 
					
						2008-02-16 17:10:14 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						058f39fe18 
					 
					
						
						
							
							(svn r12160) -Fix [FS#1744]: remove the arbitrary limit of 64 waypoints per town, so weird things won't happen anymore  
						
						
						
						
					 
					
						2008-02-16 16:40:47 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						e7173d3ba4 
					 
					
						
						
							
							(svn r12159) -Codechange: Enumify some widget magical numbers  
						
						... 
						
						
						
						-Cleanup: apply a bit of code style.  Mostly re-indenting switch cases 
						
						
					 
					
						2008-02-16 03:12:57 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						245fccf22d 
					 
					
						
						
							
							(svn r12158) -Codechange: merge all the sprite recolouring mapping under a single function  
						
						... 
						
						
						
						-Fix: Handle the bridge recolouring mapping as the other features.  Although not specified by the specs, it seems to be implicit. 
						
						
					 
					
						2008-02-16 03:01:05 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						b8f8d0ca51 
					 
					
						
						
							
							(svn r12157) -Codechange: Remove a structure definition and replace it with another one closely matching  
						
						... 
						
						
						
						-Codechange: Replace two magic numbers with according sprite names 
						
						
					 
					
						2008-02-16 02:37:31 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						b4f58ebae4 
					 
					
						
						
							
							(svn r12156) -Fix (r11454): Chance16I was now biased towards zero - round to nearest now  
						
						
						
						
					 
					
						2008-02-16 00:46:38 +00:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						044ca2bbf6 
					 
					
						
						
							
							(svn r12155) -Fix (r12154): some warnings (always compile before commit)  
						
						
						
						
					 
					
						2008-02-16 00:10:03 +00:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						3e70ee6ed7 
					 
					
						
						
							
							(svn r12154) -Codechange: removed a magic number  
						
						
						
						
					 
					
						2008-02-15 23:57:03 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						a5f99154b7 
					 
					
						
						
							
							(svn r12150) -Fix (r12143): compiler warnings - possible use of uninitialised variable  
						
						
						
						
					 
					
						2008-02-15 21:05:46 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						a40d761d7f 
					 
					
						
						
							
							(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID  
						
						
						
						
					 
					
						2008-02-15 18:40:42 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						fd0f57a794 
					 
					
						
						
							
							(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID  
						
						
						
						
					 
					
						2008-02-15 18:34:26 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						cedca22c60 
					 
					
						
						
							
							(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.  
						
						
						
						
					 
					
						2008-02-15 18:21:04 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						ef354e074f 
					 
					
						
						
							
							(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.  
						
						
						
						
					 
					
						2008-02-15 18:00:30 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						65a13a3022 
					 
					
						
						
							
							(svn r12145) -Codechange: includes should be at the top of the source file  
						
						... 
						
						
						
						-Codechange: undefine a defined macro once work is finished, just in case 
						
						
					 
					
						2008-02-15 17:38:18 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						ac5433a924 
					 
					
						
						
							
							(svn r12144) -Codechange: Adjust aircraft slowing algorithm so that very fast  
						
						... 
						
						
						
						aircraft slow down more rapidly than slower aircraft. This prevents them 
from reaching the end of the runway at high speed, and also stops slow 
aircraft from slowing down too much at the start of the runway. 
						
						
					 
					
						2008-02-15 13:28:13 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						d1c741db4c 
					 
					
						
						
							
							(svn r12143) -Fix (r8038): Engine::preview_player does not contain a Player ID. Rename this to preview_player_rank and change back to a uint8 to avoid confusion.  
						
						
						
						
					 
					
						2008-02-15 11:02:50 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						4164d2488f 
					 
					
						
						
							
							(svn r12142) -Fix [FS#1766]: Callback 0x3D always gets a cargobit in var 0x18, independent of grf version.  
						
						
						
						
					 
					
						2008-02-15 10:52:10 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						43c0f7ea8e 
					 
					
						
						
							
							(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them.  
						
						
						
						
					 
					
						2008-02-14 15:59:16 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						739b118c6b 
					 
					
						
						
							
							(svn r12140) -Codechange: A bit of code style fixes(Geektoo).  
						
						
						
						
					 
					
						2008-02-14 15:13:36 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						859d768bb7 
					 
					
						
						
							
							(svn r12139) -Fix (r12124): The global variable value should be returned, not the variable.  
						
						
						
						
					 
					
						2008-02-14 11:58:36 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						bb81de3c4c 
					 
					
						
						
							
							(svn r12138) -Fix: do not allow adding tram to rail-road crossing when there is a vehicle on it  
						
						
						
						
					 
					
						2008-02-14 10:19:16 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						3371d02449 
					 
					
						
						
							
							(svn r12137) -Fix [FS#1769]: Show cargo capacity for articulated vehicles correctly in the purchase list. Multiple cargo types can also now been shown.  
						
						
						
						
					 
					
						2008-02-14 07:25:24 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						539c635efd 
					 
					
						
						
							
							(svn r12136) -Fix(r12135): Code style compliance and... code style as such  
						
						
						
						
					 
					
						2008-02-14 03:10:22 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						81b3652f37 
					 
					
						
						
							
							(svn r12135) -Codechange: Road and rail bridge selection windows were identical apart the caption.  So remove one window definition and set manually the caption accordingly.  
						
						... 
						
						
						
						-Codechange: prepare the "type" of bridge parameter only once, at the beginning of the selection process.  Makes less magic around. 
						
						
					 
					
						2008-02-14 02:57:38 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						a0ddc43e92 
					 
					
						
						
							
							(svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost  
						
						... 
						
						
						
						-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window 
						
						
					 
					
						2008-02-13 19:24:40 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						b7cd791988 
					 
					
						
						
							
							(svn r12133) -Fix: Vehicle sorting by max speed did not work properly for trains. Instead of trying to work it out again, just use the cached values...  
						
						
						
						
					 
					
						2008-02-13 18:11:19 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						fd51465c8b 
					 
					
						
						
							
							(svn r12132) -Cleanup: convert pathfinder selection from if/else to switch/case at many places  
						
						
						
						
					 
					
						2008-02-13 17:54:11 +00:00