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
Peter Nelson
ff7eb996e6
Codechange: Use variable storage for GrfProps with cargo-type groups. ( #13557 )
...
Slots are only allocated when used instead of being reserved.
Array-based GrfProps are still used when the number of options is more limited.
2025-02-14 18:30:17 +00:00
Rubidium
4fe3f0ccdd
Codechange: simplify management of temporary Engine in saveload
2025-02-14 18:35:12 +01:00
Rubidium
069ff846e4
Codechange: use std::vector/std::span for DrawTileSprites over malloc-ed table
2025-02-14 16:01:45 +01:00
Peter Nelson
6cf7a899e9
Codechange: Use EnumBitSet for PauseMode. ( #13553 )
2025-02-14 08:30:04 +00:00
translators
3518d7e0f1
Update: Translations from eints
...
chinese (traditional): 4 changes by KogentaSan
2025-02-14 04:42:55 +00:00
merni-ns
b678e5ddd1
Fix #12925 : Prevent cost estimates for settings changes
2025-02-14 04:36:24 +01:00
Peter Nelson
20e57a02a2
Codechange: Use GetString() with argument parameters in simple cases. ( #13551 )
...
Avoids using global string parameters.
2025-02-14 00:10:56 +00:00
Rubidium
c3d5e6d2a0
Codechange: Use EnumBitSet for DoCommandFlags
2025-02-14 00:28:57 +01:00
Peter Nelson
f309b90a1d
Codechange: Use EnumBitSet for Airport blocks.
2025-02-13 22:02:02 +00:00
Peter Nelson
9049710051
Codechange: Allow (Re)setting a range of values in a BaseBitSet.
2025-02-13 22:02:02 +00:00
Peter Nelson
f0777737af
Fix #13459 , Fix #13546 : Crash when changing NewGRFs in game with picker window open.
2025-02-13 21:07:37 +00:00
Peter Nelson
71dafdb21e
Codechange: Use EnumBitSet for picker window invalidation flags.
2025-02-13 21:07:37 +00:00
Peter Nelson
75387b9e2b
Codechange: Use EnumBitSet for StationFacility.
2025-02-13 18:03:13 +00:00
Peter Nelson
8d38308ebb
Codechange: Allow ConvertibleThroughBase to be used as One/ManyOfManySetting.
2025-02-13 18:03:13 +00:00
Peter Nelson
7975145080
Codechange: Use EnumBitSet for TownActions. ( #13542 )
2025-02-13 18:02:39 +00:00
Loïc Guilloux
b2c5712319
Fix: [Script] Improve type checking of parameters ( #13522 )
2025-02-13 13:46:21 +01:00
Loïc Guilloux
dc311d7c38
Fix: [Script] Report errors happening during 'Load()' ( #13537 )
2025-02-13 12:41:39 +01:00
translators
47fca6d8e6
Update: Translations from eints
...
spanish (mexican): 1 change by absay
2025-02-13 04:44:12 +00:00
Jonathan G Rennison
d06b371254
Cleanup: Fix various spelling errors
2025-02-12 22:44:51 +01:00
Jonathan G Rennison
4d0682d034
Fix 1d04d402
: Inverted visibility state in SettingsPage::UpdateFilterState ( #13543 )
2025-02-12 21:34:59 +00:00
Loïc Guilloux
ad24779661
Codefix: [CMake] Debug libs of Ogg, Opus and OpusFile were used for release with multi-config generators ( #13539 )
2025-02-12 18:51:29 +01:00
translators
3bbc80f1d9
Update: Translations from eints
...
norwegian (bokmal): 23 changes by eriksorngard
spanish (mexican): 1 change by absay
korean: 14 changes by telk5093
catalan: 13 changes by J0anJosep
2025-02-12 04:43:37 +00:00
Peter Nelson
1d04d4027a
Codechange: Use EnumBitSet for SettingEntryFlags. ( #13534 )
2025-02-11 22:18:06 +00:00
Peter Nelson
0d5708ba86
Codechange: Use EnumBitSet for AirportFTAClass::Flags ( #13535 )
2025-02-11 21:49:18 +00:00
Peter Nelson
9cdf740097
Codechange: Use ProviderManager to define screenshot generators. ( #13526 )
2025-02-11 21:38:20 +00:00
Jonathan G Rennison
23dc393822
Codechange: Compile fmt internals in a separate translation unit ( #13527 )
...
Instead of defining FMT_HEADER_ONLY to include fmt internals
in the headers included by all fmt-using translation units.
2025-02-11 20:11:50 +01:00
Rubidium
cf05b6c2f8
Codefix: remove unused set/process_compile_flags from CMake system
2025-02-11 20:01:01 +01:00
Peter Nelson
984da2455b
Codechange: Use EncodedString for Query window. ( #13528 )
...
This removes the need to separately capture and store global parameters.
2025-02-11 17:30:16 +00:00
translators
08e451e6d9
Update: Translations from eints
...
english (au): 14 changes by krysclarke
chinese (traditional): 14 changes by KogentaSan
english (us): 14 changes by 2TallTyler
vietnamese: 3 changes by KhoiCanDev
greek: 14 changes by gh658804
russian: 16 changes by Ln-Wolf
finnish: 14 changes by hpiirai
portuguese: 14 changes by azulcosta
portuguese (brazilian): 15 changes by pasantoro
polish: 12 changes by pAter-exe
2025-02-11 04:43:06 +00:00
Peter Nelson
7c1898eaf1
Codechange: Store EncodedString for text effects.
...
This replaces capturing and storing string parameters.
2025-02-10 22:49:14 +00:00
Peter Nelson
2cb9f55183
Codechange: Store EncodedString for tooltip text.
...
This replaces capturing and storing string parameters.
2025-02-10 22:49:14 +00:00
Peter Nelson
1f21e9dc74
Codechange: String parameter encoding for regular strings.
...
This allows a string and its parameters to be encoded and stored as just one string, instead of juggling with capturing and restoring string parameters.
The advantage of EncodedStrings over raw strings is they use current language and parameter values at the point of decoding.
2025-02-10 22:49:14 +00:00
Peter Nelson
4010313180
Codechange: String parameters can now be explicitly not initialised.
...
As the visitor is now more complex this requires an unspecialised GetNextParameter() to avoid it being repeated for each return type.
2025-02-10 22:49:14 +00:00
Peter Nelson
0c0e7606d9
Codechange: Use unique_ptr for UDP client/server sockets handlers. ( #13524 )
2025-02-10 22:41:56 +00:00
Peter Nelson
e80992fc47
Codefix: Change method to take const pointer instead of using const_cast. ( #13525 )
2025-02-10 22:10:36 +00:00
Loïc Guilloux
7fbfaa1b54
Fix #13520 : [Script] doxygen ignored 'constexpr' constants ( #13523 )
2025-02-10 23:05:31 +01:00
Peter Nelson
687829fa14
Codechange: Use std::unique_ptr for ScriptList::sorter. ( #13517 )
...
Avoids manual pointer management.
2025-02-10 19:20:52 +00:00
translators
faadf00a6a
Update: Translations from eints
...
czech: 25 changes by JakMel
2025-02-10 04:45:03 +00:00
Rubidium
77bf3084da
Codefix f60b3d7f79
: compilation failure using GCC-12
2025-02-09 22:51:02 +01:00
Rubidium
37c215f1fd
Fix #13513 , ec492cb267
: std::numeric_limits<CompanyMask> not working causes no vehicles to exist
...
std::numeric_limits<T>::max() returns 0 instead of an error when the type is unknown.
Solve it by implementing and using Set() and All() in BaseBitSet in same way as std::bitset.
2025-02-09 22:50:55 +01:00
Tyler Trahan
521b860394
Feature: Prevent towns from upgrading individually-placed houses ( #13270 )
2025-02-09 20:37:06 +00:00
Peter Nelson
1ed685b5c1
Codechange: Use EnumBitSet.Any(). ( #13512 )
2025-02-09 20:16:16 +00:00