Darkvater 
							
						 
					 
					
						
						
							
						
						04628a1979 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						d0e55bab8b 
					 
					
						
						
							
							(svn r7292) -Codechange: Also validate an strip of colours the console string passed to the dedicated  
						
						... 
						
						
						
						console or logfile. 
						
						
					 
					
						2006-11-29 21:38:19 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						1f4e4cc9f1 
					 
					
						
						
							
							(svn r7233) -Codechange: get rid of three console.c globals  
						
						
						
						
					 
					
						2006-11-21 22:10:52 +00:00 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						e9905dec80 
					 
					
						
						
							
							(svn r7207) -Codechange: Pass the (unchanged) windowpointer to the console window and do it only once.  
						
						
						
						
					 
					
						2006-11-18 17:07:05 +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 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						f660d48e6a 
					 
					
						
						
							
							(svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.  
						
						
						
						
					 
					
						2006-11-16 22:05:33 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						22bfbc8a7a 
					 
					
						
						
							
							(svn r7172) -Fix [r6931]: The console showed '?' characters instead of colours. Now strip all  
						
						... 
						
						
						
						colours for the console. It's a bit magicky (magic numbers) but UTF8 fixes that soon. 
						
						
					 
					
						2006-11-16 17:41:24 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						5f9fcc5b21 
					 
					
						
						
							
							(svn r6875) -Feature: Allow for " to be in console tokens. Escape them with \. eg \".  
						
						
						
						
					 
					
						2006-10-21 22:24:28 +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 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						a87a2c26ec 
					 
					
						
						
							
							(svn r5993) -Fix r5974: a cause-no-warning commit caused a warning ;) (glx)  
						
						
						
						
					 
					
						2006-08-20 17:22:03 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						73cd71db04 
					 
					
						
						
							
							(svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)  
						
						
						
						
					 
					
						2006-08-20 12:09:32 +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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						0b2399fec2 
					 
					
						
						
							
							(svn r4434) - Codechange: use str_validate for the console as well instead of custom function doing the same.  
						
						
						
						
					 
					
						2006-04-15 19:52:58 +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 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						5352e9fbcb 
					 
					
						
						
							
							(svn r3597) Miscellaneous (I like that word) changes: Fix some indentation, add consts, reduce indentation level by short-circuit logic, convert if cascades to switch, whitespace, bracing, plus some minor stuff  
						
						
						
						
					 
					
						2006-02-13 21:15:00 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						318fe153eb 
					 
					
						
						
							
							(svn r3365) Staticise 36 functions  
						
						
						
						
					 
					
						2006-01-05 12:40:50 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						04c096ee63 
					 
					
						
						
							
							(svn r3339) Remove unnecessary includes  
						
						
						
						
					 
					
						2005-12-24 20:54:31 +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 
							
						 
					 
					
						
						
							
						
						765e80114b 
					 
					
						
						
							
							(svn r2655) An uint16 is an uint16, not a byte - fix wrong cast  
						
						
						
						
					 
					
						2005-07-20 19:12:30 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						1273f21ff5 
					 
					
						
						
							
							(svn r2405) Simplify a few '? true : false' and '? false : true', especially the latter is confusing  
						
						
						
						
					 
					
						2005-06-04 07:35:12 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						ba8c649fac 
					 
					
						
						
							
							(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.  
						
						
						
						
					 
					
						2005-06-02 19:30:21 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						2ef99ea7b0 
					 
					
						
						
							
							(svn r2395) - Fix: oops, forgot a break in a console switch.  
						
						
						
						
					 
					
						2005-06-02 15:48:28 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						53b1de7d70 
					 
					
						
						
							
							(svn r2385) - Feature: shortcut CTRL + U that clears the commandline of the current input-box. As requested by Tron.  
						
						
						
						
					 
					
						2005-05-30 16:03:21 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						ad30c7a2c1 
					 
					
						
						
							
							(svn r2372) - Fix (console): update the example scripts in the scripts/ directory to reflect the new console functionality  
						
						... 
						
						
						
						- Fix (console): any line starting with a '#' is a comment so ignore it
- Fix (console): The special variables whose value can only be set by a custom process should, also print out their newly set value there, instead of relying on the default printout which is slightly confusing. Eg after you change the value it still printed out 'current value for...' instead of 'XXX changed to...' 
						
						
					 
					
						2005-05-28 16:59:51 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						5fc05c681a 
					 
					
						
						
							
							(svn r2338) - CodeChange: only call the variable hooks when you set their value not when you query them  
						
						... 
						
						
						
						- Fix: typo in pool.c "Cleaing up" --> "Cleaning up" 
						
						
					 
					
						2005-05-17 16:07:48 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						3d84bdc0ae 
					 
					
						
						
							
							(svn r2333) - CodeChange: also don't execute command if user has typed all spaces (eg nothing worthwhile). Suggested and implemented by Tron.  
						
						
						
						
					 
					
						2005-05-16 15:05:49 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						ee89f5ab77 
					 
					
						
						
							
							(svn r2332) - Feature: Add 'clear' command and CTRL+L to empty the console window  
						
						... 
						
						
						
						- Fix: do not execute emtpy commands anymore 
						
						
					 
					
						2005-05-16 13:46:26 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						0375f30336 
					 
					
						
						
							
							(svn r2323) Remove unused dereferencing  
						
						
						
						
					 
					
						2005-05-15 18:43:36 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						56bc64a3a1 
					 
					
						
						
							
							(svn r2309) - CodeChange: Change all _iconsole_color_whatever into _icolour_wtv (abbreviated). Besides the changed into proper english, yes this commit is pretty useless ;)  
						
						
						
						
					 
					
						2005-05-14 19:34:59 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						1a9c87bfe4 
					 
					
						
						
							
							(svn r2277) - Codechange: change sscanf() into stroul() Which Does The Right Thing tm. Thanks tron  
						
						
						
						
					 
					
						2005-05-06 22:06:40 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						2c01a24474 
					 
					
						
						
							
							(svn r2275) - Fix: [ 1196662 ] scrollto doesn't accept hexadecimal numbers  
						
						
						
						
					 
					
						2005-05-06 18:34:28 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						6e342942a9 
					 
					
						
						
							
							(svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands  
						
						
						
						
					 
					
						2005-05-03 11:48:55 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						22c76e14fd 
					 
					
						
						
							
							(svn r2258) - Fix (regression): game crashes on resizing window. Windows is a bit too aggressive with its _assume(0), and it did not even belong there  
						
						
						
						
					 
					
						2005-05-03 11:14:06 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						df46ae6e6a 
					 
					
						
						
							
							(svn r2250) - Fix (regression): arguments with spaces in them were incorrectly parsed  
						
						
						
						
					 
					
						2005-05-02 17:58:11 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						1fb4a182e7 
					 
					
						
						
							
							(svn r2247) - Fix (regression): executing scripts now works (remove newline character(s)).  
						
						... 
						
						
						
						- Fix: getting help for an alias works
- Fix: '|' is an unprintable character, replace it with '\' 
						
						
					 
					
						2005-05-02 17:05:59 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						22a375ba73 
					 
					
						
						
							
							(svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'.  
						
						... 
						
						
						
						- Some variables are really special and cannot be assigned normally, use their callback procedure for assignment/querying. This commit also obsoletes "[1172804] Console set command cleanup" 
						
						
					 
					
						2005-05-02 15:52:19 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						8c980af098 
					 
					
						
						
							
							(svn r2230) Oops, revert wrongly committed local console.c. Also add the endian_target.h and endian_host.h to the ignore list  
						
						
						
						
					 
					
						2005-04-24 21:56:46 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						e9f8449d55 
					 
					
						
						
							
							(svn r2229) - Fix: [ 1188777 ] Non-existing sprite  #5125  (presignal). The DOS grf file trgi.grf has 6 less sprites than the windows one. This results in some segfaults for certain sprites. Fixed it by added a dummy grf file consisting ofr 6 sprites and loaded when using DOS gfx at the appropiate place.  
						
						
						
						
					 
					
						2005-04-24 21:44:45 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						fe9bb7e176 
					 
					
						
						
							
							(svn r2092) - Fix: old commands/lines in the console (history) did not show when they used 'special' characters like öä, etc. Diff approved by the code-police.  
						
						
						
						
					 
					
						2005-03-27 17:20:27 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						0b449bb12a 
					 
					
						
						
							
							(svn r1987) - Cleanup: remove the last remaining dinosaurs of a dead console  
						
						
						
						
					 
					
						2005-03-10 22:03:55 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						7656c683cf 
					 
					
						
						
							
							(svn r1901) - Fix: unwanted behaviour of the savegame dialog, as well as a bug with a sloppy termination of a string. When any editbox is open, scrolling is disabled. If any new types of editboxes come up, please use SET/CLRBIT of _no_scroll with its unique identifier (ttd.h)  
						
						
						
						
					 
					
						2005-02-22 14:52:20 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						fb78ca8a62 
					 
					
						
						
							
							(svn r1894) - Codechange: cleaned up the console a bit, wholly unified handling of text with that of editboxes  
						
						... 
						
						
						
						- Codechange: Introduction of Textbuf struct which not only holds physical data as length but also pixel-constrains (width) and information about the caret
- Codechange: Move Clipboard function to OS specific file. Currently only Windows has clipboard actions
- Feature: Editboxes, console and exit screen also accept the numeric-enter as a yes
- Feature: Navigation through text with cursor keys is possible, as well as arbitrary insertion (also paste) and deletion; both backspace and del keys. Functions DeleteTextBufferChar, InsertTextBufferChar and InsertTextBufferClipboard handle input and deletion. Navigation is done through MoveTextBufferPos.
- Fix: OTTD crash when opening 'add server' editbox
- CodeChange: fix up some stringwidth calculations in gfx.c. You can get the width in pixels of a character by calling GetCharacterWidth(). 
						
						
					 
					
						2005-02-21 18:59:54 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						513eb4d7bb 
					 
					
						
						
							
							(svn r1883) -Fix: [1109400] Better test if a string actually contains any console command  
						
						
						
						
					 
					
						2005-02-17 17:38:17 +00:00 
						 
				 
			
				
					
						
							
							
								darkvater 
							
						 
					 
					
						
						
							
						
						493ae95ce5 
					 
					
						
						
							
							(svn r1747) - Fix: [network] ottd should compile when networking is disabled.  
						
						... 
						
						
						
						- Change: change strgen project file to get rid of warning. 
						
						
					 
					
						2005-01-31 00:12:44 +00:00 
						 
				 
			
				
					
						
							
							
								darkvater 
							
						 
					 
					
						
						
							
						
						b33e5d9ee0 
					 
					
						
						
							
							(svn r1734) - Fix: [ 1112253 ] hijacking of arrow keys, game also scrolled when it was out of focus (dominik)  
						
						
						
						
					 
					
						2005-01-30 16:54:39 +00:00 
						 
				 
			
				
					
						
							
							
								darkvater 
							
						 
					 
					
						
						
							
						
						3554e28ad8 
					 
					
						
						
							
							(svn r1628) -Fix: [1107893] script command; log file pointer was not reset to NULL after logging was closed  
						
						
						
						
					 
					
						2005-01-23 21:42:29 +00:00