Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						99d11c482a 
					 
					
						
						
							
							Merge PR  #271  into jgrpp  
						
						
						
						
					 
					
						2021-06-12 00:31:47 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						1002c6d9d2 
					 
					
						
						
							
							Fix various compiler warnings  
						
						... 
						
						
						
						See: #267  
						
						
					 
					
						2021-06-11 22:54:27 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						758d71716e 
					 
					
						
						
							
							Merge pull request  #1  from JGRennison/jgrpp  
						
						... 
						
						
						
						Synchronize with forked repository 
						
						
					 
					
						2021-06-11 23:13:01 +02:00 
						 
				 
			
				
					
						
							
							
								translators 
							
						 
					 
					
						
						
							
						
						c562b4c527 
					 
					
						
						
							
							Update: Translations from eints  
						
						... 
						
						
						
						hindi: 67 changes by ritwikraghav14 
						
						
					 
					
						2021-06-11 18:54:52 +00:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						5e3a244198 
					 
					
						
						
							
							Add topography and industries screenshot types  
						
						
						
						
					 
					
						2021-06-11 20:14:56 +02:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						184ade43eb 
					 
					
						
						
							
							Query before destroying important structures (rail stations and industries)  
						
						... 
						
						
						
						Prior to this change, the use of NewObjects often lead to the problem of players trying to clear those and accidentally destroying a rail station or (when using magic bulldozer) an industry. This action cannot be undone.
This change shows a query making sure the player actually wants to destroy the station or industry.
NOTE: The switch to a std::function no longer allows for the inequality check in ShowQuery in misc_gui. If this was required a different solution has to be found. 
						
						
					 
					
						2021-06-11 18:10:46 +02:00 
						 
				 
			
				
					
						
							
							
								Loïc Guilloux 
							
						 
					 
					
						
						
							
						
						16ebf7861f 
					 
					
						
						
							
							Fix  4079c47: Missed a file when removing generated .sq files from the repo ( #9350 )  
						
						
						
						
					 
					
						2021-06-11 16:59:19 +02:00 
						 
				 
			
				
					
						
							
							
								Loïc Guilloux 
							
						 
					 
					
						
						
							
						
						ee5f23382d 
					 
					
						
						
							
							Fix: [Script] doxygen_filter is very strict about DOXYGEN_API usage ( #9351 )  
						
						
						
						
					 
					
						2021-06-11 16:40:04 +02:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						97d5982cb5 
					 
					
						
						
							
							Fix various compiler warnings  
						
						... 
						
						
						
						See: #267  
						
						
					 
					
						2021-06-11 00:39:24 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						24783c3d26 
					 
					
						
						
							
							Tracerestrict: Fix speed unit conversions in GUI  
						
						
						
						
					 
					
						2021-06-11 00:39:24 +01:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						5b50ae72f8 
					 
					
						
						
							
							Fix   #9348 ,  4d74e51: don't try to sell shares of spectators ( #9349 )  
						
						... 
						
						
						
						"new_owner" can be INVALID_OWNER, and as INVALID_OWNER ==
COMPANY_SPECTATORS, we could end up trying to sell shares of
nobody.
(cherry picked from commit ef25afd55a 
						
						
					 
					
						2021-06-10 23:21:42 +01:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						ef25afd55a 
					 
					
						
						
							
							Fix   #9348 ,  4d74e51: don't try to sell shares of spectators ( #9349 )  
						
						... 
						
						
						
						"new_owner" can be INVALID_OWNER, and as INVALID_OWNER ==
COMPANY_SPECTATORS, we could end up trying to sell shares of
nobody. 
						
						
					 
					
						2021-06-11 00:18:20 +02:00 
						 
				 
			
				
					
						
							
							
								Loïc Guilloux 
							
						 
					 
					
						
						
							
						
						acb6348ba6 
					 
					
						
						
							
							Add: [Actions] msys2/MinGW CI ( #8698 )  
						
						
						
						
					 
					
						2021-06-10 23:54:52 +02:00 
						 
				 
			
				
					
						
							
							
								Tyler Trahan 
							
						 
					 
					
						
						
							
						
						d09210e1c6 
					 
					
						
						
							
							Feature: Configurable subsidy duration  
						
						
						
						
					 
					
						2021-06-10 23:26:16 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						c2db408d5d 
					 
					
						
						
							
							Fix  aa5a8fe28: [MinGW] Wrong define tested (WIN32 vs _WIN32)  
						
						
						
						
					 
					
						2021-06-10 23:17:29 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						d485b50813 
					 
					
						
						
							
							Fix: [MinGW] Ignore wglGetProcAddress() cast warnings  
						
						
						
						
					 
					
						2021-06-10 23:17:29 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						744a9e4745 
					 
					
						
						
							
							Codechange: [WIN32] Add a wrapper around GetProcAddress()  
						
						
						
						
					 
					
						2021-06-10 23:17:29 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						15f66329c2 
					 
					
						
						
							
							Fix: [MinGW] Silence 2 cast warnings  
						
						
						
						
					 
					
						2021-06-10 23:17:29 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						00e3fddd0c 
					 
					
						
						
							
							Fix: [MinGW] Unused squirrel code triggering a warning  
						
						
						
						
					 
					
						2021-06-10 23:17:29 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						b7250a42e1 
					 
					
						
						
							
							Fix: [MinGW32] Linking error  
						
						
						
						
					 
					
						2021-06-10 23:17:29 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						2df48a78cc 
					 
					
						
						
							
							Fix: [MinGW32] Can't convert lambda to stdcall  
						
						
						
						
					 
					
						2021-06-10 23:17:29 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						3ca0239985 
					 
					
						
						
							
							Fix: [MinGW32] SHGFP_TYPE_CURRENT is now present in win32api  
						
						
						
						
					 
					
						2021-06-10 23:17:29 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						5d05c4919b 
					 
					
						
						
							
							Codechange: [WIN32] Reduce manual dynamic loading as WinXP is the minimum version  
						
						
						
						
					 
					
						2021-06-10 23:17:29 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						f4c7d5577e 
					 
					
						
						
							
							Codechange: [WIN32] Use VersionHelpers where appropriate  
						
						
						
						
					 
					
						2021-06-10 23:17:29 +02:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						ed3946e295 
					 
					
						
						
							
							Add: '-X' option to ignore global folders in the search path ( #9341 )  
						
						... 
						
						
						
						This is extreme useful for automated testing. Without this, OpenTTD
will always look in your personal-dir (like ~/.local/share/openttd
or %USER%\Documents\OpenTTD). For most users this is exactly what
we want, that there is a shared place for all their files.
However, for automated testing this is rather annoying, as your
local development files influence the automated test. As such,
'-X' counters this, and only gives the local folders. This is
especially useful in combination with '-x' and '-c'. 
						
						
					 
					
						2021-06-10 23:13:34 +02:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						7aa63e9726 
					 
					
						
						
							
							Update status bar sizing when changing date/time display settings  
						
						
						
						
					 
					
						2021-06-10 22:12:10 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						8450f0a248 
					 
					
						
						
							
							Fix width of status bar time/date section  
						
						
						
						
					 
					
						2021-06-10 22:11:59 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						704eac8220 
					 
					
						
						
							
							Fix changing font zoom level not updating font height cache  
						
						
						
						
					 
					
						2021-06-10 21:37:27 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						6936fe4f6e 
					 
					
						
						
							
							Settings GUI: Move day length factor to environment section  
						
						
						
						
					 
					
						2021-06-10 21:23:32 +01:00 
						 
				 
			
				
					
						
							
							
								Loïc Guilloux 
							
						 
					 
					
						
						
							
						
						076f3d26c2 
					 
					
						
						
							
							Fix   #9329 : [CMake] FindVersion.cmake relied on internal cmake variable ( #9330 )  
						
						
						
						
					 
					
						2021-06-10 22:14:08 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						2924ac48c5 
					 
					
						
						
							
							Fix: [Script] Ensure the saved script strings are properly validated and terminated when being read from the savegame  
						
						
						
						
					 
					
						2021-06-10 22:03:23 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						bb8fd00760 
					 
					
						
						
							
							Cleanup: [Network] Remove C-string Recv_string and its last use  
						
						
						
						
					 
					
						2021-06-10 21:53:19 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						ab9b937ab7 
					 
					
						
						
							
							Codechange: [Network] Use std::string to get a NewGRF's name  
						
						
						
						
					 
					
						2021-06-10 21:53:19 +02:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						849a10520c 
					 
					
						
						
							
							Change: allow pause/unpause console command in single player too ( #9342 )  
						
						
						
						
					 
					
						2021-06-10 20:11:50 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						e2417193c9 
					 
					
						
						
							
							Cleanup: [ContentInfo] Remove some functions that are not needed anymore  
						
						
						
						
					 
					
						2021-06-10 20:09:44 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						e3717ae903 
					 
					
						
						
							
							Codechange: [ContentInfo] Use std::string instead of string buffers  
						
						
						
						
					 
					
						2021-06-10 20:09:44 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						df181bb641 
					 
					
						
						
							
							Codechange: [ContentInfo] Use a vector for dependencies instead of custom allocation  
						
						
						
						
					 
					
						2021-06-10 20:09:44 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						9c424ab741 
					 
					
						
						
							
							Codechange: [ContentInfo] Use StringList for tags instead of custom allocations  
						
						
						
						
					 
					
						2021-06-10 20:09:44 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						dfb89f3891 
					 
					
						
						
							
							Codechange: [ContentInfo] Do not use memset/memcpy to make it possible to use vector/string  
						
						
						
						
					 
					
						2021-06-10 20:09:44 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						6bb3f034e4 
					 
					
						
						
							
							Cleanup: [ContentInfo] Remove unused function  
						
						
						
						
					 
					
						2021-06-10 20:09:44 +02:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						37ae6b8ae3 
					 
					
						
						
							
							Add: adhere the autosave_on_exit setting for Null videodriver ( #9343 )  
						
						... 
						
						
						
						This is especially useful for automated-testing, to make a save
when the game quits while using "-vnull:ticks=N". 
						
						
					 
					
						2021-06-10 19:34:53 +02:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						174952440a 
					 
					
						
						
							
							Codechange: rework CHTS-chunk save/load to be more like the others  
						
						
						
						
					 
					
						2021-06-10 19:18:24 +02:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						8f323855b1 
					 
					
						
						
							
							Codechange: rename SL_LST to SL_REFLIST to highlight the "reference" part  
						
						... 
						
						
						
						You can easily mistake SlList / SL_LST to be a list of SL_VAR, but
it is a list of SL_REF. With this rename, it hopefully saves a few
people from "wtf?" moments. 
						
						
					 
					
						2021-06-10 19:18:24 +02:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						aa6443d57a 
					 
					
						
						
							
							Codechange: refactor SlList to use SlStorageHelper  
						
						
						
						
					 
					
						2021-06-10 19:18:24 +02:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						23857af693 
					 
					
						
						
							
							Codechange: refactor SlDequeueHelper to work with unsigned and be more generic  
						
						... 
						
						
						
						Future additions will start using it for std::list too. 
						
						
					 
					
						2021-06-10 19:18:24 +02:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						a2147d437e 
					 
					
						
						
							
							Codechange: use wrappers to get Var[Mem|File]Type, instead of GB()  
						
						
						
						
					 
					
						2021-06-10 19:18:24 +02:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						fba86f711f 
					 
					
						
						
							
							Codechange: move GetVariableAddress inside SlObjectMember  
						
						... 
						
						
						
						Also move it to static, as nobody else is using it. 
						
						
					 
					
						2021-06-10 19:18:24 +02:00 
						 
				 
			
				
					
						
							
							
								Vít Šefl 
							
						 
					 
					
						
						
							
						
						f899772ec2 
					 
					
						
						
							
							Fix  2e136285: Crash when CTRL-clicking on a sign ( #9345 )  
						
						
						
						
					 
					
						2021-06-10 15:49:25 +02:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						0acdea2852 
					 
					
						
						
							
							Shows payment based on average transit speed  
						
						... 
						
						
						
						Prior to this change, the charts were pretty useless. They indicated at most what cargos were speed sensitive and which ones were not.
This change lets the graph show the average transit speed to profit mapping. With this graph it becomes obvious after exactly what speed any further speed increase brings no further profit. This makes train selection way easier. 
						
						
					 
					
						2021-06-10 11:43:28 +02:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						a7d8c6fe0c 
					 
					
						
						
							
							Add PF setting for whether to pathfind up to back of one-way PBS  
						
						
						
						
					 
					
						2021-06-09 20:43:57 +01:00