translators
3784a3d3d6
Update: Translations from eints
...
latvian: 5 changes by lexuslatvia
portuguese: 4 changes by azulcosta
2024-09-15 04:44:28 +00:00
Peter Nelson
9623c28f4d
Change: [NewGRF] Place all 8 bits of station tile layout in var 40/41. ( #12890 )
2024-09-14 21:37:40 +01:00
Jonathan G Rennison
2a5a0b0990
Codechange: No longer allow saving of incorrect string container table fields
...
See: 1250ce8f
2024-09-14 15:32:48 +01:00
Jonathan G Rennison
c277ff121e
Fix #12901 : Savegame format of company allow lists
2024-09-14 15:32:48 +01:00
Peter Nelson
d1463f415f
Codechange: Treat reading incorrect parameter type as a string error.
...
Previously reading a string as a number would return 0 instead.
2024-09-14 15:31:05 +01:00
Peter Nelson
3d8d0e0d26
Codechange: Use std::variant to store string parameter data.
...
This avoids storing two separate values and makes the test for which type is held clearer.
This replaces use of unique_ptr for conditionally storing a string, and is also used in place of StringParameterBackup.
2024-09-14 15:31:05 +01:00
Peter Nelson
b449839538
Codechange: Pass span instead of vector to HaveDParamChanged.
2024-09-14 15:31:05 +01:00
Peter Nelson
9eb28def57
Codechange: Return reference from GetNextParameterPointer.
...
GetNextParameterPointer can no longer return nullptr, and the callers do not check for nullptr, so return a reference instead.
2024-09-14 15:31:05 +01:00
translators
59b18560d4
Update: Translations from eints
...
english (us): 4 changes by 2TallTyler
dutch: 4 changes by Afoklala
2024-09-14 04:44:59 +00:00
translators
45a5868bb8
Update: Translations from eints
...
chinese (simplified): 4 changes by WenSimEHRP
korean: 4 changes by telk5093
italian: 9 changes by dominiccoletti
catalan: 4 changes by J0anJosep
2024-09-13 04:44:38 +00:00
Peter Nelson
ad5da0c924
Codechange: Use __VA_OPT__(,)
instead of , ##
( #12921 )
...
`__VA_OPT__` is a C++20 standard, `##` is, apparently, a GNU extension.
MSVC needs /Zc:preprocessor adding for whatever reason.
2024-09-12 07:06:15 +01:00
Peter Nelson
7f5a3eaf83
Codefix: Avoid type-casting function pointer with incorrect type. ( #12929 )
...
Make `AutolengthProc` take `int` instead of `void *`, avoiding pointer parameters.
2024-09-12 06:49:45 +01:00
Peter Nelson
9631c68ce6
Codefix: Implement explicit ByteReader::PeekDWord() instead of type-punning pointer. ( #12928 )
2024-09-12 06:49:20 +01:00
Peter Nelson
6deee5e5e2
Fix: Train curve detection did not take shortened parts into account. ( #12910 )
...
Only the number of parts between curves was counted, which with shortened parts would be higher than full length parts and fail to limit as expected.
2024-09-12 06:47:54 +01:00
translators
bed2a060ce
Update: Translations from eints
...
english (au): 4 changes by krysclarke
greek: 4 changes by gh658804
russian: 4 changes by Ln-Wolf
finnish: 4 changes by hpiirai
polish: 4 changes by pAter-exe
2024-09-12 04:46:09 +00:00
Peter Nelson
2d51659ed2
Fix d8c36536
: \u200B is not allowed in translations. ( #12935 )
2024-09-10 14:25:36 +01:00
Jonathan G Rennison
e477706bf5
Codechange: Add AssignBit function to assign the value of a single bit ( #12934 )
...
* Codechange: Add AssignBit function to assign the value of a single bit
* Codechange: Replace various uses of SB with AssignBit
* Codechange: Replace various uses of SB with a constant with SetBit
2024-09-10 08:36:58 -04:00
Tyler Trahan
27efa57b7b
Change: Standardize filter button strings ( #12847 )
2024-09-10 08:33:06 -04:00
Jonathan G Rennison
d0b3e0c47e
Fix: Crash in GetGameStringPtr when there are no GS strings ( #12933 )
2024-09-10 13:20:38 +01:00
translators
d8c36536be
Update: Translations from eints
...
danish: 20 changes by bscargo
2024-09-10 04:44:28 +00:00
Jonathan G Rennison
81b684aa42
Codefix: StationUsesDefaultType always returned false for rail waypoints
2024-09-07 14:58:28 +01:00
Jonathan G Rennison
cb2f4f319c
Fix: Picker window 'used' filter for rail waypoints
...
The first two field of struct PickerItem were not populated.
These are required for set operations.
2024-09-07 14:58:28 +01:00
Peter Nelson
29ff3d7b90
Fix: DupSprite did not copy the control_flags field ( #12906 )
...
Co-authored-by: Jonathan G Rennison <j.g.rennison@gmail.com>
2024-09-07 14:57:44 +01:00
Jonathan G Rennison
69aa6f66ec
Doc: Add missing road waypoint map bits to landscape documents ( #12922 )
2024-09-07 14:57:29 +01:00
Jonathan G Rennison
5c243ee8f0
Fix: Road stop availability callback ( #12931 )
2024-09-07 14:57:04 +01:00
Jonathan G Rennison
d5ff6b4156
Fix 8d62a8f0
: Road stop variable 6B crashing for road stop preview in GUI ( #12930 )
2024-09-06 11:14:34 +01:00
translators
92cbf7ae43
Update: Translations from eints
...
french: 6 changes by glx22
2024-09-06 04:44:06 +00:00
translators
c1f8569587
Update: Translations from eints
...
galician: 1 change by pvillaverde
vietnamese: 1 change by myquartz
french: 1 change by FiglidiGP
2024-09-05 04:44:59 +00:00
translators
1d907611d1
Update: Translations from eints
...
polish: 1 change by pAter-exe
2024-09-04 04:44:39 +00:00
translators
34c09b3596
Update: Translations from eints
...
bulgarian: 3 changes by Alexandar83
2024-09-03 04:44:13 +00:00
Rubidium
f2a8e18792
Fix 208952f
: incorrect truncation in string setting validation
2024-09-02 22:16:26 +02:00
translators
b80f205967
Update: Translations from eints
...
italian: 4 changes by Boh132Boh
bulgarian: 505 changes by Alexandar83
2024-09-02 04:45:08 +00:00
translators
ef7ad2606c
Update: Translations from eints
...
bulgarian: 161 changes by Alexandar83
2024-09-01 04:45:11 +00:00
translators
2eb3e77207
Update: Translations from eints
...
chinese (simplified): 2 changes by WenSimEHRP
bulgarian: 116 changes by Alexandar83
2024-08-31 04:44:42 +00:00
translators
bb770b7b56
Update: Translations from eints
...
norwegian (bokmal): 1 change by eriksorngard
2024-08-29 04:44:23 +00:00
translators
9eaa00cd89
Update: Translations from eints
...
czech: 1 change by JsSusenka
2024-08-26 04:45:38 +00:00
Peter Nelson
cb23651f43
Codechange: Replace BmpBuffer with RandomAccessFile.
2024-08-24 22:11:04 +01:00
Peter Nelson
719763dfcb
Codechange: Store start and end position in RandomAccessFile.
...
This allows callers to do more bounds checking.
2024-08-24 22:11:04 +01:00
Peter Nelson
b5264a72ae
Codechange: [NewGRF] Use reference to unique_ptr instead of .get() ( #12919 )
...
This allows assignment to reference when creating a new spec instead of setting and refetching.
2024-08-24 22:10:39 +01:00
Jonathan G Rennison
4070cf9968
Codefix: LinkGraphOverlay::dirty was never initialised
2024-08-24 21:06:33 +02:00
translators
3be96c6816
Update: Translations from eints
...
english (us): 1 change by 2TallTyler
2024-08-24 04:43:57 +00:00
translators
d3252315d3
Update: Translations from eints
...
bulgarian: 28 changes by DeyanVNikolov
spanish: 1 change by SeveralCircles
2024-08-23 04:43:15 +00:00
Peter Nelson
2327b7030d
Codechange: Use std::string to load ini file comments. ( #12909 )
...
This removes realloc/free and some funky old manual memory management.
2024-08-21 22:09:51 +01:00
Peter Nelson
4224d08e72
Codechange: Replace malloc/free with vector for TGP heightmap processing.
2024-08-20 22:15:30 +01:00
Peter Nelson
c4a638dfe1
Codechange: Replace malloc/free with vector for screenshot buffers.
2024-08-20 22:15:30 +01:00
Peter Nelson
059462814e
Codechange: Replace malloc/free with vector when loading heightmap data.
2024-08-20 22:15:30 +01:00
Peter Nelson
9a037fe5ae
Codechange: Replace malloc/free with vector when padding sprites.
2024-08-20 22:15:30 +01:00
Peter Nelson
0f0f3d74ca
Codefix: Delete PersistentStorage when a town is deleted. ( #12903 )
2024-08-19 08:18:01 +01:00
translators
e4c04e86c0
Update: Translations from eints
...
catalan: 1 change by J0anJosep
french: 1 change by ottdfevr
portuguese: 1 change by azulcosta
2024-08-18 04:42:47 +00:00
translators
4e11a9c49e
Update: Translations from eints
...
korean: 2 changes by telk5093
dutch: 1 change by Afoklala
2024-08-17 04:43:01 +00:00