Darkvater 
							
						 
					 
					
						
						
							
						
						323a3160f7 
					 
					
						
						
							
							(svn r6035) -Revert r5900 which supposedly fixed an invalid warning caused by buggy MS software  
						
						
						
						
					 
					
						2006-08-21 13:04:13 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						939e334ce2 
					 
					
						
						
							
							(svn r5900) -Fix [FS#84]: Warning silencing fix for OpenTTD on Windows x64 (michi_cc)  
						
						
						
						
					 
					
						2006-08-14 23:27:06 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						b3cda6ee62 
					 
					
						
						
							
							(svn r5806) Inline FindLandscapeHeight() into its only remaining caller and remove the attribute "type" from struct TileInfo  
						
						
						
						
					 
					
						2006-08-07 17:32:29 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						3254155930 
					 
					
						
						
							
							(svn r5794) Pass the TileIndex plus x and y coordinates into GetSlopeZ_* instead of a TileInfo  
						
						
						
						
					 
					
						2006-08-06 16:32:49 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						fef9818d3c 
					 
					
						
						
							
							(svn r5631) Don't allocate memory for information about a sprite which isn't drawn  
						
						
						
						
					 
					
						2006-07-29 13:06:00 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						82ebf842d1 
					 
					
						
						
							
							(svn r5630) Replace a boolean variable by continue  
						
						
						
						
					 
					
						2006-07-29 11:15:34 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						ea51ace5f4 
					 
					
						
						
							
							(svn r5629) Simplify the test whether two bounding boxes overlap  
						
						
						
						
					 
					
						2006-07-29 10:18:59 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						2e443e2b6f 
					 
					
						
						
							
							(svn r5628) Rename the attributes for the bounding box of struct ParentSpriteToDraw to something sensible. Half of them was totally off: right is left, bottom is top *sigh*  
						
						
						
						
					 
					
						2006-07-29 06:39:19 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						6082507fea 
					 
					
						
						
							
							(svn r5609) CodeChange : Apply coding style  
						
						
						
						
					 
					
						2006-07-26 03:33:12 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						79e1f4eea0 
					 
					
						
						
							
							(svn r5597) Remove the unused attribute ground_child from struct ViewportDrawer  
						
						
						
						
					 
					
						2006-07-23 08:40:49 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						2b27073156 
					 
					
						
						
							
							(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular  
						
						
						
						
					 
					
						2006-06-27 21:25:53 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						0a72639c2d 
					 
					
						
						
							
							(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 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						26f17e3e01 
					 
					
						
						
							
							(svn r4819) -Debug: When clicking on a vehicle in the viewport, the index and address of the vehicle get dumped for "misc" debug levels >= 2  
						
						
						
						
					 
					
						2006-05-11 05:32:26 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						fd778ecafa 
					 
					
						
						
							
							(svn r4802) - Codechange: replace _stringwidth_base and associated magic numbers with a FontSize enum, using the numbers (which are SpriteIDs) in only the places needed.  
						
						
						
						
					 
					
						2006-05-09 13:23:04 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						c1dc517dab 
					 
					
						
						
							
							(svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE}  
						
						
						
						
					 
					
						2006-04-23 19:35:36 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						0347fb2ab6 
					 
					
						
						
							
							(svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums  
						
						
						
						
					 
					
						2006-04-23 13:48:16 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						caea7f845c 
					 
					
						
						
							
							(svn r4502) -Cleanup: Remove code unused since rev1. (Rubidium)  
						
						
						
						
					 
					
						2006-04-21 17:51:01 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						3aa1e38be6 
					 
					
						
						
							
							(svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE  
						
						
						
						
					 
					
						2006-04-03 05:32:11 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						a175840697 
					 
					
						
						
							
							(svn r3995) -Fix: Committed one file too much in 3992 (Thanks to Tron for pointing it out)  
						
						
						
						
					 
					
						2006-03-21 09:44:07 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						fc32e20195 
					 
					
						
						
							
							(svn r3992) -Fix: Rewrote the code to determine whether a rail-tile can be terraformed.  
						
						... 
						
						
						
						Fixes a bug where you could terraform a tunnel (fixed by r3228, but reverted that one)
Fixes a bug introduced by r3228 which allowed steep rail tiles resulting in ... unwanted effects such as display artifacts.
That means the terraform feature should not work as intended; it also uses _valid_tileh_slopes to determine valid configurations instead of hand-brewn stuff.
TODO: _terraform_err_tile and similar TileIndices should have INVALID_TILE as "unused", not 0. (0 is a valid tile). 
						
						
					 
					
						2006-03-20 16:43:48 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						84fb96fe85 
					 
					
						
						
							
							(svn r3511) More whitespace ([FS#46] by Rubidium)  
						
						
						
						
					 
					
						2006-02-01 07:36:15 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						e272b03fee 
					 
					
						
						
							
							(svn r3365) Staticise 36 functions  
						
						
						
						
					 
					
						2006-01-05 12:40:50 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						980e8f525b 
					 
					
						
						
							
							(svn r3364) Remove 3 unused functions (ScrollWindowToTile, AllocateWindowAutoPlace, AllocateWindowAutoPlace2)  
						
						
						
						
					 
					
						2006-01-05 12:00:38 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						bfeddf1db1 
					 
					
						
						
							
							(svn r3254) - Fix: graphical glitch with autorail tool on a certain tile-type.  
						
						... 
						
						
						
						- CodeChange: adhere the global variables in autorail.h to the coding style (eg. start with underscore). 
						
						
					 
					
						2005-12-02 19:41:35 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						22a4679837 
					 
					
						
						
							
							(svn r3218) -Feature: Multiheaded train engines will now stay in the same train  
						
						... 
						
						
						
						This means that any user attempt to remove a rear engine will tell the user to move the front engine instead
	This fixes the assert when moving multiheaded engines (introduced in r3144)
	Note: to make old savegames use this feature, some engines might be turned around in order to link engines in pairs
-Codechange: train subtype is now a bitmask
	This allows fast access to info like if it is a wagon or engine and if it is in front and so on
	Note: savegame version bump 
						
						
					 
					
						2005-11-18 23:41:03 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						8cebe2f607 
					 
					
						
						
							
							(svn r3204) Make handling of clicking on vehicles a bit less ugly by avoiding function declarations in .c files and unnecessary indirection  
						
						
						
						
					 
					
						2005-11-16 12:52:01 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						db3b1228bf 
					 
					
						
						
							
							(svn r3010) Get rid of quite some dubious casts, either by using GB(), proper types or just removing them  
						
						
						
						
					 
					
						2005-10-03 21:20:01 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						a3d40a29fc 
					 
					
						
						
							
							(svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)  
						
						... 
						
						
						
						Fix warning in graph_gui.c with const problem 
						
						
					 
					
						2005-10-02 22:39:56 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						e42b560049 
					 
					
						
						
							
							(svn r2845) Remove sprite size caching, it was unused  
						
						... 
						
						
						
						This makes GetSpriteDimension() superflous, because now it's just a thin wrapper around GetSprite() returning only part of the information, therefore remove it too 
						
						
					 
					
						2005-08-08 21:35:27 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						238e47cd42 
					 
					
						
						
							
							(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers  
						
						... 
						
						
						
						by enums. There remains work in gfx.c to move the "transparency" and
"recolor" bits around to make space for more sprites. However, 2800
additional sprites can now be loaded. There also remains cleanup and
Doxygen work on many of the header files. 
						
						
					 
					
						2005-07-24 15:56:31 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a227065ab7 
					 
					
						
						
							
							(svn r2701) Insert Id tags into all source files  
						
						
						
						
					 
					
						2005-07-24 14:12:37 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						559babcdc9 
					 
					
						
						
							
							(svn r2673) Include functions.h directly, not globally via openttd.h  
						
						
						
						
					 
					
						2005-07-22 07:02:20 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						0762aa9ec9 
					 
					
						
						
							
							(svn r2669) Shuffle some more stuff around to reduce dependencies  
						
						
						
						
					 
					
						2005-07-21 22:15:02 +00:00 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						3e97dda275 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						59d4ab3752 
					 
					
						
						
							
							(svn r2626) static, const, misc.  
						
						
						
						
					 
					
						2005-07-17 20:14:58 +00:00 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						abc9376308 
					 
					
						
						
							
							(svn r2619) Fix: [viewport] Fix potential buffer overflow reported by Tron  
						
						
						
						
					 
					
						2005-07-17 18:36:47 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						9ca761b065 
					 
					
						
						
							
							(svn r2595) -Codechange: Introduced "IsSteepTileh" to find whether a tile is steep  
						
						... 
						
						
						
						(i.e. spans two height levels) and use it throughout the code.
-Codechange: Add CanBuildDepotByTileh to find if a tile is suitable to
build a depot on it. Wraps some bitmagic which seems quite unreadable at
first glance 
						
						
					 
					
						2005-07-16 23:47:37 +00:00 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						3486e7e9d5 
					 
					
						
						
							
							(svn r2580) Change: Added {INDUSTRY} command for printing industry names instead of the old {TOWN} {STRING} way.  
						
						... 
						
						
						
						- The formatting of the industry name can be controlled with the string STR_INDUSTRY_FORMAT.
Change: Changed several occurences of {STRING1} into {TOWN} to get rid of townnametype being used directly. 
						
						
					 
					
						2005-07-15 18:30:13 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						1b4a0897b6 
					 
					
						
						
							
							(svn r2535) Tabs  
						
						
						
						
					 
					
						2005-07-08 22:25:24 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						fbe617baba 
					 
					
						
						
							
							(svn r2532)  - Fix: Don't waste space using an int where a byte would suffice. (ludde)  
						
						
						
						
					 
					
						2005-07-08 19:02:26 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						b29556e6b5 
					 
					
						
						
							
							(svn r2521) -Codechange: Removed trailing "\n"s from DEBUG statements  
						
						
						
						
					 
					
						2005-07-05 17:47:10 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						6e72d514b7 
					 
					
						
						
							
							(svn r2496) -Fix: [1179933] When toggling build/remove via keyboard the selection wasn't correctly redrawn  
						
						
						
						
					 
					
						2005-06-29 08:14:09 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						61f6f07edd 
					 
					
						
						
							
							(svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY  
						
						
						
						
					 
					
						2005-06-25 06:15:43 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						3154e7148d 
					 
					
						
						
							
							(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"  
						
						
						
						
					 
					
						2005-06-24 12:38:35 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						003b4e7f15 
					 
					
						
						
							
							(svn r2470)  - Fix: Display station signs correctly in smallest zoom level in transparent buildings or tranparant station signs mode. (Peter1138)  
						
						
						
						
					 
					
						2005-06-21 21:13:10 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						c887ff331a 
					 
					
						
						
							
							(svn r2465) Remove some unreachable code  
						
						
						
						
					 
					
						2005-06-20 20:09:46 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						8607bbf06d 
					 
					
						
						
							
							(svn r2444)  - CodeChange: Add an enum for demagicifying the values of the 'flags' parameter of DrawFrameRect(). (_Abraxa_)  
						
						
						
						
					 
					
						2005-06-15 17:27:14 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						85fae22fa8 
					 
					
						
						
							
							(svn r2440)  - Fix: [newgrf] Fix the spritesorter to handle overlapping sprites properly, this fixes display problems with really short wagons. (algorithm by patchman, ported by therax)  
						
						... 
						
						
						
						- Fix: [newgrf] Too short wagons could break the 'follow next vehicle' code used in the traincontroller. Clamp better to prevent this. 
						
						
					 
					
						2005-06-15 14:04:48 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						6533db736c 
					 
					
						
						
							
							(svn r2438)  - Feature: New display option, 'transparent station signs', makes station signs transparent instead of using a solid bar to draw text on (peter1138)  
						
						
						
						
					 
					
						2005-06-14 10:59:05 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						5fed47964e 
					 
					
						
						
							
							(svn r2420) - Codechange: magic number elminitation of cursorsprites.  
						
						
						
						
					 
					
						2005-06-06 13:47:06 +00:00