Jonathan G Rennison
4dc741a8a0
Fix #10011 : Incorrect infrastructure totals when overbuilding bay road stop ( #10143 )
...
Fix https://github.com/OpenTTD/OpenTTD/issues/10011
2022-11-06 16:46:11 +01:00
Jonathan G Rennison
8090bbf713
Documentation: Fix error in roadstop_draw_mode bit table
2022-11-06 15:20:00 +00:00
Loïc Guilloux
c294e8b19f
Codechange: [MinGW] use pe-bigobj-x86-64 format for x64 debug builds ( #10142 )
2022-11-06 11:24:35 +01:00
Jonathan G Rennison
6459e62fff
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/lang/english.txt
# src/map_type.h
# src/network/network_command.cpp
# src/object_cmd.cpp
# src/rail_cmd.cpp
# src/road_cmd.cpp
# src/road_func.h
# src/saveload/afterload.cpp
# src/saveload/saveload.h
# src/settings_gui.cpp
# src/string.cpp
# src/table/road_land.h
# src/table/settings/game_settings.ini
# src/table/settings/world_settings.ini
# src/tbtr_template_gui_main.h
# src/train_cmd.cpp
2022-11-05 19:24:44 +00:00
Jonathan G Rennison
0bf1c9bb9d
Merge tag '13.0-beta1' into jgrpp
2022-11-05 19:12:42 +00:00
Nicolas Chappe
a43a1902bb
Feature: [Linkgraph] Prioritize faster routes for passengers, mail and express cargo
...
Passengers usually prefer fast paths to short paths.
Average travel times of links are updated in real-time for use in Dijkstra's algorithm,
and newer travel times weigh more, just like capacities.
(cherry picked from commit 977604ef08
)
2022-11-05 19:07:35 +00:00
Tyler Trahan
0172eb39a2
Fix #10135 : Cost of building multiple objects might not match test ( #10137 )
2022-11-05 14:46:44 -04:00
Tyler Trahan
c719ba560e
Fix 03cc0d6: Mark level crossings dirty when removing road from them, not from bridges ( #10138 )
2022-11-05 14:46:19 -04:00
Jonathan G Rennison
1518c2fa1e
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/depot_type.h
# src/lang/german.txt
# src/order_gui.cpp
# src/pathfinder/yapf/yapf_rail.cpp
# src/script/api/script_window.hpp.in
# src/settings_table.cpp
# src/train_cmd.cpp
2022-11-05 17:19:00 +00:00
frosch
fea6a34684
Codechange: SetDParamStr borrows contents from std::string::c_str(). Prevent calling it with temporaries. ( #10136 )
2022-11-05 17:14:10 +01:00
krysclarke
21cea308f9
Codechange: Move Sound Driver parameter name listings ( #10127 )
2022-11-05 15:42:20 +01:00
Jonathan G Rennison
3b3c9c1c3a
Fix #10129 : Use after free in GRFLoadConfig invalid GRF error path ( #10130 )
2022-11-05 15:17:18 +01:00
translators
d48a48b2cf
Update: Translations from eints
...
russian: 16 changes by Ln-Wolf
dutch: 16 changes by Afoklala
2022-11-04 18:52:05 +00:00
PeterN
f24286a1ae
Fix: Ensure 31-bit shifts are unsigned. ( #10128 )
...
Shifting a signed 32-bit integer by 31 bits is undefined behaviour.
A few more than necessary are switched to unsigned for consistentency.
2022-11-04 07:15:59 +00:00
Jonathan G Rennison
1f27ece49b
VarAction2: Fix wrong bit used for industry tile anim callback mask
2022-11-03 20:23:50 +00:00
Jonathan G Rennison
ba3bc73676
VarAction2: Fix memory leak of inlinable adjust groups
2022-11-03 20:23:31 +00:00
Jonathan G Rennison
51b39b68b7
VarAction2: Fix technical undefined behaviour advancing iterator
...
Fixes error when using debug mode containers
2022-11-03 19:54:53 +00:00
Jonathan G Rennison
f4ff9c1d82
strgen: Exit early in LanguageFileWriter::Write if length is 0
...
Avoids warnings about passing a nullptr to fwrite
2022-11-03 19:18:07 +00:00
Jonathan G Rennison
fb67adbd82
Fix assert macro on Apple/clang when using default cmake build
2022-11-03 19:00:25 +00:00
Jonathan G Rennison
9abc6f9aec
Comment out additional include of <cassert>
...
Reapplies part of 22c3a010
2022-11-03 18:58:24 +00:00
translators
accbfd502e
Update: Translations from eints
...
english (au): 16 changes by krysclarke
english (us): 16 changes by 2TallTyler
korean: 14 changes by telk5093
hungarian: 15 changes by PstasDev
french: 18 changes by glx22
portuguese: 16 changes by azulcosta
polish: 22 changes by pAter-exe
2022-11-03 18:55:35 +00:00
Jonathan G Rennison
206a853a7f
Fix WITH_FULL_ASSERTS being defined when all asserts disabled
2022-11-03 18:41:04 +00:00
Jonathan G Rennison
4b08874583
Only show edge level crossing overlays even when safer crossings is off
2022-11-03 00:57:47 +00:00
Jonathan G Rennison
49bda05fb5
Set adjacent crossings setting to false when loading pre v300 trunk savegames
2022-11-03 00:57:47 +00:00
Jonathan G Rennison
652d6c8181
Crashlog: Windows: Handle negative address offsets from BFD symbol
2022-11-03 00:57:47 +00:00
Jonathan G Rennison
60ed858707
Fix handling of printf format specifiers on MinGW
...
See: #446
2022-11-03 00:57:47 +00:00
hallonsoda79
0d51460f27
Fix #10023 : Allow negative input in text fields when needed ( #10112 )
2022-11-02 20:54:07 +01:00
translators
71663bbaee
Update: Translations from eints
...
hungarian: 11 changes by PstasDev
2022-11-02 18:53:51 +00:00
Jonathan G Rennison
aba8e88d8c
Enable loading of upstream savegames up to version 302
2022-11-02 18:46:24 +00:00
Rubidium
648cd1076b
Update: other language files after string renames
2022-11-02 17:58:44 +01:00
Rubidium
d5aafaee15
Codechange: rename and move some strings to make them more consistent with the rest of the strings
2022-11-02 17:58:44 +01:00
PeterN
4031894aef
Cleanup: Remove svn-style $Id$
comments. ( #10122 )
2022-11-01 18:24:31 -06:00
Michael Lutz
35d9cea487
Fix: Too many braces make old gcc sad. ( #10116 )
2022-11-02 00:53:44 +01:00
frosch
aa06b73137
Codechange: Use positional parameters in the base language either for all or for no parameters. ( #10111 )
...
This should make it less confusing to translators.
2022-11-01 22:22:04 +01:00
Tyler Trahan
c19abebf8d
Feature: Multi-track level crossings ( #9931 )
2022-11-01 16:51:23 -04:00
Tyler Trahan
c65a2799c9
Fix #10117 : Decrement object burst limit after build check
2022-11-01 13:58:52 -06:00
Jonathan G Rennison
94de25ec10
Fix changing town zone settings not updating town zone radii
...
This could cause MP desyncs
2022-11-01 18:17:27 +00:00
Michael Lutz
c4e655b1d4
Remove: [Actions] Ubuntu Bionic and Debian Buster from release workflow. ( #10115 )
2022-10-31 22:37:01 +01:00
Michael Lutz
ac7780af96
Doc: Prepare for 13.0-beta1 release
2022-10-31 21:57:51 +01:00
Michael Lutz
b9635c4712
Doc: Forwardport changelog & doc changes from 12.x branch
2022-10-31 21:57:51 +01:00
Jonathan G Rennison
95a646d09b
Fix #449 : Town setting override not being allowed for MP admins
...
When the setting to enable for clients was not enabled
2022-10-31 18:59:08 +00:00
translators
36084684ba
Update: Translations from eints
...
vietnamese: 1 change by KhoiCanDev
2022-10-31 18:56:54 +00:00
translators
bf8dc7b157
Update: Translations from eints
...
frisian: 60 changes by Bouke
tamil: 9 changes by merni-ns
2022-10-30 18:50:24 +00:00
Jonathan G Rennison
0f697c5501
CheckNextTrainTile should never take action for OT_WAITING orders
2022-10-30 14:11:03 +00:00
Jonathan G Rennison
6ac311d71e
Debug: Show type of current order in vehicle debug info
2022-10-30 14:09:50 +00:00
translators
191ea087eb
Update: Translations from eints
...
frisian: 9 changes by Bouke
2022-10-29 18:49:26 +00:00
Nicolas Chappe
8bf56f39f2
Fix #9708 : [Linkgraph] Don't assume vehicles have a non-zero max speed
2022-10-29 18:39:03 +02:00
Nicolas Chappe
f8a7b76675
Fix #9665 : [Linkgraph] Fix travel times of non-direct journeys
2022-10-29 18:39:03 +02:00
Nicolas Chappe
c5369caa45
Fix: [Linkgraph] possible rounding errors for travel times of low-capacity links
2022-10-29 18:39:03 +02:00
Nicolas Chappe
25b3ff6423
Cleanup: simplify LinkRefresher::RefreshStats
2022-10-29 18:39:03 +02:00