From 53ff9d1f9f72b0fb9a5a5a2ba2240c0a21bb0717 Mon Sep 17 00:00:00 2001 From: dP Date: Mon, 19 Feb 2024 04:42:45 +0530 Subject: [PATCH] Update to 14.0-RC1 --- .changelog | 40 + .github/PULL_REQUEST_TEMPLATE.md | 10 + .ottdrev | 2 +- .release_date | 2 +- .version | 2 +- CODINGSTYLE.md | 67 +- changelog.txt | 45 + cmake/scripts/Regression.cmake | 9 +- regression/regression/main.nut | 1 + regression/regression/result.txt | 18 +- regression/stationlist/result.txt | 1 + src/ai/ai.hpp | 4 +- src/ai/ai_config.cpp | 5 + src/ai/ai_core.cpp | 23 +- src/ai/ai_instance.cpp | 2 +- src/autoreplace_cmd.cpp | 16 +- src/cargo_type.h | 4 + src/clear_cmd.cpp | 4 +- src/company_base.h | 1 + src/company_cmd.cpp | 13 +- src/company_gui.cpp | 5 +- src/console_cmds.cpp | 5 + src/core/math_func.hpp | 13 + src/core/pool_func.hpp | 40 +- src/core/pool_type.hpp | 4 + src/currency.cpp | 94 +- src/currency.h | 5 +- src/disaster_vehicle.cpp | 35 +- src/economy.cpp | 2 +- src/fileio.cpp | 5 +- src/game/game.hpp | 4 +- src/game/game_core.cpp | 4 +- src/gfx.cpp | 73 +- src/industry_cmd.cpp | 11 +- src/industry_gui.cpp | 75 +- src/landscape.cpp | 2 + src/lang/afrikaans.txt | 11 +- src/lang/arabic_egypt.txt | 124 +- src/lang/basque.txt | 11 +- src/lang/belarusian.txt | 11 +- src/lang/brazilian_portuguese.txt | 3662 ++++++++--------- src/lang/bulgarian.txt | 243 +- src/lang/catalan.txt | 423 +- src/lang/chuvash.txt | 7 +- src/lang/croatian.txt | 11 +- src/lang/czech.txt | 560 ++- src/lang/danish.txt | 146 +- src/lang/dutch.txt | 230 +- src/lang/english.txt | 54 +- src/lang/english_AU.txt | 32 +- src/lang/english_US.txt | 28 +- src/lang/esperanto.txt | 217 +- src/lang/estonian.txt | 191 +- src/lang/faroese.txt | 11 +- src/lang/finnish.txt | 62 +- src/lang/french.txt | 28 +- src/lang/frisian.txt | 9 +- src/lang/gaelic.txt | 11 +- src/lang/galician.txt | 531 ++- src/lang/german.txt | 472 ++- src/lang/greek.txt | 11 +- src/lang/hebrew.txt | 34 +- src/lang/hindi.txt | 91 +- src/lang/hungarian.txt | 144 +- src/lang/icelandic.txt | 11 +- src/lang/ido.txt | 7 +- src/lang/indonesian.txt | 93 +- src/lang/irish.txt | 11 +- src/lang/italian.txt | 272 +- src/lang/japanese.txt | 11 +- src/lang/korean.txt | 40 +- src/lang/latin.txt | 11 +- src/lang/latvian.txt | 28 +- src/lang/lithuanian.txt | 11 +- src/lang/luxembourgish.txt | 780 +++- src/lang/macedonian.txt | 9 +- src/lang/malay.txt | 11 +- src/lang/maltese.txt | 6 +- src/lang/marathi.txt | 7 +- src/lang/norwegian_bokmal.txt | 11 +- src/lang/norwegian_nynorsk.txt | 11 +- src/lang/persian.txt | 11 +- src/lang/polish.txt | 482 ++- src/lang/portuguese.txt | 361 +- src/lang/romanian.txt | 465 ++- src/lang/russian.txt | 107 +- src/lang/serbian.txt | 11 +- src/lang/simplified_chinese.txt | 26 +- src/lang/slovak.txt | 11 +- src/lang/slovenian.txt | 11 +- src/lang/spanish.txt | 578 +-- src/lang/spanish_MX.txt | 44 +- src/lang/swedish.txt | 642 ++- src/lang/tamil.txt | 527 ++- src/lang/thai.txt | 11 +- src/lang/traditional_chinese.txt | 11 +- src/lang/turkish.txt | 519 ++- src/lang/ukrainian.txt | 137 +- src/lang/urdu.txt | 11 +- src/lang/vietnamese.txt | 333 +- src/lang/welsh.txt | 321 +- src/language.h | 29 +- src/network/core/http_curl.cpp | 2 +- src/network/core/http_winhttp.cpp | 2 +- src/network/network_admin.cpp | 9 +- src/network/network_admin.h | 2 +- src/network/network_client.cpp | 3 + src/network/network_content.cpp | 15 +- src/network/network_content.h | 1 + src/network/network_content_gui.cpp | 2 +- src/network/network_server.cpp | 4 - src/newgrf.cpp | 7 +- src/newgrf_roadstop.cpp | 11 +- src/newgrf_roadstop.h | 4 +- src/order_cmd.cpp | 5 +- src/order_gui.cpp | 15 +- src/os/macosx/font_osx.cpp | 3 +- src/pathfinder/npf/npf.cpp | 6 +- src/pathfinder/water_regions.cpp | 6 +- src/pathfinder/water_regions.h | 1 + src/pathfinder/yapf/yapf_ship.cpp | 36 +- src/pathfinder/yapf/yapf_ship_regions.cpp | 1 + src/rail_cmd.cpp | 4 +- src/rail_gui.cpp | 4 +- src/rev.cpp.in | 4 +- src/road_gui.cpp | 47 +- src/roadveh.h | 2 + src/saveload/CMakeLists.txt | 1 + src/saveload/afterload.cpp | 6 +- src/saveload/ai_sl.cpp | 79 +- src/saveload/compat/game_sl_compat.h | 2 +- src/saveload/compat/settings_sl_compat.h | 6 +- src/saveload/game_sl.cpp | 7 +- src/saveload/randomizer_sl.cpp | 51 + src/saveload/saveload.cpp | 17 +- src/saveload/saveload.h | 27 +- src/saveload/vehicle_sl.cpp | 18 + src/script/api/ai_changelog.hpp | 1 + src/script/api/game_changelog.hpp | 1 + src/script/api/script_airport.cpp | 7 + src/script/api/script_airport.hpp | 8 + src/script/api/script_group.cpp | 5 +- src/script/api/script_group.hpp | 4 +- src/script/script_config.cpp | 13 +- src/script/script_config.hpp | 11 +- src/script/script_gui.cpp | 9 +- src/settings.cpp | 14 +- src/settings_gui.cpp | 21 +- src/settings_table.cpp | 25 + src/settings_type.h | 8 +- src/station.cpp | 1 + src/station_cmd.cpp | 4 + src/station_gui.cpp | 221 +- src/strgen/strgen.cpp | 22 +- src/strgen/strgen_base.cpp | 116 +- src/strings.cpp | 135 +- src/subsidy_gui.cpp | 22 +- src/table/settings/currency_settings.ini | 6 - src/table/settings/gui_settings.ini | 26 + src/table/settings/locale_settings.ini | 30 +- .../settings/network_private_settings.ini | 6 - src/table/settings/old_gameopt_settings.ini | 1 - src/toolbar_gui.cpp | 8 +- src/vehicle.cpp | 4 +- src/vehicle_func.h | 2 +- src/video/cocoa/cocoa_ogl.h | 2 +- src/video/cocoa/cocoa_v.h | 2 +- src/video/cocoa/cocoa_v.mm | 3 +- src/video/sdl2_opengl_v.h | 2 +- src/video/sdl2_v.h | 2 +- src/video/video_driver.cpp | 4 +- src/video/video_driver.hpp | 6 +- src/video/win32_v.h | 4 +- src/water_cmd.cpp | 5 +- src/widget.cpp | 7 + src/widget_type.h | 2 + src/widgets/dropdown.cpp | 34 +- src/widgets/dropdown_type.h | 6 +- src/widgets/road_widget.h | 1 + src/widgets/settings_widget.h | 2 - src/widgets/station_widget.h | 5 +- src/window.cpp | 8 +- src/window_gui.h | 1 + 183 files changed, 9531 insertions(+), 5695 deletions(-) create mode 100644 src/saveload/randomizer_sl.cpp diff --git a/.changelog b/.changelog index 1b121c6267..6555999508 100644 --- a/.changelog +++ b/.changelog @@ -1,3 +1,43 @@ +14.0-RC1 (2024-02-18) +------------------------------------------------------------------------ +Feature: Fully user configurable number format and abbreviations (#11993) +Add: Show cargo icons on subsidy list window (#12079) +Add: [Script] GetAirportNumHelipads (#12085) +Change: Show 6 or 2 orientation buttons in NewGRF road stop picker as appropriate (#12090) +Change: Show cargo icons on Industry View window (#12071) +Change: Improve performance of finding free pool slots (#12055) +Change: Draw north-side farm fences/hedges/walls on tile edge, instead of 1/16th in (#12048) +Change: When adding orders, Ctrl+Click on a depot to unbunch, instead of service if required (#12023) +Change: Store running AI config inside Company (#12003) +Change: Show speed before destination in vehicle status bar (#11932) +Change: Replace long list of cargo filter buttons with a multi-select dropdown list (#11552) +Change: [Script] Use company randomizer when adding random deviation (#12065) +Fix #12074: Don't allow "part" command for dedicated servers (#12075) +Fix #12052: NewGRFs clearing industry cargo slots could fallback to default instead of empty (#12053) +Fix #12050: Add default size, shade and pin control buttons to company livery widget (#12080) +Fix #12041: Tarball extraction failing due to incorrect filename (#12044) +Fix #12037: Blurry OpenTTD font on Mac OS (#12047) +Fix #12029: Don't show Sandbox Options in multiplayer (#12032) +Fix #12024: Autoreplace failed news message for trains must go to lead engine (#12025) +Fix #12022: Adjust economy date when changing timekeeping units in Scenario Editor (#12042) +Fix #12020: Unbunch and service if needed should be mutually exclusive depot order types (#12021) +Fix #12019: Correctly highlight depot unbunch action in dropdown (#12021) +Fix #12014: Remove water when area clearing ship depot (#12030) +Fix #11840: Ship pathfinder always returns a valid trackdir if one is available (#12031) +Fix #10983: [AdminPort] Correct order of messages (#11140) +Fix #10405: [Script] Test engine and vehicle type validity for ScriptGroup::GetNumEngines (#11887) +Fix #10079: Don't render at 1000fps if HW acceleration + vsync is requested but not active (#12067) +Fix: Shadows of individual character glyphs could be drawn over other characters (#12115) +Fix: Don't invalidate station list on vehicle load/unload (#12112) +Fix: NewGRF roadstops were ignored if only in default class (#12089) +Fix: Visually also disable vsync when not using HW acceleration (#12066) +Fix: Industry tiles and houses could accept incorrect cargo types (#12062) +Fix: Redraw orders when a station feature is added/removed (#12061) +Fix: For content service, fallback to TCP downloads when HTTP stalls (#12056) +Fix: Don't issue autoreplace failed news message for command test mode (#12026) +Remove: Setting "no_http_content_downloads" (#12058) + + 14.0-beta3 (2024-02-06) ------------------------------------------------------------------------ Add: [Script] ScriptTileList_StationCoverage to get station coverage area (#12015) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index a492089f0b..c4bf40139b 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,3 +1,13 @@ + + ## Motivation / Problem