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 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						650b9be724 
					 
					
						
						
							
							(svn r6046) CodeChange : Rename WWT_5 Widget type to WWT_LABEL :  a centered label  
						
						... 
						
						
						
						CodeChange : Move almost all fixed strings from ON_PAINT event to Widget array using WWT_LABEL.
Feature : All "Select Refit Cargo" are now centered, instead of been left aligned 
						
						
					 
					
						2006-08-22 15:23:25 +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 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						a824598367 
					 
					
						
						
							
							(svn r6038) -Codechange: move mousewheel code to event WE_MOUSEWHEEL instead of a general function that handles that  
						
						... 
						
						
						
						-Codechange: use always 'e' for WindowsEvent, neverr 'we' 
						
						
					 
					
						2006-08-21 14:59:58 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						f6b17149c6 
					 
					
						
						
							
							(svn r6036) -Codechange: do not handle SCROLL in a central function, but let windows handle them theirself. Added WE_SCROLL for this.  
						
						
						
						
					 
					
						2006-08-21 14:34:59 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						7abad2b20e 
					 
					
						
						
							
							(svn r5946) -Add: merged the TGP branch to mainline. TGP adds:  
						
						... 
						
						
						
						- New optional landscape generator (TerraGenesis Perlin)
  - Load heightmaps (either BMP or PNG)
  - Progress dialog while generating worlds (no longer a 'hanging' screen)
  - New dialogs for NewGame, Create Scenario and Play Heightmap
    - Easier to configure your landscape
    - More things to configure (tree-placer, ..)
  - Speedup of world generation
  - New console command 'restart': restart the map EXACTLY as it was when you
      first started it (needs a game made after or with this commit)
  - New console command 'getseed': get the seed of your map and share it with
      others (of course only works with generated maps)
  - Many new, world generation related, things
  - Many internal cleanups and rewrites
  Many tnx to those people who helped making this:
     Belugas, DaleStan, glx, KUDr, RichK67, Rubidium, and TrueLight (alfabetic)
  Many tnx to those who helped testing:
     Arnau, Bjarni, and tokai (alfabetic)
  And to all other people who helped testing and sending comments / bugs
  Stats: 673 lines changed, 3534 new lines, 79 new strings 
						
						
					 
					
						2006-08-19 10:00:30 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						d3f2180438 
					 
					
						
						
							
							(svn r5944) -Merge TGP (r5578, r5579, r5724, r5726): -Feature: filter for textboxes to only  
						
						... 
						
						
						
						allow certain patterns (like numbers only) 
						
						
					 
					
						2006-08-19 09:31:22 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						7d2ceb2063 
					 
					
						
						
							
							(svn r5918) -Cleanup: rename ConvertDayToYMD/ConvertYMDToDay as they really convert a Date to/from a YearMonthDay.  
						
						... 
						
						
						
						-Cleanup: swap ConvertDateToYMD's parameters to make the order consistent with the name of the function. 
						
						
					 
					
						2006-08-15 16:49:48 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						9fc837ad85 
					 
					
						
						
							
							(svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]  
						
						... 
						
						
						
						-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments 
						
						
					 
					
						2006-08-14 14:21:15 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						e4474db35f 
					 
					
						
						
							
							(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism  
						
						... 
						
						
						
						Simplification of the handling of the main_gui menus,
Removal of repetitions and Hiding the internals of screenshots.
Thanks to glx, Rubidium and Truelight for pointers 
						
						
					 
					
						2006-07-28 21:51:00 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						40a8964911 
					 
					
						
						
							
							(svn r5609) CodeChange : Apply coding style  
						
						
						
						
					 
					
						2006-07-26 03:33:12 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						772fbda3e3 
					 
					
						
						
							
							(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular  
						
						
						
						
					 
					
						2006-06-27 21:25:53 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						347473b0b0 
					 
					
						
						
							
							(svn r5226) Reduce the mess that sending chat messages is  
						
						... 
						
						
						
						This also fixes a bug:
-Fix: It was possible to rename a signs or waypoints with the chat box 
						
						
					 
					
						2006-06-11 16:00:56 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						26db3ac91f 
					 
					
						
						
							
							(svn r4623) - Codechange: s/byte/PlayerID/  
						
						
						
						
					 
					
						2006-04-29 14:31:16 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						99fdc0b6ef 
					 
					
						
						
							
							(svn r4591) -Fix (FS#122) Game no longer errors out when "Many random towns" is selected in the scenario editor.  
						
						... 
						
						
						
						-Side effects:
	- Removed one global variable from variables.h
	- Remove an ugly hack for the "many random towns" function 
						
						
					 
					
						2006-04-27 11:19:12 +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 
							
						 
					 
					
						
						
							
						
						395b44d15c 
					 
					
						
						
							
							(svn r4520) -Fix: Did last commit in the wrong branch. Repair and shame on me.  
						
						
						
						
					 
					
						2006-04-22 09:25:36 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						0099dc31f5 
					 
					
						
						
							
							(svn r4314) -Fix: a buffer overflow of the chat box introduced in r1263. Don't tell the Textbuf an arbitrary number as size of the string buffer, but the real lengthof() it  
						
						
						
						
					 
					
						2006-04-07 09:07:53 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						59f0e69521 
					 
					
						
						
							
							(svn r4313) The parent window of the chat box is always the main toolbar (?!), therefore don't pass this information as parameter  
						
						
						
						
					 
					
						2006-04-07 09:00:57 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						2e2235e3cf 
					 
					
						
						
							
							(svn r4312) Calculate the maximum pixel width of the entered text in the chat box from the "text box"-widget instead of hardcoding an arbitrary - and wrong - number  
						
						
						
						
					 
					
						2006-04-07 08:57:03 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						90927c22a5 
					 
					
						
						
							
							(svn r4310) The chat box has no visible window title, therefore remove the string  
						
						
						
						
					 
					
						2006-04-07 08:37:39 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						98b51c36e2 
					 
					
						
						
							
							(svn r4309) The initial string of the chat box is always the empty string, so don't jump through hoops to check if nothing was entered and simplify the code  
						
						
						
						
					 
					
						2006-04-07 08:27:43 +00:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						ed86c3d818 
					 
					
						
						
							
							(svn r4092) CodeChange : Named sprites instead of magic numbers plus create/use helper macro/enum for recoloring scheme  
						
						
						
						
					 
					
						2006-03-24 18:16:39 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						747fe64b31 
					 
					
						
						
							
							(svn r4073) Add functions to make and test for (most) unmovable tiles  
						
						
						
						
					 
					
						2006-03-23 20:47:56 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						5f57b49c7e 
					 
					
						
						
							
							(svn r3931) - [ 1451726 ] Use sprite names in main_gui.c instead of numbers (matthewwalton)  
						
						
						
						
					 
					
						2006-03-17 23:23:10 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						367b09a1f9 
					 
					
						
						
							
							(svn r3827) Remove the global variable _error_message_2, it's only used as local variable  
						
						
						
						
					 
					
						2006-03-12 10:15:36 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7d9dfc50be 
					 
					
						
						
							
							(svn r3749) -Fix: [FS#61] The tooltips for raising and lowering land buttons in the scenario editor are interchanged (Reported and fixed by lc)  
						
						
						
						
					 
					
						2006-03-03 20:48:03 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						1c3e8630fe 
					 
					
						
						
							
							(svn r3511) More whitespace ([FS#46] by Rubidium)  
						
						
						
						
					 
					
						2006-02-01 07:36:15 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						9712d6f639 
					 
					
						
						
							
							(svn r3510) Fiddle with whitespace and parentheses  
						
						
						
						
					 
					
						2006-02-01 06:32:03 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						35c5be0e45 
					 
					
						
						
							
							(svn r3414) - Fix: Disable the Fund New Industry menu item and window when connected to a server as a spectator.  
						
						
						
						
					 
					
						2006-01-21 21:45:34 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						45a0cc607c 
					 
					
						
						
							
							(svn r3376) -Codechange: made enums for GenerateWorld and InitializeGame 'mode'  
						
						... 
						
						
						
						-Fix: [ FS#30 ] don't reset date in SE when pressing RandomLand (rewrote patch of MeusH, but Peter warned me I should put his name in, so... oh well) 
						
						
					 
					
						2006-01-06 21:57:37 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						28b8b7e269 
					 
					
						
						
							
							(svn r3300) Remove unreachable code - in this case some duplicate breaks  
						
						
						
						
					 
					
						2005-12-14 06:49:54 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a2533d5ee6 
					 
					
						
						
							
							(svn r3298) Remove unused and write-only variables  
						
						
						
						
					 
					
						2005-12-14 06:28:48 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						5f3dc36983 
					 
					
						
						
							
							(svn r3270) Correct all (mis)uses of WWT_CLOSEBOX / WWT_TEXTBTN to reflect their actual use, and add "Close Window" tooltip where missing.  
						
						
						
						
					 
					
						2005-12-07 15:48:52 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						16e65960b9 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						45186b1601 
					 
					
						
						
							
							(svn r3194) Don't use FindLandscapeHeightByTile() when it's overkill  
						
						
						
						
					 
					
						2005-11-16 11:52:21 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						8a3587fa28 
					 
					
						
						
							
							(svn r3185) const  
						
						
						
						
					 
					
						2005-11-15 09:00:02 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						9d0e7b6458 
					 
					
						
						
							
							(svn r3181) -Bracing  
						
						... 
						
						
						
						-Indentation
-Whitespace
-DeMorgan's Law
-Test with NULL or 0 for non-booleans
-'\0' instead of 0 for chars
-Remove redundantly redundant comments (like DoFoo(); // Do foo)
-Join multiple short lines with a single statement
-Split single lines with multiple statements
-Avoid assignments in if 
						
						
					 
					
						2005-11-14 19:48:04 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						524fd25cbd 
					 
					
						
						
							
							(svn r3177) GB, CLRBIT, HASBIT, TOGGLEBIT  
						
						
						
						
					 
					
						2005-11-14 08:09:57 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						53f00c8f9d 
					 
					
						
						
							
							(svn r3173) Use the trinary operator and switch to improve readability  
						
						... 
						
						
						
						Also align short cases nicely 
						
						
					 
					
						2005-11-13 14:54:09 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						81e5b16d71 
					 
					
						
						
							
							(svn r3172) static, const  
						
						
						
						
					 
					
						2005-11-13 13:43:55 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						d431d15b34 
					 
					
						
						
							
							(svn r3159) Remove the read-only variable _no_button_sound  
						
						
						
						
					 
					
						2005-11-09 11:32:15 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						b76df91152 
					 
					
						
						
							
							(svn r3153) - Feature: [ 1276827 ] Drag and drop rocky areas in scenario editor (MeusH-ish)  
						
						
						
						
					 
					
						2005-11-07 16:19:45 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						3a925e230f 
					 
					
						
						
							
							(svn r3108) Confine the use of SPR_OPENTTD_BASE to table/sprites.h by adding/using some sprite enums  
						
						
						
						
					 
					
						2005-10-31 10:23:58 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						e310aef45f 
					 
					
						
						
							
							(svn r3090) Remove long dead pieces of code  
						
						
						
						
					 
					
						2005-10-26 07:12:14 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						0f5c8787f8 
					 
					
						
						
							
							(svn r3081) -Codechange: [autoreplace] complete rewrite of autoreplace  
						
						... 
						
						
						
						this is a complete rewrite, that makes use of existing commands like build and sell
        this means that multiheaded train engines are replaced correctly 
						
						
					 
					
						2005-10-24 19:40:48 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						181d586a7c 
					 
					
						
						
							
							(svn r3078) Some more stuff, which piled up:  
						
						... 
						
						
						
						- const, whitespace, indentation, bracing, GB/SB, pointless casts
- use the trinary operator where appropriate
- data types (uint[] -> AcceptedCargo, ...)
- if cascade -> switch
- if (ptr) -> if (ptr != NULL)
- DeMorgan's Law
- Fix some comments
- 0 -> '\0', change magic numbers to symbolic constants 
						
						
					 
					
						2005-10-23 13:04:44 +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 
							
						 
					 
					
						
						
							
						
						e3d1e43559 
					 
					
						
						
							
							(svn r3049) Replace byte/int/uint by RailType where appropriate  
						
						
						
						
					 
					
						2005-10-16 09:13:04 +00:00