Jonathan G Rennison
439c1208d7
VarAction2: Optimise unknown reads from 0x11 as constant 0
2 years ago
SamuXarick
b52b29b1a4
Change: Avoid crashing to the side of a train
...
When a road vehicle is already running on a multi level crossing, and a train shows up ahead, don't make the road vehicle crash on the side of the train.
2 years ago
Jonathan G Rennison
6285b5823b
3rdparty: Update monocypher from 3.1.2 to 3.1.3
2 years ago
Jonathan G Rennison
e644f34bf8
Github: Change CMake type to Release for MacOS release builds
2 years ago
Jonathan G Rennison
2a330961d4
Github: Change CMake options for Linux release builds
...
Change CMake type to Release
Enable LTO and debug section compression
2 years ago
Jonathan G Rennison
97acdfaa05
Crashlog: Unix: Use dladdr1 for symbol offset for addr2line
...
Subtract 1 from offset given to addr2line
2 years ago
SamuXarick
8351b97f52
Add: [Script] Labels for negative values of a setting
2 years ago
SamuXarick
376820c0b6
Doc: [Script] Update info descriptions
2 years ago
SamuXarick
bb2ac8b3c4
Fix: [Script] Save config item values up to 10 digits + 1 for sign + 1 for termination, enough to fit min and max int
2 years ago
SamuXarick
fde7028a95
Fix #10059 : [Script] Let custom values on a config item be up to 10 digits + 1 for sign
2 years ago
SamuXarick
7b1fd3e37f
Fix #10059 : [Script] Clamp config item values to int32
...
Also prevent random_deviation to be below 0.
2 years ago
Nik Nyby
92c755161d
Fix #10222 : Adjust line drawing algorithm ( #10491 )
2 years ago
Jonathan G Rennison
86979dd167
CMake: Add option to enable LTO
2 years ago
Jonathan G Rennison
c1532107fc
CMake: Add option to compress debug sections using -gz if possible
2 years ago
Jonathan G Rennison
5efe3a8b5b
CMake: Also add -g1/-gline-tables-only to linker options
2 years ago
translators
8778949b6a
Update: Translations from eints
...
english (us): 1 change by nikolas
galician: 18 changes by pvillaverde
2 years ago
PeterN
968709735d
Fix #10477 : Not enough space for text due to rounding down (OSX) ( #10489 )
...
(cherry picked from commit 2376112c77
)
2 years ago
Loïc Guilloux
8b36b2cbf3
Fix #10486 : [Script] Debug window requires AIs to be started before GS ( #10487 )
...
(cherry picked from commit 4072dcff49
)
2 years ago
Loïc Guilloux
ad6cd18cb4
Fix: [Actions] vcpkg needs pkg-config to build zlib on macOS ( #10488 )
...
(cherry picked from commit 27cbb81df5
)
2 years ago
Jonathan G Rennison
c45bd3020d
strgen: Fix type conversion warnings
2 years ago
Jonathan G Rennison
3c5ae5563d
Fix missing include
2 years ago
Jonathan G Rennison
6a53ec4c20
Fix 8d6e5779: Use of ssize_t is problematic on Windows
2 years ago
Jonathan G Rennison
588a92648d
Fix fbfbaa11: gmtime replaccement in Windows exception handler
2 years ago
Jonathan G Rennison
2ffb245b33
GRF: Add property mapping ID extension mechanism
...
Bump property_mapping feature version to 3
2 years ago
Jonathan G Rennison
5a877b49b4
Add railtype/signal variable to get signal side
2 years ago
translators
9ade3345f7
Update: Translations from eints
...
english (us): 3 changes by nikolas
galician: 1 change by pvillaverde
2 years ago
Jonathan G Rennison
f7d62a1767
Add road/tram type flag to disallow collisions with trains
2 years ago
Jonathan G Rennison
663a3969a0
Add road/tram type flag to disallow tunnels
2 years ago
Jonathan G Rennison
3497d0dcdb
Add road/tram type properties to set road vehicle collision mode
2 years ago
translators
4a8b8807e6
Update: Translations from eints
...
vietnamese: 6 changes by KhoiCanDev
korean: 1 change by telk5093
2 years ago
Jonathan G Rennison
39d38ecf19
Fix incorrect handling of timetable operations on counter and release slot orders
...
See: #485
2 years ago
Jonathan G Rennison
bf5a3e259a
Timetable window: Double-click only triggers change time if button enabled
2 years ago
PeterN
2376112c77
Fix #10477 : Not enough space for text due to rounding down (OSX) ( #10489 )
2 years ago
SamuXarick
3df9321a65
Fix: Some Script::IsValidVehicle checks need to be complemented with IsPrimaryVehicle
...
Add: [Script] ScriptVehicle.IsPrimaryVehicle
2 years ago
glx22
3559576166
Codechange: [Script] Don't expose static buffers outside of ScriptText
2 years ago
glx22
e735370318
Change: [Script] A ScriptText with too many parameters is now a fatal error
...
It should never happen as adding/setting parameters already checks that anyway.
2 years ago
translators
2fdfc38da8
Update: Translations from eints
...
korean: 6 changes by telk5093
slovak: 8 changes by legitalk
catalan: 3 changes by J0anJosep
turkish: 5 changes by EndChapter
dutch: 1 change by Afoklala
portuguese (brazilian): 8 changes by ericandradex
polish: 2 changes by pAter-exe
2 years ago
Loïc Guilloux
4072dcff49
Fix #10486 : [Script] Debug window requires AIs to be started before GS ( #10487 )
2 years ago
Jonathan G Rennison
5e398d9478
Add GUI/command support for >255 station types per station class
2 years ago
Loïc Guilloux
27cbb81df5
Fix: [Actions] vcpkg needs pkg-config to build zlib on macOS ( #10488 )
2 years ago
Jonathan G Rennison
50a48b1264
strgen: Allow inserting strings before as well as after
...
Use for viewport town label strings
2 years ago
Jonathan G Rennison
ea589fca6e
strgen: Allow using another string as a default translation source
2 years ago
Jonathan G Rennison
2829a6fdf7
strgen: Split non-upstream translated strings into separate file
2 years ago
Jonathan G Rennison
2afd2967f2
strgen: Split non-upstream english.txt strings into separate file
2 years ago
Patric Stout
fdfcb09aa3
Fix #10131 : actually cancel downloads when pressing cancel
2 years ago
Patric Stout
dea2dea881
Fix: reset content download progress to zero if falling back to TCP
...
Otherwise this chain of events can happen:
- You already have a (partial) file downloaded
- You start the download, and HTTP fails
- This resets the download progress to the current size of the file
- The TCP download starts at a very large value (UINT32_MAX - filesize)
It now resets to 0% done when any negative value is being given.
As added bonus, we no longer have to query how much was already
downloaded.
2 years ago
Patric Stout
1c17556f96
Codechange: replace instance of char * with std::string
2 years ago
Jonathan G Rennison
7e79c6b34b
Set text colour for standard per-town actions
2 years ago
Jonathan G Rennison
3e7a625e0e
Fix function locals shadowing parameters
2 years ago
Jonathan G Rennison
796924ec32
Change type of extended feature versions arrays
2 years ago