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 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						fcd2af4643 
					 
					
						
						
							
							(svn r6879) -Codechange: Remove the superflouos argument CharsetFilter parameter from HandleEditBoxKey  
						
						... 
						
						
						
						as the same information is present in querystr_d->afilter
-Also (&((querystr_d *)&WP(w, querystr_d))->text is the same as &WP(w, querystr_d).text 
						
						
					 
					
						2006-10-21 22:50:57 +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 
							
						 
					 
					
						
						
							
						
						4c9d9a87f1 
					 
					
						
						
							
							(svn r6776) -Codechange: Use IsValidPlayer() function to determine of a PlayerID is an  
						
						... 
						
						
						
						actual playable player (< MAX_PLAYERS) or not. 
						
						
					 
					
						2006-10-14 22:31: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 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						688da1d940 
					 
					
						
						
							
							(svn r6631) -Codechange: Use accessors for click_state.  
						
						... 
						
						
						
						Another step toward merging XTDwidget.
The only two files not converted (window.h and widget.c) will be done at the very last commit) 
						
						
					 
					
						2006-10-03 20:16:20 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						a7e16f7203 
					 
					
						
						
							
							(svn r6569) -Fix r6562: fixed incorrect drawing of road vehicle depot  
						
						
						
						
					 
					
						2006-09-29 10:54:59 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						1f2ed9d731 
					 
					
						
						
							
							(svn r6562) -Codechange: merged the vehicle list window widget arrays  
						
						... 
						
						
						
						It made no sense to maintain 8 nearly identically arrays when a single one can do the job
  Also made the two buttons always use half of the bottom width each, even when resizing 
						
						
					 
					
						2006-09-28 23:05:03 +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 
							
						 
					 
					
						
						
							
						
						a53c92464f 
					 
					
						
						
							
							(svn r6405) -Codechange: When showing tooltips, properly position the tooltip, considering  
						
						... 
						
						
						
						cursor size and cursor offset (hotspot). The maximum and minimum y-values
 for the tooltip are just below the mainbar and statusbar. Also, if the tooltip
 would be too low, flip it above the cursor. 
						
						
					 
					
						2006-09-05 23:11:41 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						9f73fce941 
					 
					
						
						
							
							(svn r6169) -Codechange: Use GetString() instead of GetStringWithArgs() which should be  
						
						... 
						
						
						
						integral to strings.c 
						
						
					 
					
						2006-08-27 10:04:33 +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 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						6fb092aa7a 
					 
					
						
						
							
							(svn r5999) -Feature: change the original date format to a 32 bits format based at the year 0.  
						
						... 
						
						
						
						The game date subsystem now allows someone to start in the year 0 and continue
up to the year 5 000 000. However, you currently cannot build anything before 
1920 as there is no newgrf support for dates before 1920 or after 2090 yet. 
						
						
					 
					
						2006-08-20 18:40:57 +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 
							
						 
					 
					
						
						
							
						
						e87e065e41 
					 
					
						
						
							
							(svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920  
						
						... 
						
						
						
						-Codechange: store all year related variables that are _not_ stored in a savegame/transported over the network in the same format as _cur_year 
						
						
					 
					
						2006-08-16 11:39:55 +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 
							
						 
					 
					
						
						
							
						
						c55962f8a2 
					 
					
						
						
							
							(svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and BASE_YEAR when comparing _cur_year with a 'full' year.  
						
						... 
						
						
						
						-Cleanup: replace some magic '1920' values with BASE_YEAR. 
						
						
					 
					
						2006-08-15 15:18:03 +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 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						97c3b5cad8 
					 
					
						
						
							
							(svn r5767) - Cleanup: Improve upon the header file mess regarding fios. Move all relevant types from hal.h into fios.h, eliminate the unneccessary passing of a global variable, and extern variables in header files (declare in fios.c and misc_gui.c  
						
						
						
						
					 
					
						2006-08-05 00:59:45 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						1995313619 
					 
					
						
						
							
							(svn r5761) - Cleanup: Really minor whitespace changes, and remove an extern from a function decleration in header file.  
						
						
						
						
					 
					
						2006-08-04 23:33:05 +00:00 
						 
				 
			
				
					
						
							
							
								miham 
							
						 
					 
					
						
						
							
						
						5f18b6792a 
					 
					
						
						
							
							(svn r5714) Backport from branches/TGP (r5701 and r5711)  
						
						... 
						
						
						
						-Fix: < > boxes in patch-settings didn't grey out when they hit the limit of their range
 -Codechange: while at it, prettyfied DrawArrowButtons() a bit
 -Fix: < > boxes in industry production window (when cheat enabled) had a minor glitch 
						
						
					 
					
						2006-08-02 18:36:53 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						40a8964911 
					 
					
						
						
							
							(svn r5609) CodeChange : Apply coding style  
						
						
						
						
					 
					
						2006-07-26 03:33:12 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						2c49023269 
					 
					
						
						
							
							(svn r5489) -Fix: corrected tokai's name and morphos details (tokai)  
						
						
						
						
					 
					
						2006-07-13 17:58:13 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						858cc621a6 
					 
					
						
						
							
							(svn r5409) - Regression [r5391]: WE_CLICK event of SelectScenarioWndProc() cascaded to WE_RESIZE handler, causing the Save and Map toolbar widgets to be altered. Fix by putting the break; back.  
						
						
						
						
					 
					
						2006-06-28 20:27:31 +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 
							
						 
					 
					
						
						
							
						
						b725af6ad7 
					 
					
						
						
							
							(svn r4946) "Feature": Add a cheat that allows running electric engines on normal rail  
						
						
						
						
					 
					
						2006-05-22 14:41:20 +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 
						 
				 
			
				
					
						
							
							
								miham 
							
						 
					 
					
						
						
							
						
						91a6004697 
					 
					
						
						
							
							(svn r4690) [Fix] Fixed ShowQueryString() to close FS#151  
						
						
						
						
					 
					
						2006-05-02 17:28:29 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						26db3ac91f 
					 
					
						
						
							
							(svn r4623) - Codechange: s/byte/PlayerID/  
						
						
						
						
					 
					
						2006-04-29 14:31:16 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						ffc04f0889 
					 
					
						
						
							
							(svn r4478) -Fix (FS#107) In the cheat menu, don't hard-code the player icon, but compute its position from the length of the string.  
						
						
						
						
					 
					
						2006-04-19 16:02:07 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						35e93e451f 
					 
					
						
						
							
							(svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex  
						
						... 
						
						
						
						Remove DoCommandByTile(), because now it does the same as DoCommand() 
						
						
					 
					
						2006-04-10 07:15:58 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						24da7e158a 
					 
					
						
						
							
							(svn r4302) - Fix: s/maxlength/maxwidth of course, the buffer size is always set. Comment-change only  
						
						
						
						
					 
					
						2006-04-06 19:16:39 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						c8a85d5419 
					 
					
						
						
							
							(svn r4301) - Fix: the maxlength parameter of Textbuf is supposed to be the size of the buffer (so length of string + '\0'), but in the code it was a mix of both. It didn't cause any problems though, only an occasionaly one-less character than allowed. (thanks Tron for noticing)  
						
						
						
						
					 
					
						2006-04-06 19:11:41 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						6443c14ebd 
					 
					
						
						
							
							(svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE  
						
						
						
						
					 
					
						2006-04-03 05:32:11 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						e3685faad0 
					 
					
						
						
							
							(svn r4105) - Feature: Add proper ISO-8859-15 <> LOCALCODE conversion. As the mess that is makefile can't properly support it at the moment, it is only available for MACOSX. Windows doesn't need FS conversion and I have no idea about OS/2 so it's disabled for them.  
						
						... 
						
						
						
						- CodeChange: Change the function GetCurrentLocale(). It returns the locale from some default environment-variables, plus a custom one defined as parameter. If all fail, it tries $LANG. 
						
						
					 
					
						2006-03-25 09:22:10 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						f18ed60611 
					 
					
						
						
							
							(svn r4002) - Fix: Use the title of a savegame in the saveload dialog-editbox. This gets rid of the '.sav' appended to each game as well as properly showing UTF-8 saves when this is implemented. Also don't change the text if the save has failed.  
						
						
						
						
					 
					
						2006-03-21 22:09:19 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						413dd85cd7 
					 
					
						
						
							
							(svn r4001) - Add length parameter to FiosMakeSavegameName() and use this function for creating the full path instead of home-brewn snprintf.  
						
						
						
						
					 
					
						2006-03-21 22:08:15 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						aef238f1ad 
					 
					
						
						
							
							(svn r3853) - Fix a change of SetDParam64 to SetDParam in r3713 that caused slightly vibrating text when pressing the cheat-button. Thanks to peter1138 for noticing.  
						
						
						
						
					 
					
						2006-03-13 23:13:21 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						78d666eb8e 
					 
					
						
						
							
							(svn r3713) - Fix up the cheats window a little. The cheats code is still abominable, but at least a bit more readable now.  
						
						... 
						
						
						
						Use the now generalized ReadValue/WriteValue functions as well as using general variable-types (SLE_VAR, instead of custom CE_ ones).
  Remove the CE_CLICK type and use a SLE_BOOL type instead with a flag of CE_CLICK.
  Remove stepsize from the struct. The stepsize is automatically calculated from the minimum and maximum values (in 20 steps). 
						
						
					 
					
						2006-03-01 20:49:47 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						b4794ddc3b 
					 
					
						
						
							
							(svn r3710) - Use the general function DrawArrowButtons() instead of doing it manually. The function has two parameters added, colour and an enabled flag.  
						
						
						
						
					 
					
						2006-03-01 20:24:22 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						1c3e8630fe 
					 
					
						
						
							
							(svn r3511) More whitespace ([FS#46] by Rubidium)  
						
						
						
						
					 
					
						2006-02-01 07:36:15 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						3edea59a58 
					 
					
						
						
							
							(svn r3453) - CodeChange: Also show the landinfo debug information when building in release mode; however it is shown at debug level 1.  
						
						
						
						
					 
					
						2006-01-27 17:06:29 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						1ba8bcd0de 
					 
					
						
						
							
							(svn r3439) - CodeChange: Remove a whole bunch of global variables and put them into the WP() macro. Also combine more than one WP-custom element. For this the maximum size of w->custom (WP) has been increased, and multiple types put inside one with possibly moved to the corresponding gui file if it is only used there.  
						
						
						
						
					 
					
						2006-01-26 16:19:24 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						e2c90e8f5a 
					 
					
						
						
							
							(svn r3421) - Revert r3412 as it didn't work.  
						
						... 
						
						
						
						- Fix station builder issue by checking the tile is in bounds. 
						
						
					 
					
						2006-01-23 19:12:35 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a2533d5ee6 
					 
					
						
						
							
							(svn r3298) Remove unused and write-only variables  
						
						
						
						
					 
					
						2005-12-14 06:28:48 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						9b43afecf1 
					 
					
						
						
							
							(svn r3295) - Regressionfix: scrolling with mousewheel no longer worked in saveload dialogs because of restriction that scroller is only active for widget + next widget is scrollbar. Yes, we need a better window system.  
						
						
						
						
					 
					
						2005-12-13 22:28:44 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						acf8bba4f6 
					 
					
						
						
							
							(svn r3293) - Miscellaneous: add peter1138 as developer  
						
						
						
						
					 
					
						2005-12-13 20:20:44 +00:00