Rubidium 
							
						 
					 
					
						
						
							
						
						9b0123ab66 
					 
					
						
						
							
							Codechange: use std::string for script API versions  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						3d8d99ba11 
					 
					
						
						
							
							Add: method to call script functions with std::string  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						f06160b882 
					 
					
						
						
							
							Script: Remove command delay for non-network GS when game paused due to GS  
						
						
						
						
					 
					
						2023-05-14 18:56:09 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						7bc6c4b59c 
					 
					
						
						
							
							Script: Boost gamescript op limit when game is paused due to game script  
						
						
						
						
					 
					
						2023-05-14 18:04:42 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						1b6d1086d0 
					 
					
						
						
							
							Script: Add ScriptInstance field for script type  
						
						
						
						
					 
					
						2023-05-14 17:54:42 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						531d1ae8bc 
					 
					
						
						
							
							Codechange: Use GetScrolled(Row/Item)FromWidget in more places.  
						
						... 
						
						
						
						In many instances the clicked row position is 'manually' calculated
instead of using the GetScrolledRowFromWidget helper function, with
variations on checks. Replace with the two helpers where possible. 
						
						
					 
					
						2023-05-12 21:45:32 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						726d05b22b 
					 
					
						
						
							
							Fix: Don't list unavailable road types for game scripts.  
						
						
						
						
					 
					
						2023-05-12 21:03:13 +02:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						e6740046ee 
					 
					
						
						
							
							Codechange: Use range-for iteration.  
						
						
						
						
					 
					
						2023-05-11 07:58:55 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						a8c0d16371 
					 
					
						
						
							
							Cleanup: Use std::advance instead of for-loop.  
						
						
						
						
					 
					
						2023-05-11 07:58:55 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						68782f951b 
					 
					
						
						
							
							Cleanup: Vector supports random access.  
						
						
						
						
					 
					
						2023-05-11 07:58:55 +01:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						1ae7eb1594 
					 
					
						
						
							
							Codechange: use std::map over SmallMap and std::string of stredup(char*)  
						
						
						
						
					 
					
						2023-05-09 23:14:48 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						12085d088c 
					 
					
						
						
							
							Cleanup: remove obsolete string_compare_type  
						
						
						
						
					 
					
						2023-05-09 23:14:48 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						bc389a86c9 
					 
					
						
						
							
							Codechange: use std::string as std::map key, instead of stredup string  
						
						
						
						
					 
					
						2023-05-09 23:14:48 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						72082aa7d3 
					 
					
						
						
							
							Codechange: use std::string for getting a script's name  
						
						
						
						
					 
					
						2023-05-09 23:14:48 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						6e3d3c0e7c 
					 
					
						
						
							
							Codechange: introduce std::string variant of sq_pushstring  
						
						
						
						
					 
					
						2023-05-09 23:14:48 +02:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						bf9caa425b 
					 
					
						
						
							
							Change: Units-system can convert from N to kN, don't preconvert.  
						
						... 
						
						
						
						This allows force to passed as is and avoid premature rounding.
The AI function "GetMaxTractiveEffort" still needs to return kN to avoid breaking the API. 
						
						
					 
					
						2023-05-09 23:02:51 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						68ff3fd062 
					 
					
						
						
							
							Change: include fmt.h C++ headers in stdafx.h  
						
						... 
						
						
						
						This to prevent compilation issues between runs with and without precompiled
headers. Also remove the headers from the rest of the code base as they are
not needed there anymore, although they do relatively little harm. 
						
						
					 
					
						2023-05-08 16:49:23 +02:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						6202eae9d5 
					 
					
						
						
							
							Codechange: Rely on Scrollbar::SetPosition to clamp.  
						
						... 
						
						
						
						Manually clamping scrollbar bounds before calling `SetPosition()` is doubling up work that the function already does. 
						
						
					 
					
						2023-05-07 20:25:44 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						d2034d9c38 
					 
					
						
						
							
							Codechange: Scrollbar methods now accept size_t.  
						
						... 
						
						
						
						This clears up a lot of casts from size_t to int. 
						
						
					 
					
						2023-05-07 20:25:44 +01:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						fb856e16c1 
					 
					
						
						
							
							Codechange: replace some min/clamp constructs to ClampTo  
						
						
						
						
					 
					
						2023-05-06 21:26:13 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						19ec4e8beb 
					 
					
						
						
							
							Codechange: replace ClampToI32/U16 with ClampTo<int32_t/uint16_t>  
						
						
						
						
					 
					
						2023-05-06 21:26:13 +02:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						b67cf7f94a 
					 
					
						
						
							
							Change: Replace ScriptLog data array with std::deque. ( #10770 )  
						
						... 
						
						
						
						Due to cyclic header dependency this requires moving the data types used
by ScriptLog out of the ScriptLog class. 
						
						
					 
					
						2023-05-06 14:54:58 +00:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						877349c13d 
					 
					
						
						
							
							Codechange: use std::string for text file name resolution  
						
						
						
						
					 
					
						2023-05-05 08:54:29 +02:00 
						 
				 
			
				
					
						
							
							
								Tyler Trahan 
							
						 
					 
					
						
						
							
						
						6501f84b4a 
					 
					
						
						
							
							Codechange: Move calendar date functions inside TimerGameCalendar ( #10753 )  
						
						
						
						
					 
					
						2023-05-04 13:14:12 +00:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						86786a7af6 
					 
					
						
						
							
							Codechange: introduce StrEqualsIgnoreCase/StrCompareIgnoreCase to replace strcasecmp  
						
						
						
						
					 
					
						2023-04-29 10:25:25 +02:00 
						 
				 
			
				
					
						
							
							
								Tyler Trahan 
							
						 
					 
					
						
						
							
						
						930f0a16d8 
					 
					
						
						
							
							Codechange: Define Date/Year/Month/Day within TimerGameCalendar class  
						
						
						
						
					 
					
						2023-04-26 07:14:03 -04:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						7aa2b9ab0a 
					 
					
						
						
							
							Codechange: move all date-related variables inside the timer ( #10706 )  
						
						
						
						
					 
					
						2023-04-24 15:56:01 +00:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						8f24901843 
					 
					
						
						
							
							Codechange: replace printf with PRINTF macros by fmt::format for scripts  
						
						
						
						
					 
					
						2023-04-24 17:51:25 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						8b93e45e22 
					 
					
						
						
							
							Codechange: use string/fmt instead of printf for squirrel's PRINTFUNC  
						
						
						
						
					 
					
						2023-04-24 17:51:25 +02:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						7da25820ea 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	src/widgets/dropdown.cpp
#	src/widgets/dropdown_type.h 
						
						
					 
					
						2023-04-18 00:01:50 +01:00 
						 
				 
			
				
					
						
							
							
								SamuXarick 
							
						 
					 
					
						
						
							
						
						f8b5661d28 
					 
					
						
						
							
							Change: Allow GS access to ScriptGroup functions  
						
						
						
						
					 
					
						2023-04-17 17:59:16 +02:00 
						 
				 
			
				
					
						
							
							
								SamuXarick 
							
						 
					 
					
						
						
							
						
						f225f36c3d 
					 
					
						
						
							
							Change: Allow GS access to ScriptGameSettings.IsDisabledVehicleType  
						
						
						
						
					 
					
						2023-04-17 17:59:16 +02:00 
						 
				 
			
				
					
						
							
							
								SamuXarick 
							
						 
					 
					
						
						
							
						
						fd26a44c9e 
					 
					
						
						
							
							Change: Allow GS access to more ScriptCompany functions  
						
						
						
						
					 
					
						2023-04-17 17:59:16 +02:00 
						 
				 
			
				
					
						
							
							
								Andy 
							
						 
					 
					
						
						
							
						
						8b1960a41c 
					 
					
						
						
							
							Change: Allow GS access to more ScriptOrder functions  
						
						
						
						
					 
					
						2023-04-17 17:59:16 +02:00 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						ed83c4b0da 
					 
					
						
						
							
							Change: replace per-AI "start_date" with a global "competitors_interval" ( #10653 )  
						
						... 
						
						
						
						The per-AI "start_date" is a lot of custom code, and was rarely
used in the way it was meant.
While at it, also ported this part over to the new timer system. 
						
						
					 
					
						2023-04-16 20:14:22 +02:00 
						 
				 
			
				
					
						
							
							
								Charles Pigott 
							
						 
					 
					
						
						
							
						
						6fc28d649e 
					 
					
						
						
							
							Cleanup: Unused alloca definitions and includes  
						
						
						
						
					 
					
						2023-04-15 16:57:00 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Pigott 
							
						 
					 
					
						
						
							
						
						b282664242 
					 
					
						
						
							
							Codechange: Replace all usages of alloca/AllocaM with more modern/less discouraged alternatives  
						
						
						
						
					 
					
						2023-04-15 16:57:00 +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 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						e5af5907ec 
					 
					
						
						
							
							Change: Make all dropdown lists extend width if necessary.  
						
						... 
						
						
						
						This removes the auto_width parameter from ShowDropDown(At). 
						
						
					 
					
						2023-04-13 20:57:47 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						c89079a210 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	src/saveload/cargopacket_sl.cpp
#	src/saveload/saveload.h
#	src/strings.cpp
#	src/vehicle.cpp 
						
						
					 
					
						2023-04-12 20:02:57 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						82803b98e0 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	src/game/game_gui.cpp
#	src/graph_gui.cpp
#	src/linkgraph/linkgraph_gui.h
#	src/newgrf.cpp
#	src/order_gui.cpp
#	src/saveload/engine_sl.cpp
#	src/saveload/saveload.h
#	src/script/api/script_text.cpp
#	src/script/script_gui.cpp
#	src/settings_table.cpp
#	src/strings.cpp
#	src/table/settings/economy_settings.ini
#	src/table/settings/locale_settings.ini
#	src/timetable_gui.cpp 
						
						
					 
					
						2023-04-10 15:11:53 +01:00 
						 
				 
			
				
					
						
							
							
								dP 
							
						 
					 
					
						
						
							
						
						e2f1cd44dc 
					 
					
						
						
							
							Change: Increase max cargo age and let min cargo payment approach zero. ( #10596 )  
						
						... 
						
						
						
						Co-authored-by: Michael Lutz <michi@icosahedron.de > 
						
						
					 
					
						2023-04-10 12:34:28 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						3a48d6e60f 
					 
					
						
						
							
							Fix  991a797: [Script] Allow STRINGN consumption to be different than expected  
						
						
						
						
					 
					
						2023-04-08 00:14:12 +02:00 
						 
				 
			
				
					
						
							
							
								Loïc Guilloux 
							
						 
					 
					
						
						
							
						
						e4c511d403 
					 
					
						
						
							
							Fix   #10578 : Allow to select any version of AI/GS from GUI ( #10604 )  
						
						
						
						
					 
					
						2023-04-07 19:33:07 +02:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						3d1b0af8f6 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	src/newgrf_debug_gui.cpp
#	src/object_cmd.cpp
#	src/object_gui.cpp 
						
						
					 
					
						2023-04-03 00:43:58 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						82c70ed3b8 
					 
					
						
						
							
							Change: Expose ObjectSpec vector to simplify iteration.  
						
						
						
						
					 
					
						2023-04-02 22:42:38 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						1f46f080f0 
					 
					
						
						
							
							Codechange: Store objectspecs in std::vector instead of flat array.  
						
						
						
						
					 
					
						2023-04-02 22:42:38 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						29c451d1a8 
					 
					
						
						
							
							Script: Only log each string parameter warning message once  
						
						
						
						
					 
					
						2023-03-27 20:14:49 +01:00 
						 
				 
			
				
					
						
							
							
								Loïc Guilloux 
							
						 
					 
					
						
						
							
						
						9642e87bc8 
					 
					
						
						
							
							Fix: [Script] Access to enum/consts defined outside of main.nut ( #10573 )  
						
						
						
						
					 
					
						2023-03-25 23:07:47 +01:00