Rubidium 
							
						 
					 
					
						
						
							
						
						b1b578f988 
					 
					
						
						
							
							Cleanup: stredup-ing string variant for calling scripts  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						ab51175db2 
					 
					
						
						
							
							Codechange: use std::string for script config  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						bbcb55ebc9 
					 
					
						
						
							
							Codechange: use std::string as script API return type  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						b24a6bb8f3 
					 
					
						
						
							
							Codechange: use std::string for script log calls  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						77177f7e8b 
					 
					
						
						
							
							Add: support for std::string parameters in the script API  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						98972a0748 
					 
					
						
						
							
							Codechange: use C++ strings for constructing script file paths  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						20ff0bccd7 
					 
					
						
						
							
							Codechange: use std::string to store script GUI's break string  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						48825e1a8e 
					 
					
						
						
							
							Codechange: rewrite script string-to-settings conversion to C++  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						552d2f71a2 
					 
					
						
						
							
							Codechange: use std::string for script library category  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						e035705239 
					 
					
						
						
							
							Codechange: introduce and use std::string variant of sq_throwerror  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						3453c03a17 
					 
					
						
						
							
							Codechange: use fmt::format to create dummy scripts  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						9f2fc860ad 
					 
					
						
						
							
							Codechange: use std::optional<std::string> for changing the script over char *  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						0fd9eb0faa 
					 
					
						
						
							
							Codechange: use std::string for script info/library finding  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						a30f7c83bd 
					 
					
						
						
							
							Codechange: use std::string for script names to load  
						
						
						
						
					 
					
						2023-05-14 22:54:10 +02:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						4a6fdc8293 
					 
					
						
						
							
							Fix: multiplication result converted to larger type  
						
						... 
						
						
						
						Technically unlikely to happen, though uint16 * uint16 get promoted to int and
then stored as uint64; similarly uint * uint16 remains uint and gets stored as
uint64. In both cases the value can get truncated before the change to uint64. 
						
						
					 
					
						2023-05-14 22:09:58 +02:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						4894da67da 
					 
					
						
						
							
							Codechange: Pass bridge type instead of display row to BuildBridge. ( #10828 )  
						
						
						
						
					 
					
						2023-05-14 19:12:26 +00:00 
						 
				 
			
				
					
						
							
							
								translators 
							
						 
					 
					
						
						
							
						
						a8daf91eea 
					 
					
						
						
							
							Update: Translations from eints  
						
						... 
						
						
						
						vietnamese: 4 changes by KhoiCanDev
hungarian: 74 changes by PstasDev
turkish: 4 changes by densxd 
						
						
					 
					
						2023-05-14 18:40:47 +00:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						8493719cf4 
					 
					
						
						
							
							Fix: padding miscalculated for the network-relay and bootstrap-question GUI ( #10827 )  
						
						
						
						
					 
					
						2023-05-14 15:32:45 +00:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						9eb0cca93a 
					 
					
						
						
							
							Fix   #10823 ,  Fix   #10811 : Order list has end marker row. ( #10825 )  
						
						
						
						
					 
					
						2023-05-14 13:04:59 +01:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						64930c343a 
					 
					
						
						
							
							Codechange: Pass reference instead of pointer to GUI*Lists. ( #10822 )  
						
						... 
						
						
						
						Pointer-avoidance. 
						
						
					 
					
						2023-05-14 09:17:44 +01:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						23ce42ad91 
					 
					
						
						
							
							Codechange: Use std::move for bridge list. ( #10821 )  
						
						... 
						
						
						
						This follows the pattern for dropdown lists, and avoids new/delete and pointers. 
						
						
					 
					
						2023-05-14 08:22:09 +01:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						385b25df63 
					 
					
						
						
							
							Fix   #10819 ,  Fix   #10811 : GetVehicleFromDepotWndPt used widget- instead of window-relative positions. ( #10820 )  
						
						... 
						
						
						
						Pass window-relative positions instead, and adjust for relative positions where needed within the function itself. This simplifies calling code. 
						
						
					 
					
						2023-05-13 22:18:36 +00:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						07473bfd2e 
					 
					
						
						
							
							Fix: Don't use a loop to test if classid is valid. ( #10818 )  
						
						... 
						
						
						
						Additionally the Object class test was broken. 
						
						
					 
					
						2023-05-13 21:27:32 +00:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						1fe7bbba8a 
					 
					
						
						
							
							Codechange: rework NewGRFProfiler to use ticks instead of calendar-days ( #10815 )  
						
						... 
						
						
						
						We are planning to allow things like freezing the calendar, which
makes this variable a bit problemetic. So instead, suggest to the
user how many ticks there are in a calendar day, and let them figure
out how many ticks they want.
Additionally, use a TimeoutTimer for this, instead of an end-date
variable which is checked in an IntervalTimer. 
						
						
					 
					
						2023-05-13 23:17:11 +02:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						a372c59483 
					 
					
						
						
							
							Codechange: replace C-style (stredup) chat completion with std::string_view  
						
						
						
						
					 
					
						2023-05-13 22:33:27 +02:00 
						 
				 
			
				
					
						
							
							
								translators 
							
						 
					 
					
						
						
							
						
						e1b653137f 
					 
					
						
						
							
							Update: Translations from eints  
						
						... 
						
						
						
						finnish: 4 changes by hpiirai 
						
						
					 
					
						2023-05-13 18:41:08 +00:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						a92755de81 
					 
					
						
						
							
							Codechange: Use iterator erase pattern.  
						
						
						
						
					 
					
						2023-05-13 19:18:01 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						4a64064c57 
					 
					
						
						
							
							Codechange: Make NEW_STATION an actual item in join station list.  
						
						... 
						
						
						
						Add NEW_STATION to the nearby station list to indicate that a new
station should be built. This removes special-casing for a non-existant
list item and keeps the list count and scrollbar count the same. 
						
						
					 
					
						2023-05-13 19:18:01 +01:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						d54660184a 
					 
					
						
						
							
							Fix: NewGRF Profile didn't stop if there were no events yet ( #10816 )  
						
						... 
						
						
						
						This meant you could have the following situation:
- You start a profile on a GRF with no events, for N days.
- The days pass, the profile should stop. It doesn't.
- The profile will never stop, even if the GRF start generating events.
- There is no real way to discover this, so .. byebye memory? :) 
						
						
					 
					
						2023-05-13 18:23:23 +02: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 
							
						 
					 
					
						
						
							
						
						941dbadf9e 
					 
					
						
						
							
							Codechange: Add and use GetScrolledItemFromWidget to get a list item.  
						
						... 
						
						
						
						This function returns an iterator, either to the selected item or the
container's end.
This makes handling the result more robust as indices are not used. 
						
						
					 
					
						2023-05-12 21:45:32 +01:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						86e5dfce3d 
					 
					
						
						
							
							Codechange: use std::string instead of strecat to build hotkey strings  
						
						
						
						
					 
					
						2023-05-12 22:02:59 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						72c7536325 
					 
					
						
						
							
							Codechange: Use a dedicated variable for disaster vehicle action state. ( #10798 )  
						
						
						
						
					 
					
						2023-05-12 21:41:36 +02:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						1a93618bd1 
					 
					
						
						
							
							Fix: Road type is not available before its introduction date.  
						
						
						
						
					 
					
						2023-05-12 21:03:13 +02:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						726d05b22b 
					 
					
						
						
							
							Fix: Don't list unavailable road types for game scripts.  
						
						
						
						
					 
					
						2023-05-12 21:03:13 +02:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						5059e23ed5 
					 
					
						
						
							
							Revert  8fa61533: "Fix  30ae072: when a road type is hidden, towns may not build them even when that flag is set"  
						
						... 
						
						
						
						This reverts commit 8fa61533f0 
						
						
					 
					
						2023-05-12 21:03:13 +02:00 
						 
				 
			
				
					
						
							
							
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						3a03a12a9c 
					 
					
						
						
							
							Feature: Show the number of industries already built in the Fund New Industry window.  
						
						
						
						
					 
					
						2023-05-12 20:48:11 +02:00 
						 
				 
			
				
					
						
							
							
								translators 
							
						 
					 
					
						
						
							
						
						a934a584a5 
					 
					
						
						
							
							Update: Translations from eints  
						
						... 
						
						
						
						italian: 4 changes by Rivarossi
catalan: 4 changes by J0anJosep
dutch: 9 changes by Afoklala 
						
						
					 
					
						2023-05-12 18:39:51 +00:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						da7f431812 
					 
					
						
						
							
							Cleanup: widget pos_x/y are already int. ( #10809 )  
						
						... 
						
						
						
						Remove old casts left over from when pos_x/y were unsigned. 
						
						
					 
					
						2023-05-12 18:02:51 +01:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						7e3646cf46 
					 
					
						
						
							
							Codechange: Remove redundant char buffer. ( #10808 )  
						
						
						
						
					 
					
						2023-05-11 21:36:11 +00:00 
						 
				 
			
				
					
						
							
							
								translators 
							
						 
					 
					
						
						
							
						
						ca31976da0 
					 
					
						
						
							
							Update: Translations from eints  
						
						... 
						
						
						
						english (au): 4 changes by krysclarke
english (us): 4 changes by 2TallTyler
russian: 4 changes by Ln-Wolf
portuguese: 4 changes by azulcosta
polish: 8 changes by pAter-exe 
						
						
					 
					
						2023-05-11 18:42:00 +00:00 
						 
				 
			
				
					
						
							
							
								Loïc Guilloux 
							
						 
					 
					
						
						
							
						
						7e74232e56 
					 
					
						
						
							
							Change: [Actions] Use -fuse-ld=lld and Ninja for MinGW ( #10785 )  
						
						... 
						
						
						
						And some miscellaneous things while touching the file 
						
						
					 
					
						2023-05-11 18:07:29 +00:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						61516627ad 
					 
					
						
						
							
							Add: NewGRF string code "9A 21" to display force from textstack. ( #10782 )  
						
						
						
						
					 
					
						2023-05-11 08:06:46 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						59811ec780 
					 
					
						
						
							
							Codechange: Use find_if when finding things.  
						
						
						
						
					 
					
						2023-05-11 07:58:55 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						e6740046ee 
					 
					
						
						
							
							Codechange: Use range-for iteration.  
						
						
						
						
					 
					
						2023-05-11 07:58:55 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						cef3a2570d 
					 
					
						
						
							
							Codechange: Use standard iterator-erase-loop pattern.  
						
						
						
						
					 
					
						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