Commit Graph

57139 Commits

Author SHA1 Message Date
translators
7f5c0aab60 Update: Translations from eints
dutch: 2 changes by Afoklala
2023-08-18 18:38:21 +00:00
Jonathan G Rennison
87911bdf47 Use bitmath builtins for FindLastBit 2023-08-18 13:38:39 +01:00
Jonathan G Rennison
c49651ae7b VarAction2: Use reserve and shrink_to_fit for DSG adjusts vector 2023-08-18 13:22:22 +01:00
Jonathan G Rennison
129691dcc7 Music: Defer probing for music driver until a music set is loaded 2023-08-18 13:22:22 +01:00
Jonathan G Rennison
8681f29155 Linux: Try to enable transparent huge pages for map allocation
Using single allocation for tile and tile-extended
2023-08-18 13:22:22 +01:00
Jonathan G Rennison
41fed27d0a Animated tile: Prefetch next item in map 2023-08-18 13:22:22 +01:00
Patric Stout
5ac333c2cc Fix: [MacOS] screen looks blue-ish when using newer SDKs (#11207)
The define kCGBitmapByteOrder32Host changed (around SDK 12?)
into an enum, which means an old #ifndef was triggering,
overwriting the value to 0. Sadly, 0 means Order16Big, causing
RGBA to become GRAB, which results in strange colours.

As we no longer support PPC, drop that piece of code completely.
2023-08-18 13:22:00 +02:00
Loïc Guilloux
2bf3c02fbf Fix: no fast forward in network was ensured only from GUI side (#11206) 2023-08-17 21:14:39 +02:00
translators
e8c49d3543 Update: Translations from eints
swedish: 1 change by joeax910
2023-08-17 18:38:20 +00:00
Jonathan G Rennison
2212191b6c Saveload: Fix missing cast warnings for ship/RV path cache load 2023-08-17 15:17:54 +01:00
Jonathan G Rennison
9cf39b7a25 Prefetch next tile in tile loop iteration 2023-08-17 14:40:39 +01:00
Jonathan G Rennison
cc57ac0eff Add pre-check to auxiliary tile loop flooding test 2023-08-17 14:40:07 +01:00
Jonathan G Rennison
5a062bd5b2 Workflow: Add zstd to github release workflow 2023-08-17 14:18:36 +01:00
Jonathan G Rennison
6fa3620222 CMake: Change -ffile-prefix-map to be enabled by an option
Use in github release workflows
2023-08-17 13:59:48 +01:00
Jonathan G Rennison
9061fef59c Fix #11203: [ICU] Glyph to char mapping with multiple runs (#11204) 2023-08-16 19:17:02 +00:00
translators
db1a9f00c0 Update: Translations from eints
dutch: 1 change by Bouke
2023-08-16 18:38:51 +00:00
Jonathan G Rennison
8dc953c590 Fix: ICU layout: Glyph to char mapping with multiple runs
See: https://github.com/OpenTTD/OpenTTD/issues/11203
See: https://github.com/OpenTTD/OpenTTD/issues/10790
2023-08-16 19:04:34 +01:00
Jonathan G Rennison
6ccf3774b6 Fix missing tooltip texts 2023-08-16 18:55:44 +01:00
Jonathan G Rennison
fac21f3429 Fix missing/incorrect command error texts 2023-08-16 18:55:29 +01:00
Jonathan G Rennison
1e1ad66e90 CMake: Use -ffile-prefix-map to trim build directory from debug output 2023-08-16 16:33:11 +01:00
Jonathan G Rennison
92e632454e Change ship path cache to be optional and use a ring buffer 2023-08-16 15:20:24 +01:00
Jonathan G Rennison
2ae4e5bdc1 Change road vehicle path cache to be optional and use ring buffers
Show path cache in debug window
2023-08-16 15:17:56 +01:00
romw314
662f76bfc4 Docs: mention Windows 11 in directory_structure.md (#11200) 2023-08-15 22:21:13 +02:00
Patric Stout
07730584d7 Codechange: make explicit when a TileIndex is cast to its basetype (#11190)
This prevents people accidentially assigning a TileIndex to a Date
or any other type they shouldn't.
2023-08-15 18:12:05 +02:00
arikover
5d3f7939e2 Fix d42a78f: Show correct road speed in construction dropdowns (#11196) 2023-08-15 10:34:36 +02:00
Jonathan G Rennison
1183476182 Allow custom signal styles to disable aspect-limited mode
By setting style_lookahead_extra_aspects to 255
2023-08-14 23:56:21 +01:00
Loïc Guilloux
7ef55bdfb0 Cleanup: [CMake] don't add strgen.h twice (#11199) 2023-08-14 21:29:03 +00:00
translators
e652cd6434 Update: Translations from eints
swedish: 1 change by Brickblock1
english (us): 2 changes by 2TallTyler
2023-08-14 18:38:20 +00:00
Jonathan G Rennison
6ccbd7cce2 Saveload: Remove test pass from ScriptInstance::Save
Use SlConditionallySave to discard the saved data instead if there
was an error
2023-08-14 18:51:58 +01:00
Jonathan G Rennison
e3021de408 Saveload: Add helper to conditionally save template functor 2023-08-14 18:51:00 +01:00
Jonathan G Rennison
f378167951 Saveload: Change SlSaveToVector to be templated, add SlSaveToTempBuffer 2023-08-14 18:39:23 +01:00
Jonathan G Rennison
d0c6b7136d Saveload: Improve performance of script data save/load
Avoid unnecessarily using SlObject wrappers
2023-08-14 17:28:49 +01:00
Jonathan G Rennison
2b8171093a Change Colour constructors to be constexpr 2023-08-14 17:07:42 +01:00
Jonathan G Rennison
95f3cf2a8e Make VideoDriver::GetAnimBuffer a non-virtual/inlinable function 2023-08-14 16:53:21 +01:00
Jonathan G Rennison
6fff633e81 Fix enum definitions for RoadTypeExtraFlags 2023-08-14 16:06:51 +01:00
Jonathan G Rennison
2f692a794f Blitter: Use 32 bit memset where available
Fix Blitter_40bppAnim::SetRect
2023-08-14 15:58:00 +01:00
Jonathan G Rennison
79509b76a6 Crashlog: Unix: Decode REG_ERR for SIGSEGV 2023-08-14 15:58:00 +01:00
Jonathan G Rennison
cb0c8d5e38 Crashlog: Unix: Decode common si_code values for SIGSEGV 2023-08-14 11:24:05 +01:00
Jonathan G Rennison
e676eb1202 Crashlog: Unix: Include REG_ERR in x86 register dump 2023-08-14 11:24:05 +01:00
Jonathan G Rennison
1ec2ed937f Unix: Fix CMake detection and setup of sigaltstack 2023-08-14 00:20:04 +01:00
Tyler Trahan
61dfd74e44 Codechange: Use correct type for max timetable start years constant (#11197) 2023-08-13 21:03:45 +02:00
translators
0726835735 Update: Translations from eints
english (au): 2 changes by krysclarke
french: 1 change by Lishouuu
portuguese (brazilian): 2 changes by pasantoro
2023-08-13 18:38:43 +00:00
Patric Stout
9dc2fbe4fa Fix 0238a2b5: crash when news message is displayed (#11195) 2023-08-13 10:16:36 +00:00
Rubidium
40195e689d Change: improve wording of help (host instead of IP) and update man page 2023-08-12 22:01:22 +02:00
Rubidium
a8e4d35bde Fix: crash when not passing parameter for -n 2023-08-12 22:01:22 +02:00
translators
56e0d0c7ef Update: Translations from eints
korean: 3 changes by telk5093
russian: 2 changes by Ln-Wolf
portuguese: 3 changes by azulcosta
2023-08-12 18:38:26 +00:00
Patric Stout
9624017fc2 Codechange: be more type-specific about types in NPFs queue (#11192) 2023-08-12 18:18:22 +00:00
Patric Stout
299570b2c1 Codechange: make TimerGameCalendar Date and Year types strongly typed (#10761) 2023-08-12 18:14:21 +00:00
Patric Stout
0238a2b567 Codechange: use std::variant instead of using bitflags in the value (#11191) 2023-08-12 16:05:00 +00:00
Patric Stout
a9ed590ca7 Codechange: use TimerGameCalendar::Date for variables in linkgraph that are dates (#11187) 2023-08-12 16:02:38 +02:00