1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 20:49:11 +00:00

Commit Graph

  • 301b209b87 Fix: [NewGRF] Roadstop animation/randomisation was not triggered on vehicle arrival. (#14003) frosch 2025-04-15 14:53:29 +02:00
  • 5fad689782 Update: Translations from eints translators 2025-04-15 04:44:48 +00:00
  • 5008568dfc Codechange: Rename CenterBounds to CentreBounds and move to geometry header. (#14002) Peter Nelson 2025-04-14 23:55:40 +01:00
  • fc20ce301a Doc: Missing changelog entry for 15.0-beta2. (#14001) Michael Lutz 2025-04-14 20:50:02 +02:00
  • d2c9828b4c Codechange: Move IsUtf8Part to only file using it. frosch 2025-04-02 10:04:46 +02:00
  • 588fedb5db Codechange: Remove unused Utf8Consume, Utf8Decode, Utf8EncodedCharLen. frosch 2025-04-01 18:21:34 +02:00
  • bf8a241f69 Codechange: Parse translation files using StringConsumer. frosch 2025-03-31 17:32:05 +02:00
  • b27fd83ff1 Codechange: Parse translation strings using StringConsumer. frosch 2025-03-31 17:30:54 +02:00
  • b81a35ea89 Codechange: Use StringConsumer and Builder in StrMakeValid and StrValid. frosch 2025-04-01 19:14:30 +02:00
  • dc21fae18e Codechange: Add InPlaceReplacement to couple StringConsumer and Builder on the same buffer. frosch 2025-04-03 20:50:51 +02:00
  • f5ffd4789b Codechange: Use StringConsumer in FormatString. frosch 2025-03-28 17:38:11 +01:00
  • 15a17d832f Codechange: Use StringConsumer in HandleNewGRFStringControlCodes. frosch 2025-03-28 16:31:16 +01:00
  • 98efd3c96e Codefix #13872: Use StringConsumer in TranslateTTDPatchCodes. frosch 2025-03-28 16:18:24 +01:00
  • 069edc1a4b Fix #13954: Plotting graphs with limited data to the right. (#13956) John Taylor 2025-04-14 16:57:07 +02:00
  • 3dacf46870 Update: Translations from eints translators 2025-04-14 04:44:46 +00:00
  • d48bc18721 Codechange: Rename badge_class to class_index and badge_classes to gui_classes internally. (#13995) Peter Nelson 2025-04-13 21:06:09 +01:00
  • 131b7c7122 Codechange: Replace Utf8Decode usages with StringConsumer. frosch 2025-03-28 19:15:18 +01:00
  • 9bcd3feb17 Codechange: Make SQFile a buffered reader, based on StringConsumer. frosch 2025-03-27 22:10:47 +01:00
  • 3964d053b5 Codechange: Replace BufState with StringConsumer. frosch 2025-03-27 20:21:42 +01:00
  • 96eee0e8e4 Codechange: Base ByteReader on StringConsumer. frosch 2025-03-27 19:57:01 +01:00
  • 800d6e339d Codechange: Add StringConsumer. frosch 2025-03-27 18:15:56 +01:00
  • 4721a1f93e Fix: Don't display badges if the class has no name. (#13994) Peter Nelson 2025-04-13 18:00:41 +01:00
  • 369983846a Update: Changelog for 15.0-beta2 (#13738) 15.0-beta2 rubidium42 2025-04-13 17:45:41 +02:00
  • 7157e96664 Remove: Drop support for UCS2/UTF-16 encoded scripts. (#13992) frosch 2025-04-13 15:52:01 +02:00
  • 7f82b181da Add #12939: [NewGRF] Add road-/tram-/rail-type variable 0x45 to get mutual road-/tram-/rail-type on same tile. (#13934) frosch 2025-04-13 13:23:10 +02:00
  • 04c41bf731 Update: Translations from eints translators 2025-04-13 05:04:53 +00:00
  • a93087ec5c Fix #13980: Allow diagonal selection for road convert (#13983) Richard Wheeler 2025-04-12 18:50:11 +01:00
  • 319a657454 Fix 42fbcec76f: Fixed accidental changes to autorail/road AI behavior (#13968) Kuhnovic 2025-04-12 16:09:10 +02:00
  • 34b1f7a992 Fix: Make GrfMsg() behave like Debug() when not loading NewGRFs. (#13991) Peter Nelson 2025-04-12 13:05:33 +01:00
  • 1744156149 Change: Queue content ID information requests. (#13990) Peter Nelson 2025-04-12 12:50:36 +01:00
  • c29ef5cfc2 Update: Translations from eints translators 2025-04-12 04:44:34 +00:00
  • 3347919fb2 Codechange: Remove empty destructor and use member init for ClientNetworkContentSocketHandler. Peter Nelson 2025-04-11 21:19:42 +01:00
  • 20d83677eb Codechange: Use unique_ptr to manage ContentInfo lifetime. Peter Nelson 2025-04-10 08:34:59 +01:00
  • 7b31f26611 Codechange: Pass ContentInfo by reference. Peter Nelson 2025-04-10 07:37:28 +01:00
  • 1cfad1474a Codechange: Rename _cur to _cur_gps. frosch 2025-04-09 20:13:28 +02:00
  • e89be12ebb Codechange: Rename _library to _ft_library. frosch 2025-04-09 20:11:14 +02:00
  • b0d678e375 Codechange: Rename _ignore_restrictions to _ignore_industry_restrictions. frosch 2025-04-09 20:10:46 +02:00
  • c9c9973884 Codechange: Rename _circle_size to _setting_circle_size. frosch 2025-04-09 20:10:10 +02:00
  • 35cd05b27d Codechange: Rename _current_data to _current_gamestrings_data. frosch 2025-04-09 20:09:28 +02:00
  • ae51308615 Codechange: Remove unused extern declarations. frosch 2025-04-09 20:08:47 +02:00
  • e2ebf3a0f3 Codechange: Move global strgen state into a single struct. frosch 2025-03-31 16:28:29 +02:00
  • 786893a844 Fix: NewGRF Global variables 0D, 0E and 1E refer to wrong GRFFile. (#13986) Peter Nelson 2025-04-11 18:53:05 +01:00
  • eaa2afda5e Update: Translations from eints translators 2025-04-11 13:06:07 +00:00
  • cbbbf6cccc Update: Translations from eints translators 2025-04-11 04:46:01 +00:00
  • 413087df9d Codechange: Use small function to get check handler for content type. (#13988) Peter Nelson 2025-04-10 21:45:43 +01:00
  • 936d78fefc Codefix: Avoid uppercase characters in variable names. (#13985) Peter Nelson 2025-04-10 07:19:27 +01:00
  • 59aceee887 Update: Translations from eints translators 2025-04-10 04:47:16 +00:00
  • c982816c0e Codechange: Manage window viewport via unique_ptr. Peter Nelson 2025-03-27 18:48:15 +00:00
  • 8275bbfb87 Codechange: Pass Viewport by reference. Peter Nelson 2025-03-27 18:47:46 +00:00
  • 70b4beb8e7 Codechange: Return screenshot viewport instead of using out parameter. Peter Nelson 2025-03-27 18:36:24 +00:00
  • f57065dd41 Codefix: Avoid using override keyword as variable names. Peter Nelson 2025-04-09 08:50:15 +01:00
  • 91ab7f10cd Codefix: Avoid using override keyword as member name. Peter Nelson 2025-04-09 08:47:18 +01:00
  • 294f826364 Codechange: Replace last usage of Utf8CharLen with Utf8View. frosch 2025-04-04 21:43:46 +02:00
  • 9229956f04 Codechange: Replace strcasestr with StrContainsIgnoreCase. frosch 2025-04-04 21:42:45 +02:00
  • 14bab7d76b Codechange: Remove unused Utf8TrimString, Utf8PrevChar. frosch 2025-04-04 21:41:33 +02:00
  • b1582b815c Update: Translations from eints translators 2025-04-09 04:46:50 +00:00
  • 9dc751ed8a Codechange: Remove now unused Utf8Encode. frosch 2025-04-04 20:50:40 +02:00
  • fa284af263 Codechange: Replace remaining Utf8Encode usages with StringBuilder. frosch 2025-04-01 20:01:37 +02:00
  • 5878db1d02 Codechange: Replace strgen Buffer with StringBuilder. frosch 2025-03-30 17:46:42 +02:00
  • 9b87f306ca Fix: StringFilter included quotes in the search and failed. frosch 2025-04-04 20:32:43 +02:00
  • 1d879f3043 Codechange: Use StringBuilder to create the gender-scan-string. frosch 2025-04-04 20:15:55 +02:00
  • dd073eb38d Codechange: Use StringBuilder to create encoded strings. frosch 2025-04-04 20:08:25 +02:00
  • 128e0fcde2 Codechange: Use StringBuilder in TranslateTTDPatchCodes. frosch 2025-04-04 20:00:21 +02:00
  • ad8e9634ec Codechange: Generalize StringBuilder. frosch 2025-03-27 18:15:56 +01:00
  • f306f9726c Codechange: If modifying already written data in a StringBuilder, do this via the underlying std::string. frosch 2025-04-04 19:21:22 +02:00
  • c5a43e705c Codechange: Simplify Original English townname generator. frosch 2025-04-04 19:10:24 +02:00
  • 04246c530f Codechange: Use fmt::format instead of stringstream with iomanip flags. (#13964) frosch 2025-04-08 22:57:50 +02:00
  • 5b9d171e63 Codechange: Use EnumBitSet for StringValidationSettings. (#13974) Peter Nelson 2025-04-08 21:19:17 +01:00
  • 4e4f413913 Fix: Capitalise "Disabled" for the "maximum non-sticky open windows" setting. (#13975) Richard Wheeler 2025-04-07 18:33:09 +01:00
  • 3f2b58d6e1 Fix: Validate raw strings from game-scripts, and strip invalid and control characters. (#13976) frosch 2025-04-07 19:30:36 +02:00
  • 2cdf2bedfa Codechange: Add a std::string overload for StrMakeValidInPlace() and a moving std::string&& overload for StrMakeValid(). (#13962) frosch 2025-04-07 18:22:47 +02:00
  • 981b2a94db Codechange: Store loaded GRFFiles in vector directly. (#13940) Peter Nelson 2025-04-06 20:16:57 +01:00
  • 49ce7fe169 Fix 8846f347f2: Check bridge/tunnel transport type before querying road type (#13969) Loïc Guilloux 2025-04-06 15:01:23 +02:00
  • bc78efeec1 Update: Translations from eints translators 2025-04-06 04:48:09 +00:00
  • 2a47afad89 Fix d94d421772: Frame widget with label had incorrect spacing. (#13967) Peter Nelson 2025-04-05 19:12:42 +01:00
  • 5e1dc081ee Update: Translations from eints translators 2025-04-05 04:43:45 +00:00
  • 68fd949a52 Fix 44984f8410: Changing ownership of a tunnel/bridge did not check for road transport type. (#13963) Peter Nelson 2025-04-04 18:11:19 +01:00
  • 4310d7c7f5 Fix: [Script] Only run the Game::GameLoop() in-game (#13896) SamuXarick 2025-04-04 16:29:48 +01:00
  • 4bd72e4a78 Fix #11528: Starting autorail dragging from existing track tiles resulted in adding non-continuous tracks. (#13885) Kuhnovic 2025-04-04 17:21:04 +02:00
  • f35fa6679b Change: [Script] Start GS (but don't run it) when generating world in scenario editor (#13961) Loïc Guilloux 2025-04-04 12:52:02 +02:00
  • 8846f347f2 Fix: MayHaveRoad claimed rail station tiles had road, so the custom stationspec index would be read as roadtype. (#13949) frosch 2025-04-04 11:49:10 +02:00
  • cedc511324 Fix: Numbers were left-aligned for RTL languages in several windows. (#13959) frosch 2025-04-04 11:48:50 +02:00
  • 44984f8410 Codechange: Remove broken and unused StrMakeValidInPlace overload. (#13960) frosch 2025-04-04 11:48:32 +02:00
  • 1befa1ccb0 Update: Translations from eints translators 2025-04-04 04:46:26 +00:00
  • 7c1649d524 Fix #13955: Make graphs respect RTL (#13957) John Taylor 2025-04-03 21:17:34 +02:00
  • b25daba561 Fix: [Script] Reset instance when changing running scripts in scenario editor (#13906) Loïc Guilloux 2025-04-03 21:14:45 +02:00
  • 20805ba84b Codechange: Use EncodeUtf8 and DecodeUtf8 directly, when dealing with a single character. frosch 2025-04-02 16:18:41 +02:00
  • f640daee4c Codechange: No need for Utf8Consume and Utf8Encode, if only ASCII characters are checked. frosch 2025-04-02 16:17:49 +02:00
  • f06bfc0dad Codechange: Use Utf8View to const-iterate over strings, if no particular error handling is needed. frosch 2025-04-02 16:16:14 +02:00
  • 22ab0244d8 Codechange: Use Utf8View in Textbuf. frosch 2025-04-01 18:17:37 +02:00
  • f19e75b606 Codechange: Use Utf8View in Utf8StringLength. frosch 2025-04-01 18:21:03 +02:00
  • 83401ad5e2 Codechange: Use Utf8View::iterator in StringIterator. frosch 2025-04-01 14:58:16 +02:00
  • b19e43ae99 Add: Utf8View and iterator. frosch 2025-04-01 14:41:39 +02:00
  • e6a0cf75a9 Codechange: Shift suffixes between _name_czech_adj and _name_czech_patmod to simplify code. frosch 2025-04-02 13:14:54 +02:00
  • d8333fe3d7 Codechange: Czech town names unconditionally removed the last codepoint in _name_czech_adj; already do this in the source table. frosch 2025-04-02 13:11:51 +02:00
  • 86bb30acbe Codefix dccc6185: Incorrect encoding of empty parameters in ScriptText. (#13951) frosch 2025-04-03 13:57:30 +02:00
  • 061b5630ee Codefix: Conversion from char to char32_t requires cast to unsigned first. (#13950) frosch 2025-04-03 13:56:50 +02:00
  • ced8fd9936 Fix: Reference to the correct section of the README, if a graphics or a sound set is incomplete. (#13946) stormcone 2025-04-03 13:40:16 +02:00
  • bd7cda8271 Revert f719fa678f: [CI] The fix is now implemented at vcpkg level (#13942) Loïc Guilloux 2025-04-03 12:54:56 +02:00
  • 33a8c1c6fc Codechange: Use default operator<=> to compare Linkgraph Hop. (#13944) Peter Nelson 2025-04-02 23:00:06 +01:00