glx22 
							
						 
					 
					
						
						
							
						
						aeeee9f18e 
					 
					
						
						
							
							Fix   #9909 ,  13528bf: Left-over unused parameter breaks overload resolution  
						
						
						
						
					 
					
						2022-06-01 19:24:48 +02:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						5b7db9d849 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	.github/workflows/ci-build.yml
#	.github/workflows/commit-checker.yml
#	src/command.cpp
#	src/company_cmd.cpp
#	src/company_gui.cpp
#	src/crashlog.cpp
#	src/economy.cpp
#	src/lang/english.txt
#	src/lang/german.txt
#	src/lang/korean.txt
#	src/misc_gui.cpp
#	src/newgrf_config.cpp
#	src/openttd.cpp
#	src/settings_gui.cpp
#	src/ship_cmd.cpp
#	src/table/settings/gui_settings.ini 
						
						
					 
					
						2022-05-15 13:54:13 +01:00 
						 
				 
			
				
					
						
							
							
								benda 
							
						 
					 
					
						
						
							
						
						6540948ace 
					 
					
						
						
							
							Fix: Company values do not properly account for shares ( #9770 )  
						
						... 
						
						
						
						Co-authored-by: Charles Pigott <charlespigott@googlemail.com > 
						
						
					 
					
						2022-05-14 16:57:47 +02:00 
						 
				 
			
				
					
						
							
							
								Charles Pigott 
							
						 
					 
					
						
						
							
						
						146827c458 
					 
					
						
						
							
							Fix   #9877 : GS could trigger 'Cost: 0' cost message ( #9878 )  
						
						
						
						
					 
					
						2022-05-05 19:51:56 +01:00 
						 
				 
			
				
					
						
							
							
								Tyler Trahan 
							
						 
					 
					
						
						
							
						
						f4ca94d3f6 
					 
					
						
						
							
							Codechange: Revenue is not the same as Income  
						
						... 
						
						
						
						Income is revenue minus costs. Let's name things correctly (without breaking the script API). 
						
						
					 
					
						2022-04-25 21:51:51 +02:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						34af4844d1 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						
						
						
					 
					
						2022-04-02 14:16:32 +01:00 
						 
				 
			
				
					
						
							
							
								Tyler Trahan 
							
						 
					 
					
						
						
							
						
						d220debc6c 
					 
					
						
						
							
							Change: Don't pay Property Maintenance on stations when Infrastructure Maintenance is disabled ( #9828 )  
						
						
						
						
					 
					
						2022-03-10 22:34:03 +01:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						c73f578e8c 
					 
					
						
						
							
							Codechange: replace magic numbers and C-style arrays with C++-style array for share owners  
						
						
						
						
					 
					
						2022-03-09 18:05:12 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						e5a421b65a 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	src/economy.cpp
#	src/linkgraph/refresh.cpp
#	src/order_cmd.cpp
#	src/saveload/vehicle_sl.cpp
#	src/station.cpp
#	src/station_base.h
#	src/timetable_cmd.cpp
#	src/timetable_gui.cpp
#	src/vehicle.cpp
#	src/vehicle_base.h
#	src/vehicle_cmd.cpp 
						
						
					 
					
						2022-03-04 18:17:44 +00:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						1c256a4be7 
					 
					
						
						
							
							Fix: do not let shares in the company taking over another company disappear  
						
						
						
						
					 
					
						2022-02-24 20:25:31 +01:00 
						 
				 
			
				
					
						
							
							
								dP 
							
						 
					 
					
						
						
							
						
						36bee83864 
					 
					
						
						
							
							Change: Deliver cargo to the closest industry first ( #9536 )  
						
						
						
						
					 
					
						2022-02-19 19:08:23 +01:00 
						 
				 
			
				
					
						
							
							
								Niels Martin Hansen 
							
						 
					 
					
						
						
							
						
						e68bf58989 
					 
					
						
						
							
							Codechange: Use anonymous union for vehicle orders/old orders list  
						
						
						
						
					 
					
						2022-02-15 20:01:10 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						23c472d2a0 
					 
					
						
						
							
							Add support for road stop animation, availability callback  
						
						... 
						
						
						
						Add animation, callback mask, general flags properties
Add animation frame variables 
						
						
					 
					
						2022-02-15 00:22:18 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						1084bb8566 
					 
					
						
						
							
							Initial support for NewGRF road stops (bus and lorry stops)  
						
						
						
						
					 
					
						2022-02-14 00:31:14 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						7e313d120c 
					 
					
						
						
							
							Fix narrowing conversion warnings  
						
						
						
						
					 
					
						2022-01-03 22:31:36 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						a14df8dfe2 
					 
					
						
						
							
							Merge PR  #351  into jgrpp  
						
						
						
						
					 
					
						2022-01-03 19:18:57 +00:00 
						 
				 
			
				
					
						
							
							
								Yourself 
							
						 
					 
					
						
						
							
						
						e4fa9f8465 
					 
					
						
						
							
							Add: Cargo delivery distribution modes  
						
						
						
						
					 
					
						2022-01-03 17:55:28 +00:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						2e39637db2 
					 
					
						
						
							
							Codechange: Don't use a global for the 'not enough cash' message.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						41fa16f325 
					 
					
						
						
							
							Codechange: Don't use globals for return values from vehicle command procs.  
						
						
						
						
					 
					
						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 
							
						 
					 
					
						
						
							
						
						21675ec7e2 
					 
					
						
						
							
							Codechange: Un-bitstuff vehicle/engine commands.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						4f3ea3907e 
					 
					
						
						
							
							Codechange: Un-bitstuff commands taking a ClientID (i.e. CMD_CLIENT_ID).  
						
						
						
						
					 
					
						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 
							
						 
					 
					
						
						
							
						
						e740c24eb7 
					 
					
						
						
							
							Codechange: Template DoCommand 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 
							
						 
					 
					
						
						
							
						
						7048e1522f 
					 
					
						
						
							
							Codechange: Move flags in CommandProc in front of the command arguments.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						33ca4f2b99 
					 
					
						
						
							
							Codechange: Let the compile generate the master command table out of templated command traits.  
						
						... 
						
						
						
						This is using a non-intrusive type-traits like templated system, which
allows compile-time validation that the command table and the command
enum match up. 
						
						
					 
					
						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 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						b6933a2ebd 
					 
					
						
						
							
							Codechange: Move command arguments to the back of the DoCommand function call.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						431d33f149 
					 
					
						
						
							
							Allow per-house town cargo generation to be truncated to 0  
						
						... 
						
						
						
						This effectively applies the town cargo scaling setting more strictly 
						
						
					 
					
						2021-11-30 23:13:21 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						f54d69a60a 
					 
					
						
						
							
							Merge branch 'master' into jgrpp-beta  
						
						... 
						
						
						
						# Conflicts:
#	src/economy.cpp
#	src/elrail.cpp
#	src/graph_gui.cpp
#	src/linkgraph/linkgraph_gui.cpp
#	src/network/core/game_info.cpp
#	src/newgrf_station.cpp
#	src/saveload/saveload.cpp
#	src/settings.cpp
#	src/station_cmd.cpp
#	src/station_gui.cpp
#	src/strings_func.h
#	src/table/settings/network_settings.ini
#	src/table/settings/settings.ini 
						
						
					 
					
						2021-11-01 21:18:24 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						62afd94b47 
					 
					
						
						
							
							Merge branch 'master' into jgrpp-beta  
						
						... 
						
						
						
						# Conflicts:
#	src/company_cmd.cpp
#	src/economy.cpp
#	src/lang/swedish.txt
#	src/network/network_command.cpp
#	src/news_gui.cpp
#	src/saveload/saveload.h
#	src/script/api/script_list.cpp
#	src/video/cocoa/cocoa_v.mm
#	src/video/sdl2_v.cpp 
						
						
					 
					
						2021-11-01 18:54:43 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						61cc60099a 
					 
					
						
						
							
							Merge branch 'jgrpp' into jgrpp-beta  
						
						... 
						
						
						
						# Conflicts:
#	src/network/core/packet.cpp
#	src/network/core/udp.cpp 
						
						
					 
					
						2021-10-29 22:22:54 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						ec8512e2ea 
					 
					
						
						
							
							When declining to buy a company, ask the next company immediately  
						
						
						
						
					 
					
						2021-10-24 00:07:54 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						4042480806 
					 
					
						
						
							
							Merge branch 'jgrpp' into jgrpp-beta  
						
						... 
						
						
						
						# Conflicts:
#	src/settings.cpp
#	src/settings_gui.cpp
#	src/settings_internal.h
#	src/table/company_settings.ini
#	src/table/currency_settings.ini
#	src/table/gameopt_settings.ini
#	src/table/misc_settings.ini
#	src/table/settings.h.preamble
#	src/table/settings.ini
#	src/table/win32_settings.ini
#	src/table/window_settings.ini 
						
						
					 
					
						2021-10-08 18:12:04 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						6f16655e6e 
					 
					
						
						
							
							Add "special events" log. Add console command, include in crash logs.  
						
						
						
						
					 
					
						2021-10-04 20:54:12 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						2e022d5194 
					 
					
						
						
							
							Move game events to new event_logs header/cpp files  
						
						
						
						
					 
					
						2021-10-04 20:43:50 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						24fdc8331b 
					 
					
						
						
							
							Add CheckCaches mode to emit a log/save/screenshot on detected issue  
						
						
						
						
					 
					
						2021-10-03 23:57:27 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						5ed7aee8d3 
					 
					
						
						
							
							Add flags field to CheckCaches for which checks to run  
						
						... 
						
						
						
						Add header file for CheckCaches 
						
						
					 
					
						2021-10-03 23:03:39 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						fd605e3cf3 
					 
					
						
						
							
							Merge branch 'master' into jgrpp-beta  
						
						... 
						
						
						
						# Conflicts:
#	.github/workflows/commit-checker.yml
#	src/company_cmd.cpp
#	src/console_cmds.cpp
#	src/crashlog.cpp
#	src/lang/english.txt
#	src/lang/german.txt
#	src/lang/indonesian.txt
#	src/lang/japanese.txt
#	src/lang/korean.txt
#	src/lang/swedish.txt
#	src/linkgraph/linkgraphjob.cpp
#	src/linkgraph/mcf.cpp
#	src/network/core/tcp.cpp
#	src/network/core/tcp.h
#	src/network/core/tcp_game.h
#	src/network/core/udp.h
#	src/network/network.cpp
#	src/network/network_admin.cpp
#	src/network/network_admin.h
#	src/network/network_chat_gui.cpp
#	src/network/network_client.cpp
#	src/network/network_client.h
#	src/network/network_func.h
#	src/network/network_internal.h
#	src/network/network_server.cpp
#	src/network/network_server.h
#	src/newgrf.cpp
#	src/newgrf_station.cpp
#	src/order_gui.cpp
#	src/rail_cmd.cpp
#	src/saveload/saveload.cpp
#	src/settings.cpp
#	src/settings_gui.cpp
#	src/settings_internal.h
#	src/settings_type.h
#	src/station_cmd.cpp
#	src/stdafx.h
#	src/table/currency_settings.ini
#	src/table/misc_settings.ini
#	src/table/settings.h.preamble
#	src/table/settings.ini
#	src/terraform_cmd.cpp
#	src/timetable_gui.cpp
#	src/train_cmd.cpp
#	src/tree_cmd.cpp
#	src/water_cmd.cpp 
						
						
					 
					
						2021-09-27 22:47:23 +01:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						230866ca3e 
					 
					
						
						
							
							Fix   #9440 : negative cargo payments not being handled right  
						
						... 
						
						
						
						Cargo payments were stored as unsigned integer, but cast to int64 during
application of inflation. However, then being multiplied with a uint64
making the result uint64. So in the end the payment that should have been
negative becomes hugely positive.
(cherry picked from commit d83647f9a7 
						
						
					 
					
						2021-08-04 17:49:23 +01:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						d83647f9a7 
					 
					
						
						
							
							Fix   #9440 : negative cargo payments not being handled right  
						
						... 
						
						
						
						Cargo payments were stored as unsigned integer, but cast to int64 during
application of inflation. However, then being multiplied with a uint64
making the result uint64. So in the end the payment that should have been
negative becomes hugely positive. 
						
						
					 
					
						2021-08-02 20:44:53 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						a543a4b7bb 
					 
					
						
						
							
							Codechange: Remove FOR_EACH_SET_CARGO_ID  
						
						
						
						
					 
					
						2021-07-09 21:36:09 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						9a7750f14e 
					 
					
						
						
							
							Codechange: use the constructor for CompanyNewsItem to fill the data instead of a separate function  
						
						
						
						
					 
					
						2021-07-01 19:04:38 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						aa9818db90 
					 
					
						
						
							
							Codechange: create a type for the "free_data" of NewsItems and (de)allocate it with new and delete  
						
						
						
						
					 
					
						2021-07-01 19:04:38 +02: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 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						2b5ff44020 
					 
					
						
						
							
							Fix   #9281 : acquire a company uses special bookkeeping to make you rich ( #9300 )  
						
						... 
						
						
						
						When you buy-out a company, you got your shares back. This is
based on company-value, which includes values for the vehicles etc.
In other words, you not only got the vehicles, but you also got
paid to get them back.
Additionally, you also got the loan of the company, but not the
money for the loan (as that is subtracted from the company-value).
Solve this by changing the rules of a buy-out: don't sell your
shares, get the loan AND the balance and get the infrastructure.
(cherry picked from commit 4d74e51907 
						
						
					 
					
						2021-06-07 18:26:03 +01:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						5799402f7a 
					 
					
						
						
							
							Codechange: Rename window related DeleteXXX to match new behaviour  
						
						
						
						
					 
					
						2021-05-29 21:08:25 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						2e136285e1 
					 
					
						
						
							
							Codechange: move from C-string to std::string for DoCommand  
						
						
						
						
					 
					
						2021-05-29 19:02:18 +02:00