translators
2f66f74035
Update: Translations from eints
...
english (au): 1 change by krysclarke
chinese (traditional): 1 change by KogentaSan
spanish (mexican): 264 changes by absay
greek: 1 change by gh658804
russian: 2 changes by Ln-Wolf
finnish: 1 change by hpiirai
portuguese: 1 change by jcteotonio
portuguese (brazilian): 1 change by pasantoro
polish: 4 changes by pAter-exe
2025-02-17 04:43:27 +00:00
Peter Nelson
ed57b9c297
Fix faa845398f: Crash when loading tile layout with no building sprites. ( #13589 )
...
Tile layouts are permitted to have no building sprites, therefore the test for an empty sequence of sprites is not valid.
2025-02-16 22:29:56 -05:00
Peter Nelson
13944222f3
Fix d13b0e0813: "New vehicle now available!" message is wrong colour. ( #13586 )
2025-02-16 23:00:24 +00:00
Peter Nelson
8f14894024
Add: NewGRF Badges.
2025-02-16 22:24:25 +00:00
Peter Nelson
ca3b5ed6c1
Codechange: Allow iterating a BaseBitSet.
2025-02-16 22:24:25 +00:00
Peter Nelson
0af5d5a9e6
Codechange: Make non-generic GRF string ids unique per feature.
...
This prevents engine name strings conflicting with generic strings if more than 53,248 engines are defined.
2025-02-16 22:24:25 +00:00
Peter Nelson
154896ce55
Codechange: Use GetString() with local parameters in script functions. ( #13585 )
2025-02-16 21:27:25 +00:00
Rubidium
fd4adc55e3
Codechange: replace INVALID_X with XID::Invalid() for PoolIDs
2025-02-16 20:23:00 +01:00
Peter Nelson
d13b0e0813
Codechange: Build engine preview strings from separate strings. ( #13579 )
...
This replaces stuffing substrings and parameters in various global parameters and uses local parameters instead.
2025-02-16 19:02:02 +00:00
Rubidium
af00b835a1
Codechange: remove transitional supports from the pool
2025-02-16 19:31:37 +01:00
Rubidium
576a96c685
Codechange: let the ReusableBuffer use std::vector as storage
2025-02-16 19:31:13 +01:00
Rubidium
59df0ff496
Codechange: strongly type StationID
2025-02-16 18:25:51 +01:00
Patric Stout
155aaa5967
Fix fd2949d: use std::prev() to walk back from a possible string::end()
2025-02-16 16:36:25 +01:00
Patric Stout
2eb32ece6d
Fix fd2949d: std::string can reallocate on insert()
2025-02-16 16:36:25 +01:00
Peter Nelson
3ade64954c
Change: Restore wider spacers in main toolbars. ( #12039 )
...
Width for all spacers was included only due to an off-by-one from counting buttons and not excluding the normally hidden switcher button.
Spacer width of quarter the button width is now included explicitly,
2025-02-16 14:51:07 +00:00
Rubidium
70c9f3963c
Codechange: strongly type VehicleID
2025-02-16 14:50:15 +01:00
Rubidium
1003967267
Codechange: strongly type TownID
2025-02-16 14:50:15 +01:00
Rubidium
d3408a4542
Codechange: strongly type IndustryID
2025-02-16 14:50:15 +01:00
Rubidium
7e04651220
Codechange: strongly type EngineID
2025-02-16 14:50:15 +01:00
Rubidium
17b97e5d1b
Codechange: introduce ConvertibleThroughBase helper
2025-02-16 14:50:15 +01:00
Rubidium
380e7b48ce
Codechange: use std::variant instead of a custom version for news references
2025-02-16 14:50:15 +01:00
Rubidium
2cb59b1856
Codechange: make VehicleID an enum
2025-02-16 14:50:15 +01:00
Rubidium
c25c3e8710
Codechange: make IndustryID an enum
2025-02-16 14:50:15 +01:00
Rubidium
9015c3651f
Codechange: make EngineID an enum
2025-02-16 14:50:15 +01:00
Rubidium
ab8177ea77
Codechange: strongly type CompanyID
2025-02-16 14:02:18 +01:00
Rubidium
5401ab1f7b
Codechange: use ReferenceThroughBaseContainer for containers that are index by CompanyID
2025-02-16 14:02:18 +01:00
Rubidium
1ffc950e22
Codechange: use prefix operator++ for CompanyID iterations
2025-02-16 14:02:18 +01:00
Rubidium
b0eb8fe4db
Codechange: introduce ConvertibleThroughBase helpers
2025-02-16 14:02:18 +01:00
Rubidium
bdd14063a0
Codechange: move vehicle name to LoadgameState and change to std::vector
2025-02-16 13:45:07 +01:00
Rubidium
11d48aa47c
Codechange: do not use ZeroedMemoryAllocator for NewGRFSpriteLayout
2025-02-16 13:44:46 +01:00
Rubidium
2d30df8110
Codefix: 'Declaration hides variable'
2025-02-16 13:44:37 +01:00
Peter Nelson
443d7ece29
Codefix 75387b9e2b: Prefer using EnumBitSet.base() instead of shifting StationFacility. ( #13575 )
2025-02-16 11:52:40 +00:00
Rubidium
e8beb0eff3
Codechange: add support for std::variant in EndianBuffer
2025-02-16 12:44:10 +01:00
Rubidium
a50c953854
Codefix: Clone should make a clone, not copy some data to another instance
2025-02-16 12:31:25 +01:00
Rubidium
faa845398f
Codechange: use std::vector for NewGRFSpriteLayout registers
2025-02-16 12:31:25 +01:00
Rubidium
e7595c6c85
Codechange: pass oldloader LoadgameState by reference instead of pointer
2025-02-16 12:31:14 +01:00
Rubidium
44506ebc86
Codechange: use span size over terminator object
2025-02-16 11:19:12 +01:00
Peter Nelson
2d7d085e8e
Codechange: Use EncodedString for error messages. ( #13569 )
2025-02-16 10:04:32 +00:00
Peter Nelson
43c7865ca2
Fix #13570 : Query window's caption was no longer visible. ( #13572 )
2025-02-16 10:00:50 +00:00
translators
6283631155
Update: Translations from eints
...
spanish (mexican): 24 changes by absay
vietnamese: 2 changes by KhoiCanDev
french: 14 changes by glx22
2025-02-16 04:42:07 +00:00
Rubidium
8b7460759a
Codechange: rework StringFilter to not need MallocT anymore
2025-02-15 23:43:57 +01:00
Jonathan G Rennison
ff6ae5b87b
Codechange: Use ZIP_LISTS for regression output line iteration
2025-02-15 22:19:41 +00:00
Jonathan G Rennison
2c58494920
Codechange: Update minimum CMake version to 3.17 for all parts
...
This is to allow the use of ZIP_LISTS
2025-02-15 22:19:41 +00:00
Su
4a37b6448f
Change: Make tree placement at world generation look more organic ( #13515 )
...
Trees are now placed in irregular blob shapes instead of repetitive diamond shapes.
---------
Co-authored-by: Susan <su+git@angel-island.zone>
Co-authored-by: Peter Nelson <peter1138@openttd.org>
2025-02-15 20:54:02 +00:00
Rubidium
fd2949d559
Codechange: use std::string as backing for textbuf
2025-02-15 21:52:55 +01:00
Rubidium
ad8f394835
Codechange: introduce string::iterator aware Utf8Decode, Utf8Encode and Utf8PrevChar
2025-02-15 21:52:55 +01:00
Rubidium
672c5f0d98
Codefix: 'Short global name'
2025-02-15 21:06:28 +01:00
Peter Nelson
cb23bc5e2a
Add: Show cargo types produced by building in house picker. ( #13561 )
2025-02-15 15:06:58 +00:00
Peter Nelson
04708736d9
Codechange: Use EnumBitSet for CommandFlags. ( #13560 )
2025-02-15 09:36:20 +00:00
translators
f620ba9d05
Update: Translations from eints
...
dutch: 25 changes by Afoklala
2025-02-15 04:44:38 +00:00