Darkvater 
							
						 
					 
					
						
						
							
						
						073e0eb3c9 
					 
					
						
						
							
							(svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to  
						
						... 
						
						
						
						use in debug.h. grfmsg() is now used as a specific debug-function for grf. 
						
						
					 
					
						2006-12-26 17:36:18 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						2f3c5a05bb 
					 
					
						
						
							
							(svn r7444) -Codechange: Use one (global) cargo-colours array for drawing cargo-colours. Change Food  
						
						... 
						
						
						
						colour to pink everywhere (fixes FS#303) 
						
						
					 
					
						2006-12-09 00:37:02 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						9218fc16e6 
					 
					
						
						
							
							(svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface.  
						
						
						
						
					 
					
						2006-12-05 13:58:20 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						756d6a6efb 
					 
					
						
						
							
							(svn r7355) -Codechange: replace 'for (i = 0; w->widget[i].type != WWT_TYPE; i++)'-type for loops with 'for (i = 0; i < w->widget_count; i++)'-type for loops  
						
						
						
						
					 
					
						2006-12-04 13:46:03 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						d50f6c8a8c 
					 
					
						
						
							
							(svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1)  
						
						
						
						
					 
					
						2006-11-10 19:24:14 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						d303ef94b3 
					 
					
						
						
							
							(svn r6925) -Codechange: Be more strict with widget distinctions. WWT_PANEL is only plain panel,  
						
						... 
						
						
						
						WWT_IMGBTN must contain an image for drawing. Renamed WWT_PANEL_2 to WWT_IMGBTN_2
 because that is what it is. Added WWT_PUSHBTN that is either just a pushable button,
 or a textbutton, which text's drawn dynamically independent of widget. 
						
						
					 
					
						2006-10-24 14:15:17 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						ee27bb497c 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						7f36a980c7 
					 
					
						
						
							
							(svn r6882) -Fix r6777: Off by one drawing error for cargo buttons  
						
						
						
						
					 
					
						2006-10-21 23:08:17 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						c22b610c52 
					 
					
						
						
							
							(svn r6777) -GuiChange: When painting a lowered button on CargoPaymentsRates, displace the content of one pixel to the right and to the bottom.  This will make it look like a normal button  
						
						
						
						
					 
					
						2006-10-15 03:40:53 +00:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						f7a5a4219c 
					 
					
						
						
							
							(svn r6674) -Fix r6631: two loops had incorrect behaviour (out of bound access in widget arrays)  
						
						
						
						
					 
					
						2006-10-06 23:17:04 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						17eb65050b 
					 
					
						
						
							
							(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 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						753b572400 
					 
					
						
						
							
							(svn r6619) -Codechange: Use accessors for disabled_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 02:08:15 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						2c45339e0a 
					 
					
						
						
							
							(svn r6612) -Codechange: Use accessors for hidden_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-02 00:28:31 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						1c56a5ae0f 
					 
					
						
						
							
							(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 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						b83a3f8726 
					 
					
						
						
							
							(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 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						9bb2a97e57 
					 
					
						
						
							
							(svn r6081) -Fix(6054) : Silenced a MSVC warning on  compiling (thanks MaulinMonkey)  
						
						
						
						
					 
					
						2006-08-23 23:23:14 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						5fd9aeb12b 
					 
					
						
						
							
							(svn r6055) -Codechange: added GetXXXArraySize, which returns HighestID + 1 (or, will do that).  
						
						... 
						
						
						
						It isn't the best name, but we couldn't find any better.
  This unifies the pool-system even more. 
						
						
					 
					
						2006-08-22 20:41:26 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						2e0d16026b 
					 
					
						
						
							
							(svn r6054) Change the sign sorter in a similar way as the other sorters: Remember a list of pointers to signs instead of a list of SignIDs - This removes a layer of indirection  
						
						... 
						
						
						
						Also make the sign list static 
						
						
					 
					
						2006-08-22 20:39:18 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						b34d77ca3f 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						0461d89612 
					 
					
						
						
							
							(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 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						480af9c917 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						3cab5f30c0 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						0d3ccad29f 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						243872b4fd 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						29337381a0 
					 
					
						
						
							
							(svn r4809) Codechange : Merged two loops in only one.  
						
						
						
						
					 
					
						2006-05-09 17:10:26 +00:00 
						 
				 
			
				
					
						
							
							
								KUDr 
							
						 
					 
					
						
						
							
						
						9cd88e7153 
					 
					
						
						
							
							(svn r4713) - Fix: random crashes when opening some GUI (i.e. cheats window) on Win32 debug build.  
						
						
						
						
					 
					
						2006-05-03 15:21:49 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						d5909f901a 
					 
					
						
						
							
							(svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.  
						
						
						
						
					 
					
						2006-03-26 22:23:32 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						49c7eb934b 
					 
					
						
						
							
							(svn r3613) Some more const, indentation, whitespace and similar stuff  
						
						
						
						
					 
					
						2006-02-18 14:41:24 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						1f177c6306 
					 
					
						
						
							
							(svn r3607) - Fix indenting of PerformanceRatingDetailWndProc()  
						
						
						
						
					 
					
						2006-02-16 20:51:06 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						84fb96fe85 
					 
					
						
						
							
							(svn r3511) More whitespace ([FS#46] by Rubidium)  
						
						
						
						
					 
					
						2006-02-01 07:36:15 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						979a8fea86 
					 
					
						
						
							
							(svn r3417) - Make company league table window pinnable.  
						
						
						
						
					 
					
						2006-01-22 10:00:04 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						1c57091230 
					 
					
						
						
							
							(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 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						cac9cfe249 
					 
					
						
						
							
							(svn r3215) - Fix: warning on VS.NET 2003 complaining about constness reintroduced by revision 3192  
						
						
						
						
					 
					
						2005-11-17 22:56:50 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						06a708b7b3 
					 
					
						
						
							
							(svn r3198) Rewrite the company league drawing routine for better readability  
						
						
						
						
					 
					
						2005-11-16 12:10:45 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						f7abff5f96 
					 
					
						
						
							
							(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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						ed8c9c91d6 
					 
					
						
						
							
							(svn r3001) s/Player*/const Player*/  
						
						... 
						
						
						
						s/byte/PlayerID/
s/int/PlayerID/
and related changes 
						
						
					 
					
						2005-09-30 20:37:25 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						c2c865e4b9 
					 
					
						
						
							
							(svn r2984) Use adequate types, this should aid portability a bit  
						
						
						
						
					 
					
						2005-09-25 09:04:59 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						8e6a911700 
					 
					
						
						
							
							(svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters  
						
						... 
						
						
						
						- change a lot of byte player types to PlayerID
- beautify header files, same "#endif /* filename */" ending 
						
						
					 
					
						2005-09-18 20:56:44 +00:00 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						29564f9fcf 
					 
					
						
						
							
							(svn r2781) Fix some of the issues with variables in .h files.  
						
						
						
						
					 
					
						2005-08-01 16:31:19 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						11a70c5e91 
					 
					
						
						
							
							(svn r2766) Remove string and make use of the plural feature  
						
						
						
						
					 
					
						2005-07-31 16:15:37 +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 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						2379c59ab8 
					 
					
						
						
							
							(svn r2645) Fix (useless)warning in graph_gui and add brackets around HASBIT in an if statement  
						
						
						
						
					 
					
						2005-07-19 22:29:35 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7c694f2553 
					 
					
						
						
							
							(svn r2643) Get rid of some unnecessary casts  
						
						
						
						
					 
					
						2005-07-19 21:49:35 +00:00 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						2fa79c9b4d 
					 
					
						
						
							
							(svn r2572) - Codechange: [string] Changed string system so it's not as dependent on decode_parameters  
						
						... 
						
						
						
						- Feature: [strgen] Allow changing the order of parameters in translated strings.
  - Use {1:TOWN} syntax to set the order.
- Codechange: [strgen] Rewrote lots of strgen internals. 
						
						
					 
					
						2005-07-15 14:53:44 +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 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						aa7334a3ec 
					 
					
						
						
							
							(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer  
						
						
						
						
					 
					
						2005-06-21 16:28:17 +00:00