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 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						3d1bde020a 
					 
					
						
						
							
							(svn r6423) -Codechange: Replace two magic numbers by appropriate enum/define value  
						
						
						
						
					 
					
						2006-09-08 03:59:38 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						2ca590ab75 
					 
					
						
						
							
							(svn r6379) -Codechange: cast 'remove babel' on widget's unkA and rename it to 'data'.  
						
						
						
						
					 
					
						2006-09-04 15:44:28 +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 
							
						 
					 
					
						
						
							
						
						5d1c1def4b 
					 
					
						
						
							
							(svn r6210) Remove FR_NOBORDER, because it is exclusivly used in conjunction with FR_TRANSPARENT  
						
						
						
						
					 
					
						2006-08-29 06:39:00 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						c0bf201984 
					 
					
						
						
							
							(svn r6209) Move DrawFrameRect() out of gfx.[ch], because it uses data (_color_list) which the renderer shouldn't have know about  
						
						
						
						
					 
					
						2006-08-29 06:07:57 +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 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						f1b2fcb203 
					 
					
						
						
							
							(svn r4753) - Truncate text in dropdown lists to stop text overflowing.  
						
						
						
						
					 
					
						2006-05-06 20:29:31 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						1c3e8630fe 
					 
					
						
						
							
							(svn r3511) More whitespace ([FS#46] by Rubidium)  
						
						
						
						
					 
					
						2006-02-01 07:36:15 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						b181868483 
					 
					
						
						
							
							(svn r3349) Fix off-by-one error in drawing matrix widget, from r3181.  
						
						
						
						
					 
					
						2005-12-28 08:39:43 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						db78ce622d 
					 
					
						
						
							
							(svn r3302) - Fix: split drawing of text buttons and the closebox, so the closebox symbol can be centred.  
						
						
						
						
					 
					
						2005-12-14 08:05:36 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						627dd10451 
					 
					
						
						
							
							(svn r3247) - Fix: "[ 1335580 ] sticky windows not sticky anymore"  
						
						... 
						
						
						
						Determine clicked status of sticky icon from window flags rather than the widget click state. This keeps the status in one place where it can't get out of sync. 
						
						
					 
					
						2005-11-29 22:04:02 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						28df667ceb 
					 
					
						
						
							
							(svn r3225) - Fix for "[ 1359165 ] Autoreplace problem with r3171 and later" -- Move the disabled/hidden bits to custom data in window struct.  
						
						
						
						
					 
					
						2005-11-22 14:02:45 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						84a16a0b30 
					 
					
						
						
							
							(svn r3184) GB/SB  
						
						
						
						
					 
					
						2005-11-15 08:49:46 +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 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						bb82872bbf 
					 
					
						
						
							
							(svn r3178) - Codechange: move static _dropdown_* vars into the window custom data, giving var1 and var2 more meaningful names.  
						
						
						
						
					 
					
						2005-11-14 08:42:45 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						d97f56b4e2 
					 
					
						
						
							
							(svn r3171) - Codechange: remove static _dropdown_disabled/_dropdown_hidden variables, as a window already contains this information.  
						
						
						
						
					 
					
						2005-11-12 11:10:12 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						8ae6cea592 
					 
					
						
						
							
							(svn r3134) Forgot to commit one file in r3133  
						
						
						
						
					 
					
						2005-11-04 14:57:53 +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 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						968f7dcf55 
					 
					
						
						
							
							(svn r2974) -Fix: Drag and drop selection on drop down boxes didn't select correct item when some items were hidden.  
						
						... 
						
						
						
						-Separate disabled and hidden masks in drop downs to support both hidden and disabled items. 
						
						
					 
					
						2005-09-23 07:44:03 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						4a58250cb9 
					 
					
						
						
							
							(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 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						2aa27f9ecb 
					 
					
						
						
							
							(svn r2932) Give the strings consisting of an up/a down arrow symbolic names  
						
						
						
						
					 
					
						2005-09-10 07:38:03 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						fcd012e7ec 
					 
					
						
						
							
							(svn r2736) -Codechange: De-mystified GfxDrawFillRect a bit, and used enums from table/sprites.h. You can now change the number of bits used for sprites and switches in the SpriteSetup enum and the rest should work automagically. Can be used to increase the number of active sprites to 2^19 in case there are no colortables (recolor sprites) in any newgrf. We should possibly move the the colortables to an own list, but how to detect them in a newgrf.  
						
						
						
						
					 
					
						2005-07-28 09:17:32 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						647cbd6bdd 
					 
					
						
						
							
							(svn r2701) Insert Id tags into all source files  
						
						
						
						
					 
					
						2005-07-24 14:12:37 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						54cbd01825 
					 
					
						
						
							
							(svn r2673) Include functions.h directly, not globally via openttd.h  
						
						
						
						
					 
					
						2005-07-22 07:02:20 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						8b05455903 
					 
					
						
						
							
							(svn r2664) Remove depedency on player.h from variables.h  
						
						
						
						
					 
					
						2005-07-21 19:36:43 +00:00 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						6246619185 
					 
					
						
						
							
							(svn r2573) Codechange: Removed WDF_RESTORE_DPARAM, it's not needed with the new string system.  
						
						... 
						
						
						
						Also fixed a bug introduced in r2564, forgot to remove 4 global variables in network_gui.c. 
						
						
					 
					
						2005-07-15 15:09:52 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						1307f90b5e 
					 
					
						
						
							
							(svn r2535) Tabs  
						
						
						
						
					 
					
						2005-07-08 22:25:24 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						5f2c7448b5 
					 
					
						
						
							
							(svn r2530) - Fix: [ 1219829 ] Mouse-wheel crashes OTTD. Widget detection failed to detect the most-right and most-bottom pixels of a widget. If scrollwheel is used on a not-found widget (such as the background of the toolbar), it will now fail correctly (glx)  
						
						
						
						
					 
					
						2005-07-08 00:14:19 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						90900802b9 
					 
					
						
						
							
							(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 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						ba8c649fac 
					 
					
						
						
							
							(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.  
						
						
						
						
					 
					
						2005-06-02 19:30:21 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						34811a332e 
					 
					
						
						
							
							(svn r2161) - Fix: When resizing a window, the button is also visibly depressed  
						
						... 
						
						
						
						- CodeChange: Use images as arrows in the scenario-date scroller, looks better
- Feature: Clicked buttons with images/text now visibly depress their contents when pressed (eg it really seems like the button is moving)
- Fix: Fix sprite offsets of the arrow sprites in openttd.grf 
						
						
					 
					
						2005-04-07 00:59:54 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						830565514c 
					 
					
						
						
							
							(svn r1867) Include tables/sprites.h only in files which need it  
						
						
						
						
					 
					
						2005-02-13 11:18:02 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						d7fc1b2c69 
					 
					
						
						
							
							(svn r1679) Fix: dropdown menus now returns the index of the string that was clicked even if a previous item is hidden  
						
						... 
						
						
						
						This bug was not triggered by the current code, but it's easier to code new features if you do not have to think about such limitations 
like you can't hide an item in the middle of the list ;) 
						
						
					 
					
						2005-01-26 11:23:54 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						97f893ae2f 
					 
					
						
						
							
							(svn r1596) Add some more statics  
						
						
						
						
					 
					
						2005-01-22 22:47:58 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						2eb7aedf69 
					 
					
						
						
							
							(svn r1402) Trim trailing whitespace  
						
						
						
						
					 
					
						2005-01-06 18:45:28 +00:00 
						 
				 
			
				
					
						
							
							
								darkvater 
							
						 
					 
					
						
						
							
						
						f7f3afb770 
					 
					
						
						
							
							(svn r1380) -Fix: missed widget fixes; thanks Jango and TestMan57  
						
						
						
						
					 
					
						2005-01-04 21:45:38 +00:00 
						 
				 
			
				
					
						
							
							
								darkvater 
							
						 
					 
					
						
						
							
						
						d63144e8c0 
					 
					
						
						
							
							(svn r1379) -Fix: various GUI glitches. Added default sizes to various widgets. Sticky/Resize- and Scrollbar must be 11 pixels wide, Horizontal scrollbar 11 pixels high, caption must be 13 pixels. I hope I didn't forget any widgets, the game will assert for that so report them to me!  
						
						
						
						
					 
					
						2005-01-04 21:28:09 +00:00 
						 
				 
			
				
					
						
							
							
								darkvater 
							
						 
					 
					
						
						
							
						
						6374240285 
					 
					
						
						
							
							(svn r1369) -Feature(ish): Added sprites for up/down and left/right arrows. Anywhere where there are horizontal scrollers these are now left/right arrows  
						
						
						
						
					 
					
						2005-01-04 14:54:27 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						ac21b27d37 
					 
					
						
						
							
							(svn r1368) -Fix: Disabled dropdown menu options are gray again (instead of blue)  
						
						... 
						
						
						
						(redid revision 1357) 
						
						
					 
					
						2005-01-04 13:45:58 +00:00 
						 
				 
			
				
					
						
							
							
								darkvater 
							
						 
					 
					
						
						
							
						
						036b043f9f 
					 
					
						
						
							
							(svn r1357) -Fix: Disabled dropdown menu options are gray again (instead of blue)  
						
						
						
						
					 
					
						2005-01-03 22:04:34 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						3b7d2a8b67 
					 
					
						
						
							
							(svn r1348) -Feature: resizable windows. Read the comment in window.h to find out  
						
						... 
						
						
						
						how the system works. All useful windows are already made resizable. Enjoy :)
-Fix: fixed some GUI-glitches and flaws along the way 
						
						
					 
					
						2005-01-03 19:45:18 +00:00 
						 
				 
			
				
					
						
							
							
								darkvater 
							
						 
					 
					
						
						
							
						
						83342a0bcb 
					 
					
						
						
							
							(svn r1341) -Fix: fix WWT_FRAME drawing when there is no text there (STR_NULL)  
						
						... 
						
						
						
						-Copyright notice is now 2002-2005 for all languages 
						
						
					 
					
						2005-01-03 17:55:25 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						a1a5790014 
					 
					
						
						
							
							(svn r1326) fixed compiler warnings in vehicle_gui.c and widget.c  
						
						
						
						
					 
					
						2005-01-02 22:28:56 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						5da75918c0 
					 
					
						
						
							
							(svn r1323) Adding autoreplace feature  
						
						... 
						
						
						
						This feature works much like autorenew, but it will get you a new engine type instead of a new one of the same type. Once 
ordered, it will automatically replace the engines while they visits a depot. The GUI for setting this up have been added on the 
vehicle overview windows
Note: autorenew is now autoreplace, but to the same engine type
Nice new features, that was added to make this possible
- windows can now have two independant vertical scrollbars
- CMD_SHOW_NO_ERROR have been added as a flag for DoCommandP. It will make it do the action instead of showing the red box with 
estimated costs even if shift is pressed
- fixed problem where enginetypes where not initialized when loading a game. It's now done in InitializeGame() 
						
						
					 
					
						2005-01-02 17:23:04 +00:00 
						 
				 
			
				
					
						
							
							
								darkvater 
							
						 
					 
					
						
						
							
						
						302893f0da 
					 
					
						
						
							
							(svn r1121) -Feature: Added sticky windows feature. A small pin allows the user to set the window as undeletable and can only be closed by hand. As an example the viewport window has been stickied (thanks to Neko-San)  
						
						... 
						
						
						
						-To use the feature add WDF_STICKY_BUTTON to the widget description and update all widget-ID's since sticky button will be widget 2. 
						
						
					 
					
						2004-12-15 23:33:04 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						da1de0ab48 
					 
					
						
						
							
							(svn r1112) -Fix: _decode_parameters was increased to [20], but not all temp-dparams were  
						
						
						
						
					 
					
						2004-12-15 21:45:44 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						acbd1801c7 
					 
					
						
						
							
							(svn r815) Include strings.h only in the files which need it.  
						
						... 
						
						
						
						This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled. 
						
						
					 
					
						2004-11-25 10:47:30 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						eb49a19460 
					 
					
						
						
							
							(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!  
						
						
						
						
					 
					
						2004-09-10 19:02:27 +00:00 
						 
				 
			
				
					
						
							
							
								darkvater 
							
						 
					 
					
						
						
							
						
						56435c8775 
					 
					
						
						
							
							(svn r177) -Fix: padded out Widget code to solve warnings on C99 compiler (Tron)  
						
						... 
						
						
						
						-Fix: added WIDGETS_END macro for WWT_LAST which does this for all last widget-types 
						
						
					 
					
						2004-09-07 21:48:09 +00:00