PeterN 
							
						 
					 
					
						
						
							
						
						e97bf271dc 
					 
					
						
						
							
							Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. ( #10663 )  
						
						 
						
						... 
						
						
						
						This avoids a (soft) namespace conflict between the four ST_* enums. 
						
						
					 
					
						2023-04-16 20:00:55 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Patric Stout 
							
						 
					 
					
						
						
							
						
						1ba4dcc924 
					 
					
						
						
							
							Codechange: migrate all Window-related timers to the new framework  
						
						 
						
						... 
						
						
						
						This means we also say goodbye to GUITimers. 
						
						
					 
					
						2023-04-15 13:58:55 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								PeterN 
							
						 
					 
					
						
						
							
						
						c1077212d7 
					 
					
						
						
							
							Codechange: Use a shared_ptr for viewport overlay. ( #10586 )  
						
						 
						
						
						
						
					 
					
						2023-03-31 16:06:36 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								merni-ns 
							
						 
					 
					
						
						
							
						
						2d0c1ffdb7 
					 
					
						
						
							
							Change  #10255 : Reduce basic thickness of linkgraph GUI lines ( #10410 )  
						
						 
						
						... 
						
						
						
						From 3px to 2px (multiplied by UI scale). 
						
						
					 
					
						2023-01-25 18:06:19 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rubidium 
							
						 
					 
					
						
						
							
						
						bcfe0fb076 
					 
					
						
						
							
							Codechange: introduce GetMainWindow() to properly account for nullptr checks  
						
						 
						
						... 
						
						
						
						Some nullptr checks have been removed as they were not triggered with nullptr
with the null video driver and in dedicated server mode. 
						
						
					 
					
						2023-01-14 21:15:23 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nicolas Chappe 
							
						 
					 
					
						
						
							
						
						864771ca09 
					 
					
						
						
							
							Feature: [Linkgraph] Show a tooltip with statistics when hovering a link  
						
						 
						
						
						
						
					 
					
						2022-10-18 22:03:39 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Bouke Haarsma 
							
						 
					 
					
						
						
							
						
						93d2d4590f 
					 
					
						
						
							
							Fix   #9995 : Adjust viewport zoom level for HiDPI displays  
						
						 
						
						... 
						
						
						
						On HiDPI screens the zoom level is increased for detailed rendering. This causes hard-coded zoom levels to be off by this adjustment. To fix these default zoom levels, we scale the zoom level based on `_gui_zoom` to get the scaled zoom level. 
						
						
					 
					
						2022-10-18 22:03:21 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Bouke Haarsma 
							
						 
					 
					
						
						
							
						
						18c210b013 
					 
					
						
						
							
							Fix: title positioning on HiDPI displays  
						
						 
						
						
						
						
					 
					
						2022-09-07 01:32:37 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						8503854655 
					 
					
						
						
							
							Codechange: Pass unpacked command arguments to command callbacks (except Script).  
						
						 
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						13528bfcd0 
					 
					
						
						
							
							Codechange: Un-bitstuff all remaining commands.  
						
						 
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						eab18f06a4 
					 
					
						
						
							
							Codechange: Pass additional data as byte stream to command callbacks.  
						
						 
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						0f64ee5ce1 
					 
					
						
						
							
							Codechange: Template DoCommandP to automagically reflect the parameters of the command proc.  
						
						 
						
						... 
						
						
						
						When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing. 
						
						
					 
					
						2021-12-16 22:28:32 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						4fc055d6e9 
					 
					
						
						
							
							Codechange: Align parameter order of command callbacks to command handlers.  
						
						 
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						a38bbefe1b 
					 
					
						
						
							
							Codechange: Untangle command code, flags and error string for DoCommand*.  
						
						 
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						549caca39c 
					 
					
						
						
							
							Codechange: Move command arguments to the back of the networked command function calls.  
						
						 
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Loïc Guilloux 
							
						 
					 
					
						
						
							
						
						bc1b84cbbb 
					 
					
						
						
							
							Fix   #9630 : intro game could zoom in/out more than allowed by settings ( #9633 )  
						
						 
						
						... 
						
						
						
						Also fixes  #9622  
						
						
					 
					
						2021-10-20 22:08:08 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Niels Martin Hansen 
							
						 
					 
					
						
						
							
						
						6bd3106681 
					 
					
						
						
							
							Feature: Multiple rotating views on title screen  
						
						 
						
						
						
						
					 
					
						2021-09-12 19:46:48 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rubidium 
							
						 
					 
					
						
						
							
						
						f904aef176 
					 
					
						
						
							
							Cleanup: use nullptr instead of 0 or NULL  
						
						 
						
						
						
						
					 
					
						2021-06-17 16:18:30 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								glx22 
							
						 
					 
					
						
						
							
						
						5799402f7a 
					 
					
						
						
							
							Codechange: Rename window related DeleteXXX to match new behaviour  
						
						 
						
						
						
						
					 
					
						2021-05-29 21:08:25 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								glx22 
							
						 
					 
					
						
						
							
						
						6b8ad5a9b1 
					 
					
						
						
							
							Change: Apply some consistency to singleplayer related comments  
						
						 
						
						
						
						
					 
					
						2021-01-22 22:19:55 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Patric Stout 
							
						 
					 
					
						
						
							
						
						62cdadb582 
					 
					
						
						
							
							Change: move "give money" from client-list to company window  
						
						 
						
						... 
						
						
						
						This is a much better location for this button, as you send
money from one company to another company, not from player
to player.
This is based on work done by JGRPP in:
f820543391 
and surrounding commits, which took the work from estys:
https://www.tt-forums.net/viewtopic.php?p=1183311#p1183311 
We did modify it to fix several bugs and clean up the code while
here anyway.
The callback was removed, as it meant a modified client could
prevent anyone from seeing money was transfered. The message
is now generated in the command itself, making that impossible. 
						
						
					 
					
						2021-01-05 21:56:24 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Patric Stout 
							
						 
					 
					
						
						
							
						
						f2fa2a14d7 
					 
					
						
						
							
							Fix: allow input of numbers greater than INT32_MAX for GiveMoney ( #8499 )  
						
						 
						
						... 
						
						
						
						Based on patch by JGR. 
						
						
					 
					
						2021-01-05 19:00:05 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								dP 
							
						 
					 
					
						
						
							
						
						0110fa12da 
					 
					
						
						
							
							Feature: Make news and errors close hotkeys configurable  
						
						 
						
						
						
						
					 
					
						2020-09-24 19:23:12 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								TechGeekNZ 
							
						 
					 
					
						
						
							
						
						a10013dd00 
					 
					
						
						
							
							Codechange: Spell 'Viewport' consistently  
						
						 
						
						... 
						
						
						
						Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'.
This patch makes everything consistent. 
						
						
					 
					
						2020-07-27 17:31:29 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								S. D. Cloudt 
							
						 
					 
					
						
						
							
						
						13cc8a0cee 
					 
					
						
						
							
							Cleanup: Removed SVN  headers  
						
						 
						
						
						
						
					 
					
						2019-11-10 17:59:20 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								glx22 
							
						 
					 
					
						
						
							
						
						b3fd787959 
					 
					
						
						
							
							Fix   #7188 : check the validity of command callback for scripts ( #7701 )  
						
						 
						
						
						
						
					 
					
						2019-09-07 17:37:01 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Niels Martin Hansen 
							
						 
					 
					
						
						
							
						
						37daf43037 
					 
					
						
						
							
							Change: Zoom title game by UI zoom level  
						
						 
						
						
						
						
					 
					
						2019-04-24 23:04:55 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						7c8e7c6b6e 
					 
					
						
						
							
							Codechange: Use null pointer literal instead of the NULL macro  
						
						 
						
						
						
						
					 
					
						2019-04-10 23:22:20 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								peter1138 
							
						 
					 
					
						
						
							
						
						317f69c152 
					 
					
						
						
							
							Codechange: Use override specifier in Window-derived classes.  
						
						 
						
						
						
						
					 
					
						2019-03-24 16:10:04 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Patric Stout 
							
						 
					 
					
						
						
							
						
						e3c639a09f 
					 
					
						
						
							
							Remove: ENABLE_NETWORK switch  
						
						 
						
						... 
						
						
						
						This switch has been a pain for years. Often disabling broke
compilation, as no developer compiles OpenTTD without, neither do
any of our official binaries.
Additionaly, it has grown so hugely in our codebase, that it
clearly shows that the current solution was a poor one. 350+
instances of "#ifdef ENABLE_NETWORK" were in the code, of which
only ~30 in the networking code itself. The rest were all around
the code to do the right thing, from GUI to NewGRF.
A more proper solution would be to stub all the functions, and
make sure the rest of the code can simply assume network is
available. This was also partially done, and most variables were
correct if networking was disabled. Despite that, often the #ifdefs
were still used.
With the recent removal of DOS, there is also no platform anymore
which we support where networking isn't working out-of-the-box.
All in all, it is time to remove the ENABLE_NETWORK switch. No
replacement is planned, but if you feel we really need this option,
we welcome any Pull Request which implements this in a way that
doesn't crawl through the code like this diff shows we used to. 
						
						
					 
					
						2019-03-20 19:24:55 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								PeterN 
							
						 
					 
					
						
						
							
						
						87ebfe1227 
					 
					
						
						
							
							Fix   #7004 : Mark linkgraph dirty to be rebuilt on next draw call. ( #7265 )  
						
						 
						
						... 
						
						
						
						Previously the linkgraph was rebuilt before the viewport extents were finalized. 
						
						
					 
					
						2019-02-23 19:19:41 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Joan Josep 
							
						 
					 
					
						
						
							
						
						548ec05a48 
					 
					
						
						
							
							Add: News menu entry and shortcut for deleting all messages. ( #7240 )  
						
						 
						
						
						
						
					 
					
						2019-02-16 23:15:58 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						806e7d25dd 
					 
					
						
						
							
							Change: Use GUITimer class instead of bare int/uints.  
						
						 
						
						
						
						
					 
					
						2019-01-11 11:56:21 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						2a8fa5fef9 
					 
					
						
						
							
							Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust timers to work with milliseconds instead of ticks.  
						
						 
						
						
						
						
					 
					
						2019-01-11 11:56:21 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Weiss 
							
						 
					 
					
						
						
							
						
						e1a164b531 
					 
					
						
						
							
							Change: [OSX] Setting mouse-wheel to scroll the map does not disable pinch to zoom  
						
						 
						
						
						
						
					 
					
						2018-05-24 21:31:37 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								frosch 
							
						 
					 
					
						
						
							
						
						9aa33862a7 
					 
					
						
						
							
							(svn r27571) -Codechange: Consistent naming for command callbacks which play a sound effect.  
						
						 
						
						
						
						
					 
					
						2016-05-22 10:07:48 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rubidium 
							
						 
					 
					
						
						
							
						
						0463dbdc9e 
					 
					
						
						
							
							(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values  
						
						 
						
						
						
						
					 
					
						2014-04-23 20:13:33 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								fonsinchen 
							
						 
					 
					
						
						
							
						
						4055397915 
					 
					
						
						
							
							(svn r26338) -Fix [FS#5908]: Don't redraw the link graph overlay if it's empty (MJP)  
						
						 
						
						
						
						
					 
					
						2014-02-15 12:19:46 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								frosch 
							
						 
					 
					
						
						
							
						
						5cb174c6b8 
					 
					
						
						
							
							(svn r25412) -Codechange: Make use of Window::OnHotkey  
						
						 
						
						
						
						
					 
					
						2013-06-15 15:30:44 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								frosch 
							
						 
					 
					
						
						
							
						
						1b8b1f3f6c 
					 
					
						
						
							
							(svn r25410) -Codechange: Put all hotkeys of a window into a static HotkeyList member.  
						
						 
						
						
						
						
					 
					
						2013-06-15 15:28:09 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								frosch 
							
						 
					 
					
						
						
							
						
						d9e9710cb3 
					 
					
						
						
							
							(svn r25408) -Codechange: Simplify hotkeys by removing unused stuff.  
						
						 
						
						
						
						
					 
					
						2013-06-15 15:27:33 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								frosch 
							
						 
					 
					
						
						
							
						
						8157a8afd8 
					 
					
						
						
							
							(svn r25290) -Add: Assign string names to notable windows.  
						
						 
						
						
						
						
					 
					
						2013-05-26 19:25:01 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								frosch 
							
						 
					 
					
						
						
							
						
						56e4a8c4d6 
					 
					
						
						
							
							(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.  
						
						 
						
						
						
						
					 
					
						2013-05-26 19:23:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rubidium 
							
						 
					 
					
						
						
							
						
						ef7befdbd8 
					 
					
						
						
							
							(svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen)  
						
						 
						
						
						
						
					 
					
						2013-05-19 14:49:25 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								planetmaker 
							
						 
					 
					
						
						
							
						
						c24374f99c 
					 
					
						
						
							
							(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)  
						
						 
						
						
						
						
					 
					
						2013-01-08 22:46:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								frosch 
							
						 
					 
					
						
						
							
						
						3ce8d2ce70 
					 
					
						
						
							
							(svn r24846) -Add: Advanced settings to disable certain sound effects.  
						
						 
						
						
						
						
					 
					
						2012-12-23 21:09:09 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alberth 
							
						 
					 
					
						
						
							
						
						732e073261 
					 
					
						
						
							
							(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb)  
						
						 
						
						
						
						
					 
					
						2012-12-01 13:12:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rubidium 
							
						 
					 
					
						
						
							
						
						927734e6ce 
					 
					
						
						
							
							(svn r24065) -Feature-ish [FS#5101]: debug option for showing the redrawn dirty blocks/rectangles  
						
						 
						
						
						
						
					 
					
						2012-03-25 19:06:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								truebrain 
							
						 
					 
					
						
						
							
						
						05af1d176b 
					 
					
						
						
							
							(svn r23536) -Codechange: document and rename widgets to be consistent and understandable  
						
						 
						
						
						
						
					 
					
						2011-12-16 16:49:53 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								truebrain 
							
						 
					 
					
						
						
							
						
						2aa774e831 
					 
					
						
						
							
							(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h  
						
						 
						
						
						
						
					 
					
						2011-12-15 22:22:55 +00:00