Tabytac
92a4ea5c6b
Merge branch 'master' of https://github.com/tabytac/OpenTTD into intro-date
2025-04-17 16:30:11 +01:00
Tabytac
e26052f920
Change: Remove network flags from vehicle preview and intro randomisation settings
2025-04-17 16:16:11 +01:00
Tabytac
314c27bf5a
Codechange: fix vehicle intro date logic
2025-04-17 16:16:11 +01:00
Tabytac
18e403aad1
Feature: Add setting to disable vehicle intro date randomisation
2025-04-17 16:16:11 +01:00
Tabytac
b6f7503c98
Feature: Add setting to disable vehicle previews
2025-04-17 16:16:11 +01:00
Tabytac
e849f81502
Merge branch 'master' into master
2025-04-17 15:52:10 +01:00
frosch
5aed046d11
Fix: [NewGRF] Strange things happened, when using the synchronised tile loop animation trigger for houses. ( #14011 )
2025-04-17 12:15:49 +02:00
Tabytac
558129efd5
Change: Remove network flags from vehicle preview and intro randomisation settings
2025-04-17 09:00:25 +01:00
Tabytac
703e9ac8ea
Codechange: fix vehicle intro date logic
2025-04-17 08:55:47 +01:00
Tabytac
5d061bf1f6
Merge branch 'master' of https://github.com/tabytac/OpenTTD into intro-date
2025-04-17 08:42:03 +01:00
Tabytac
b7c4d40303
Feature: Add setting to disable vehicle intro date randomisation
2025-04-17 08:41:57 +01:00
Tabytac
2c4181e39e
Feature: Add setting to disable vehicle previews
2025-04-17 08:41:29 +01:00
translators
421f202539
Update: Translations from eints
...
luxembourgish: 103 changes by phreeze83
latvian: 1 change by lexuslatvia
2025-04-17 04:45:26 +00:00
Peter Nelson
1f83ea41fc
Fix: [NewGRF] PrepareLayout worked on a copy of the data resulting in bad sprite layouts. ( #14013 )
2025-04-16 21:27:36 +00:00
Tabytac
324012593d
Add vehicle introduction randomisation setting and update logic
2025-04-16 20:15:26 +01:00
Tabytac
1d6aee07d6
Add vehicle preview offer setting and update vehicle introduction logic
2025-04-16 20:14:56 +01:00
Peter Nelson
378ea52ac6
Codechange: Use EnumBitSet for CzechChooseFlags.
2025-04-16 19:44:28 +01:00
Peter Nelson
ea0817390f
Codechange: Use EnumBitSet for CzechAllowFlags.
2025-04-16 19:44:28 +01:00
Peter Nelson
6ea10edef8
Codechange: Use std::unique_ptrs for handling station cargo display. ( #14009 )
...
Replaces manual management of raw pointers.
2025-04-16 19:43:45 +01:00
Peter Nelson
a281ac4674
Codefix: Information for NewGRF specs remained duplicated after loading.
...
After loading airports+tiles, industries+tiles, houses and objects, their specs are copied from the NewGRF's loading storage to the final global storage.
Instead, move the specs to the their new storage, and clear the NewGRF's storage once done. (Stations and RoadStops are different, and the NewGRF's storage is the final storage location.)
2025-04-16 19:43:07 +01:00
Peter Nelson
f9ab492e64
Codechange: Pass HouseSpec by reference to IsHouseSpecValid().
2025-04-16 19:43:07 +01:00
translators
b57f3262ec
Update: Translations from eints
...
spanish: 101 changes by MontyMontana
2025-04-16 04:44:48 +00:00
Peter Nelson
fa0814e257
Codefix: Codestyle consistency fixes. ( #14008 )
2025-04-15 20:57:13 +00:00
frosch
03ed59a004
Codechange: Turn AnimationStatus into an enum class.
2025-04-15 20:42:44 +02:00
frosch
47f0f4dd9e
Fix: [NewGRF] Animation speed properties of houses and stations had wrong default.
2025-04-15 20:42:44 +02:00
frosch
301b209b87
Fix: [NewGRF] Roadstop animation/randomisation was not triggered on vehicle arrival. ( #14003 )
2025-04-15 14:53:29 +02:00
translators
5fad689782
Update: Translations from eints
...
norwegian (bokmal): 1 change by eriksorngard
2025-04-15 04:44:48 +00:00
Peter Nelson
5008568dfc
Codechange: Rename CenterBounds to CentreBounds and move to geometry header. ( #14002 )
2025-04-14 23:55:40 +01:00
Michael Lutz
fc20ce301a
Doc: Missing changelog entry for 15.0-beta2. ( #14001 )
2025-04-14 18:50:02 +00:00
frosch
d2c9828b4c
Codechange: Move IsUtf8Part to only file using it.
2025-04-14 18:56:23 +02:00
frosch
588fedb5db
Codechange: Remove unused Utf8Consume, Utf8Decode, Utf8EncodedCharLen.
2025-04-14 18:56:23 +02:00
frosch
bf8a241f69
Codechange: Parse translation files using StringConsumer.
2025-04-14 18:10:14 +02:00
frosch
b27fd83ff1
Codechange: Parse translation strings using StringConsumer.
2025-04-14 18:10:14 +02:00
frosch
b81a35ea89
Codechange: Use StringConsumer and Builder in StrMakeValid and StrValid.
2025-04-14 18:07:23 +02:00
frosch
dc21fae18e
Codechange: Add InPlaceReplacement to couple StringConsumer and Builder on the same buffer.
2025-04-14 18:07:23 +02:00
frosch
f5ffd4789b
Codechange: Use StringConsumer in FormatString.
2025-04-14 16:57:41 +02:00
frosch
15a17d832f
Codechange: Use StringConsumer in HandleNewGRFStringControlCodes.
2025-04-14 16:57:41 +02:00
frosch
98efd3c96e
Codefix #13872 : Use StringConsumer in TranslateTTDPatchCodes.
2025-04-14 16:57:41 +02:00
John Taylor
069edc1a4b
Fix #13954 : Plotting graphs with limited data to the right. ( #13956 )
2025-04-14 16:57:07 +02:00
translators
3dacf46870
Update: Translations from eints
...
vietnamese: 7 changes by KhoiCanDev
2025-04-14 04:44:46 +00:00
Peter Nelson
d48bc18721
Codechange: Rename badge_class to class_index and badge_classes to gui_classes internally. ( #13995 )
...
These names are already used in some places, so this brings a bit of consistency.
2025-04-13 21:06:09 +01:00
frosch
131b7c7122
Codechange: Replace Utf8Decode usages with StringConsumer.
2025-04-13 21:59:10 +02:00
frosch
9bcd3feb17
Codechange: Make SQFile a buffered reader, based on StringConsumer.
2025-04-13 21:59:10 +02:00
frosch
3964d053b5
Codechange: Replace BufState with StringConsumer.
2025-04-13 21:59:10 +02:00
frosch
96eee0e8e4
Codechange: Base ByteReader on StringConsumer.
2025-04-13 21:59:10 +02:00
frosch
800d6e339d
Codechange: Add StringConsumer.
2025-04-13 21:59:10 +02:00
Peter Nelson
4721a1f93e
Fix: Don't display badges if the class has no name. ( #13994 )
...
Unnamed badges are intended to be for internal-use, not for player information.
Additionally if there is no name to the class, then is causes problems when user configuration comes.
2025-04-13 18:00:41 +01:00
rubidium42
369983846a
Update: Changelog for 15.0-beta2 ( #13738 )
...
Co-authored-by: Michael Lutz <michi@icosahedron.de>
2025-04-13 17:45:41 +02:00
frosch
7157e96664
Remove: Drop support for UCS2/UTF-16 encoded scripts. ( #13992 )
2025-04-13 15:52:01 +02:00
frosch
7f82b181da
Add #12939 : [NewGRF] Add road-/tram-/rail-type variable 0x45 to get mutual road-/tram-/rail-type on same tile. ( #13934 )
2025-04-13 13:23:10 +02:00