Darkvater 
							
						 
					 
					
						
						
							
						
						53b02577b9 
					 
					
						
						
							
							(svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron  
						
						
						
						
					 
					
						2006-11-19 22:24:18 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						c01c294afb 
					 
					
						
						
							
							(svn r7205) -Fix [FS#350, SF#1560913]: Window allocation and deletion messed with the actual window  
						
						... 
						
						
						
						structs inside their array, and possibly invalidating pointers higher up.
 Meaning that any function called within an wndproc could cause unknown/invalid pointers
 once control was returned to this function. Solved by the introduction of an extra
 abstraction layer, an array of z-window positions that is only concerned with the
 pointers. 
						
						
					 
					
						2006-11-18 16:47:02 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						62a9d7fdf3 
					 
					
						
						
							
							(svn r7202) -Codechange: Move _viewports and _active_viewports local to viewport.c and have them  
						
						... 
						
						
						
						called from the appropiate places in window.c 
						
						
					 
					
						2006-11-18 13:54:33 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						1a87a33911 
					 
					
						
						
							
							(svn r7200) -Codechange: remove unneeded redraw (console.c), coding style, use FindWindowById  
						
						... 
						
						
						
						instead of _windows loop (viewport.c), remove dump-code (mixer.c), MSVC6 borkdness
 in stdafx.h, constness (viewport.c), variable localization (win32.c), comments (window.c) 
						
						
					 
					
						2006-11-18 00:14:43 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						3a2c773411 
					 
					
						
						
							
							(svn r7094) -Codechange: Get rid of the window-specific code in DoZoomInOutWindow (enable, disable  
						
						... 
						
						
						
						buttons depending on calling window, game-mode); handle it by broadcasting messages
 to the calling window, because that knows how and what buttons to set. 
						
						
					 
					
						2006-11-07 13:06:02 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						03124c1df5 
					 
					
						
						
							
							(svn r7068) if () cascades -> switch ()  
						
						
						
						
					 
					
						2006-11-05 12:22:46 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						2b5577bfd7 
					 
					
						
						
							
							(svn r7067) Remove the unused parameter params_3 from AddStringToDraw()  
						
						
						
						
					 
					
						2006-11-05 11:52:19 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						f86b8b9d6c 
					 
					
						
						
							
							(svn r7066) -Codechange: Factorise common code  
						
						
						
						
					 
					
						2006-11-05 11:17:33 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						2fb0bf317e 
					 
					
						
						
							
							(svn r7047) -Fix [FS#317]: Zooming out near map-borders would previously fail because the new centre  
						
						... 
						
						
						
						would be outside the map. Change behaviour so that a reasonable approximation is
 returned so that zooming (out) still works (GrimRC) 
						
						
					 
					
						2006-11-03 00:48:03 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						494c56475f 
					 
					
						
						
							
							(svn r6884) -Codechange: Add strict bounds checking in string formatting system.  
						
						... 
						
						
						
						The last parameter should point to the end of the buffer (eg lastof(buf))
 Courtesy of Tron. 
						
						
					 
					
						2006-10-21 23:31:34 +00:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						e1fec27445 
					 
					
						
						
							
							(svn r6822) -Fix r6821: add type for measure_strings_length[]  
						
						
						
						
					 
					
						2006-10-18 14:42:19 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						5e248781a8 
					 
					
						
						
							
							(svn r6821) -Codechange: For the measurement tool do not show the tooltip when the selection  
						
						... 
						
						
						
						is only a single tile. Seems this was a bit annoying to some ;) 
						
						
					 
					
						2006-10-18 14:20:10 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						06a336d53d 
					 
					
						
						
							
							(svn r6764) -Fix (r6758): Wrong height difference calculated because invalid drag-type  
						
						... 
						
						
						
						was passed to the function. Thanks peter1138. 
						
						
					 
					
						2006-10-12 22:11:18 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						f2fd789cc6 
					 
					
						
						
							
							(svn r6758) -Feature: Add a measurement tool that will show dimensions and height  
						
						... 
						
						
						
						differences of various draggable tools (inspiration, concept and double
 checking by MeusH). 
						
						
					 
					
						2006-10-12 15:13:40 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						a46203911c 
					 
					
						
						
							
							(svn r6721) -Codechange: some comments, aligning, types and variable localization.  
						
						
						
						
					 
					
						2006-10-10 14:05:39 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						98ba395277 
					 
					
						
						
							
							(svn r6499) -Codechange: Finally, got "byte event" outside of the union WindowEvent, which is now a struct  
						
						
						
						
					 
					
						2006-09-23 02:39:24 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						552570f9e6 
					 
					
						
						
							
							(svn r6462) -Codechange: Have GetStringWidth() return width as well as the height bounding  
						
						... 
						
						
						
						box of the string. Therefore rename the function to GetStringBoundingRect()
 and have it return a BoundingRect type of width/height 
						
						
					 
					
						2006-09-16 13:20:14 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						7369122a3e 
					 
					
						
						
							
							(svn r6368) -Fix [FS#136]: Station catchment area persists after switching tools. The  
						
						... 
						
						
						
						correct fix was to reset the highlight box if any size changes (grimrc) 
						
						
					 
					
						2006-09-03 22:39:02 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						db53a47f70 
					 
					
						
						
							
							(svn r6348) -Codechange: Remove redundant assignment  
						
						
						
						
					 
					
						2006-09-02 20:35:08 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						608e9db825 
					 
					
						
						
							
							(svn r6347) Undo  
						
						
						
						
					 
					
						2006-09-02 20:34:33 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						e3d00af21e 
					 
					
						
						
							
							(svn r6346) -Codechange: Remove redundant assignment  
						
						
						
						
					 
					
						2006-09-02 20:34:04 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7a3231f867 
					 
					
						
						
							
							(svn r6256) if () cascades -> switch ()  
						
						
						
						
					 
					
						2006-08-31 07:49:34 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						dae76ce67e 
					 
					
						
						
							
							(svn r6222) Remove struct ColorList, because the names of its attributes are plain confusing  
						
						... 
						
						
						
						All the struct holds is a simple colour gradient, so using a simple array with 8 entries is more clear
Also add the names of colour the gradients as enum 
						
						
					 
					
						2006-08-29 19:26:13 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						c969fc001e 
					 
					
						
						
							
							(svn r6211) Commit file forgotten in r6210  
						
						
						
						
					 
					
						2006-08-29 06:43:22 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						f16d3f2b8b 
					 
					
						
						
							
							(svn r6050) -Codechange: mass-renamed SignStruct -> Sign and ss -> si. Now functions and variables all match eachother  
						
						
						
						
					 
					
						2006-08-22 16:38:50 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						505566da5c 
					 
					
						
						
							
							(svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones  
						
						... 
						
						
						
						-Codechange: use IsValidXXX where ever possible
  Note: both changes to prepare for new pool system, which needs those changes.
  For every pool there are 2 ugly lines, which will be removed when done
  implementing new pool system.
  Based on FS#13 by blathijs, partly implemented. 
						
						
					 
					
						2006-08-22 15:33:35 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						dee58df5e9 
					 
					
						
						
							
							(svn r6041) -Fix r6040: forgot to declare a function in viewport.c  
						
						
						
						
					 
					
						2006-08-21 18:18:02 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						d95a3d9879 
					 
					
						
						
							
							(svn r6040) -Add: when clicking twice on a Location Button, the SmallMap centers on your position (based on FS#54 by thomasdev)  
						
						... 
						
						
						
						-Add: when clicking twice in SmallMap on a position, it centers there (based on FS#54 by thomasdev)
-Add: add a button in SmallMap that centers the SmallMap on your current position (based on FS#54 by thomasdev) 
						
						
					 
					
						2006-08-21 17:41:04 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						49cdc17103 
					 
					
						
						
							
							(svn r6035) -Revert r5900 which supposedly fixed an invalid warning caused by buggy MS software  
						
						
						
						
					 
					
						2006-08-21 13:04:13 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						0b3ed55905 
					 
					
						
						
							
							(svn r5900) -Fix [FS#84]: Warning silencing fix for OpenTTD on Windows x64 (michi_cc)  
						
						
						
						
					 
					
						2006-08-14 23:27:06 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						82ccd01914 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						d8b8035f9f 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						b3ab20fccb 
					 
					
						
						
							
							(svn r5631) Don't allocate memory for information about a sprite which isn't drawn  
						
						
						
						
					 
					
						2006-07-29 13:06:00 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						711794031c 
					 
					
						
						
							
							(svn r5630) Replace a boolean variable by continue  
						
						
						
						
					 
					
						2006-07-29 11:15:34 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						1823131745 
					 
					
						
						
							
							(svn r5629) Simplify the test whether two bounding boxes overlap  
						
						
						
						
					 
					
						2006-07-29 10:18:59 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						2fd8c07888 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						40a8964911 
					 
					
						
						
							
							(svn r5609) CodeChange : Apply coding style  
						
						
						
						
					 
					
						2006-07-26 03:33:12 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						915a398efe 
					 
					
						
						
							
							(svn r5597) Remove the unused attribute ground_child from struct ViewportDrawer  
						
						
						
						
					 
					
						2006-07-23 08:40:49 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						772fbda3e3 
					 
					
						
						
							
							(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular  
						
						
						
						
					 
					
						2006-06-27 21:25:53 +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 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						1f0735b6cc 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						99197b608a 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						6dbc9c9ced 
					 
					
						
						
							
							(svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE}  
						
						
						
						
					 
					
						2006-04-23 19:35:36 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						dd180a1e18 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						e3fb01a350 
					 
					
						
						
							
							(svn r4502) -Cleanup: Remove code unused since rev1. (Rubidium)  
						
						
						
						
					 
					
						2006-04-21 17:51:01 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						6443c14ebd 
					 
					
						
						
							
							(svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE  
						
						
						
						
					 
					
						2006-04-03 05:32:11 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						4b86230d94 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						b5b348bdce 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						1c3e8630fe 
					 
					
						
						
							
							(svn r3511) More whitespace ([FS#46] by Rubidium)  
						
						
						
						
					 
					
						2006-02-01 07:36:15 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						318fe153eb 
					 
					
						
						
							
							(svn r3365) Staticise 36 functions  
						
						
						
						
					 
					
						2006-01-05 12:40:50 +00:00