SamuXarick
16276085a6
Merge 8031d68d01
into bd2430dc94
2025-06-26 07:33:43 +00:00
Peter Nelson
bd2430dc94
Codechange: Use FlatSet to avoid trying to add variant parents multiple times.
2025-06-26 08:33:34 +01:00
Peter Nelson
1ddc03b916
Codechange: Give FlatSet insert() a return value.
...
This now returns an iterator, and whether an insert was performed.
Allows the caller to know if the item was already in the FlatSet without explicitly checking first.
2025-06-26 08:33:34 +01:00
translators
1ff12b6e74
Update: Translations from eints
...
english (au): 8 changes by krysclarke
chinese (traditional): 23 changes by KogentaSan
chinese (simplified): 12 changes by WenSimEHRP
greek: 8 changes by gh658804
russian: 6 changes by Ln-Wolf
finnish: 8 changes by hpiirai
portuguese: 9 changes by jcteotonio
portuguese (brazilian): 8 changes by pasantoro
2025-06-26 04:43:34 +00:00
Peter Nelson
d5ebd20110
Fix 319caef58f: Buildings with non-zero subtile offsets broken in house picker. ( #14390 )
...
Partially reverts 319caef58f
. Conversion of subtile position was originally correct.
2025-06-25 17:33:15 +00:00
translators
b3c96a7785
Update: Translations from eints
...
english (au): 4 changes by krysclarke
norwegian (bokmal): 4 changes by eriksorngard
chinese (traditional): 4 changes by KogentaSan
korean: 4 changes by telk5093
greek: 4 changes by gh658804
hungarian: 4 changes by vargaviktor
russian: 4 changes by Ln-Wolf
finnish: 4 changes by hpiirai
portuguese: 4 changes by jcteotonio
portuguese (brazilian): 4 changes by pasantoro
2025-06-25 04:42:43 +00:00
Peter Nelson
8f01ae675e
Revert 0853c1979b: Button to toggle showing advanced signal types ( #9617 ) ( #14219 )
2025-06-24 20:18:08 +02:00
Peter Nelson
a46a3a97f3
Change: New company face definition system and UI. ( #14319 )
...
Bits used by company faces are now defined by a variable system instead of being hardcoded, allowing future expansion.
The four face types covering gender and skin colour are now separate face styles with their own definitions.
2025-06-24 07:59:49 +01:00
translators
ebc74c8905
Update: Translations from eints
2025-06-24 04:43:09 +00:00
Jonathan G Rennison
e436b32468
Codechange: Remove now unused sprite cache memory error strings
2025-06-23 21:22:37 +01:00
Peter Nelson
7744f49a9e
Change: Simplify sprite cache memory management
...
* Remove custom allocator
* Use std::unique_ptr for sprite data
* Perform LRU cache eviction in a single pass
2025-06-23 21:22:37 +01:00
Peter Nelson
1d67094863
Add: Buttons to change picker preview image height. ( #14373 )
...
Adjusted height is remembered per picker type, but not saved.
2025-06-23 08:24:49 +01:00
Peter Nelson
8901f9adca
Fix #14361 : Removing a badge filter did not clear it. ( #14379 )
2025-06-23 08:24:03 +01:00
translators
c15568be5f
Update: Translations from eints
...
ukrainian: 20 changes by StepanIvasyn
latvian: 13 changes by lexuslatvia
2025-06-22 04:43:50 +00:00
Patric Stout
3571f77d46
Codechange: typo in GoG's workflow ( #14386 )
2025-06-21 09:25:39 +00:00
dependabot[bot]
1b2a3b0cb1
Upgrade: Bump Apple-Actions/import-codesign-certs in the actions group ( #13945 )
...
Bumps the actions group with 1 update: [Apple-Actions/import-codesign-certs](https://github.com/apple-actions/import-codesign-certs ).
Updates `Apple-Actions/import-codesign-certs` from 3 to 5
- [Release notes](https://github.com/apple-actions/import-codesign-certs/releases )
- [Commits](https://github.com/apple-actions/import-codesign-certs/compare/v3...v5 )
---
updated-dependencies:
- dependency-name: Apple-Actions/import-codesign-certs
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-21 09:18:32 +00:00
Peter Nelson
5766ba51d7
Codefix: Clean up incorrect indentation for multi-line comments. ( #14383 )
2025-06-20 19:01:44 +01:00
translators
a927925996
Update: Translations from eints
...
portuguese: 13 changes by jcteotonio
2025-06-20 04:42:53 +00:00
translators
de6e420917
Update: Translations from eints
...
ukrainian: 11 changes by StepanIvasyn
portuguese: 18 changes by jcteotonio
2025-06-19 04:43:06 +00:00
Adam Zmuda
9238f508eb
Fix #14081 : Check if removed item is a savegame ( #14371 )
2025-06-18 10:05:18 +02:00
translators
7aa4e7fc58
Update: Translations from eints
...
ukrainian: 12 changes by StepanIvasyn
portuguese: 8 changes by jcteotonio
2025-06-18 04:43:22 +00:00
Peter Nelson
c882ad5142
Fix: Allow object picker to resize if there are no classes. ( #14372 )
2025-06-17 19:04:34 +01:00
Peter Nelson
e4cf6ca0ba
Fix: Mis-sized widgets due to missing widget fill. ( #14370 )
...
In most places where we calculate and set widget resize step we neglect
to set widget fill step to match. Initial widget sizing uses fill step
instead of resize step, which means the initial size may not be a
multiple of the resize step as intended. In particular this will cause
WWT_MATRIX to be misrendered.
Whether or not this matters depends on the widget type being resized and
the window layout, however for consistency always set fill step to the
same as resize step when calculating.
2025-06-17 17:40:11 +01:00
Peter Nelson
4144865c73
Change: Tweak layout of music player widgets.
...
This removes some magic numbers and gets rid of spacers.
2025-06-17 08:54:08 +01:00
Peter Nelson
7ec78e94db
Fix: Don't include height of blank text in frame and inset widgets.
2025-06-17 08:54:08 +01:00
translators
dd826ea49c
Update: Translations from eints
...
spanish: 13 changes by Unely
portuguese: 30 changes by jcteotonio
2025-06-17 04:41:57 +00:00
Peter Nelson
009b68caeb
Codechange: Use toolbar minimal sizing with intro menu buttons. ( #14368 )
...
The intro menu buttons use toolbar icons, so use SetToolbarMinimalSize() on them for consistency.
2025-06-17 01:12:39 +01:00
Colin Caine
5f8e04457e
Codechange: Use default OnHotkey handler for focusing editboxes ( #14358 )
2025-06-16 22:25:54 +02:00
Henry
56bc391763
Codechange: Remove manual memory management of AIScannerInfo::info_dummy ( #14338 )
...
Co-authored-by: Henry Wilson <henry@henryandlizzy.uk>
2025-06-16 10:30:22 +01:00
translators
ea410cfe85
Update: Translations from eints
...
chinese (traditional): 4 changes by KogentaSan
chinese (simplified): 69 changes by WenSimEHRP
ukrainian: 57 changes by StepanIvasyn
portuguese: 35 changes by jcteotonio
2025-06-16 04:43:21 +00:00
Henry
c71515e790
Codechange: Remove manual memory management from CountArticulatedParts ( #14336 )
...
Co-authored-by: Henry Wilson <henry@henryandlizzy.uk>
2025-06-15 21:38:00 +01:00
Peter Nelson
cdd555edd5
Codechange: Use vector with unique_ptr instead of linked-list for base set lists. ( #14332 )
2025-06-15 21:32:29 +01:00
Michael Lutz
e163aab892
Fix: Train path reservations on different railtypes could join leading to train crashes. ( #14366 )
...
This could happen if the compatibility between the railtypes was not symmetric. If for
example a reservation of a first train ended at a railtype transition with an already present
reservation on the other side, a reversing train could end up crashing with the first train.
2025-06-15 22:09:04 +02:00
translators
98b488f366
Update: Translations from eints
...
chinese (traditional): 3 changes by KogentaSan
chinese (simplified): 108 changes by WenSimEHRP
ukrainian: 21 changes by StepanIvasyn
dutch: 9 changes by Afoklala
portuguese: 177 changes by jcteotonio
2025-06-15 04:42:32 +00:00
Loïc Guilloux
d0b56022d8
Fix #14362 , 4b677e8256: Class with non static methods may have a default constructor ( #14363 )
2025-06-14 23:39:22 +02:00
Peter Nelson
1cd0391926
Fix #14356 , ff7eb996e6: Incorrect sprite group chosen for stations and road stops. ( #14359 )
2025-06-14 13:38:45 +01:00
glx22
8e3acbfa84
Codechange: Deduplicate DefSQClass::DefSQ[Static]Method()
2025-06-14 12:41:39 +02:00
glx22
90e21bc713
Codechange: Remove useless SQConstruct parameters
2025-06-14 12:41:39 +02:00
glx22
4b677e8256
Codechange: Don't export default constructors
2025-06-14 12:41:39 +02:00
glx22
ccffbb4142
Codechange: Remove manual param count for constructors too
2025-06-14 12:41:39 +02:00
glx22
6d601e2eb1
Codechange: Use more descriptive variable names
2025-06-14 12:41:39 +02:00
translators
a1786fa1f4
Update: Translations from eints
...
norwegian (bokmal): 13 changes by eriksorngard
ukrainian: 28 changes by StepanIvasyn
portuguese: 16 changes by jcteotonio
polish: 1 change by pAter-exe
2025-06-13 04:42:21 +00:00
Jonathan G Rennison
d3e4e07daa
Codechange: Remove ReferenceThroughBaseContainer
2025-06-12 18:50:49 +01:00
Jonathan G Rennison
63f1c2aa3a
Codechange: Use TypedIndexContainer for typed index containers
...
Instead of ReferenceThroughBaseContainer
2025-06-12 18:50:49 +01:00
Jonathan G Rennison
d0e49a297f
Codechange: Add TypedIndexContainer adapter type
...
This is equivalent in functionality to ReferenceThroughBaseContainer,
except only for the correct index type, instead of any type matching
ConvertibleThroughBase.
The also serves to unambiguously document the index type at the
point of definition of the container.
2025-06-12 18:50:49 +01:00
Peter Nelson
401ebed03a
Add: Show and sort online content version in list. ( #14355 )
2025-06-12 18:27:16 +01:00
translators
b012d9e3dc
Update: Translations from eints
...
danish: 18 changes by bscargo
portuguese: 23 changes by jcteotonio
2025-06-12 04:42:39 +00:00
Peter Nelson
28cc0079f2
Codechange: Create ScriptAllocator with make_unique instead of new. ( #14340 )
2025-06-11 23:28:08 +01:00
Peter Nelson
b2d69ae606
Codechange: Use AutoRelease to simplify cleanup after FontConfig calls. ( #14354 )
2025-06-11 21:24:31 +01:00
Peter Nelson
9c16603da6
Codechange: Add AutoRelease helper to use function as unique_ptr deleter. ( #14353 )
...
This allows passing the function as a template parameter instead of requiring a custom deleter functor.
2025-06-11 20:13:49 +01:00