Rubidium
6eb2dec338
Codechange: explicitly initialise LinkGraph and LinkGraphJob member variables
2025-02-18 18:41:31 +01:00
Rubidium
35e7255a5a
Codechange: explicitly initialise LeaugeTable and LeagueTableElement member variables
2025-02-18 18:41:14 +01:00
Rubidium
7e471bf04d
Codechange: explicitly initialise Industry member variables
2025-02-18 18:18:14 +01:00
Rubidium
63e99871c1
Codechange: explicitly initialise Group member variables
2025-02-18 18:17:56 +01:00
Rubidium
b4a4ca83ff
Codechange: explicitly initialise EngineRenew member variables
2025-02-18 07:21:11 +01:00
Rubidium
0449dc48c8
Codechange: explicitly initialise Depot member variables
2025-02-18 07:21:04 +01:00
Rubidium
1f3198a395
Codechange: explicitly initialise Engine member variables
2025-02-18 07:20:58 +01:00
Rubidium
bb81139c1f
Codechange: explicitly initialise CargoPayment member variables
2025-02-18 07:20:49 +01:00
translators
53dd1258a7
Update: Translations from eints
...
english (au): 3 changes by krysclarke
norwegian (bokmal): 4 changes by eriksorngard
chinese (traditional): 4 changes by KogentaSan
spanish (mexican): 67 changes by absay
english (us): 4 changes by 2TallTyler
chinese (simplified): 54 changes by WenSimEHRP
arabic (egypt): 77 changes by ImMorrow
greek: 3 changes by gh658804
russian: 3 changes by Ln-Wolf
finnish: 3 changes by hpiirai
portuguese: 3 changes by azulcosta
portuguese (brazilian): 3 changes by pasantoro
polish: 3 changes by pAter-exe
2025-02-18 04:43:06 +00:00
Peter Nelson
370c702549
Add: Show badges in NewGRF debug window. ( #13597 )
2025-02-17 22:15:45 +00:00
Peter Nelson
7a23bfa747
Add: Filter purchase lists by badge text. ( #13588 )
2025-02-17 17:28:26 +00:00
Peter Nelson
5e43aaff35
Add: Also show badges in fund industry list. ( #13590 )
2025-02-17 17:27:57 +00:00
Peter Nelson
af7054dcb6
Fix 8f14894024: Badge name list did not use translatable separator. ( #13591 )
2025-02-17 17:27:22 +00:00
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