Commit Graph

53610 Commits

Author SHA1 Message Date
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
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
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
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
Jonathan G Rennison
aba8e88d8c Enable loading of upstream savegames up to version 302 2022-11-02 18:46:24 +00: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
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
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
Jonathan G Rennison
0f852c32d6 Merge PR #444 into jgrpp 2022-10-28 20:14:35 +01:00
Jonathan G Rennison
a70efbac03 Merge pull request #445 from telk5093/jgrpp
Update: Korean translation up to 0.49.0
2022-10-28 20:12:28 +01:00
TELK
e564aa81c4 Update: Korean translation up to 0.49.0 2022-10-28 20:05:25 +09:00
pvillaverde
5ee7e35a52 [Feat] Updated Galician translations up to v0.49.0 2022-10-28 08:48:58 +02:00
Jonathan G Rennison
41b9d74280 Version: Committing version data for tag: jgrpp-0.49.0 2022-10-28 00:10:39 +01:00
Jonathan G Rennison
23ef1364d0 Revert "Disable OSX touchbar support, fixes #358"
This reverts commit 29126619a3.
2022-10-27 23:49:12 +01:00
translators
b0fd51a5ef Update: Translations from eints
korean: 1 change by telk5093
german: 5 changes by MagnumSociety
2022-10-27 18:57:01 +00:00
Jonathan G Rennison
bf82ace0c5 Debug: Dump full contents of tile layout sprite groups
Fix parent/child type of register dumping
2022-10-26 23:33:44 +01:00
Jonathan G Rennison
f41624d7b2 VarAction2: Fix parent/child type of sprite register analysis 2022-10-26 23:33:44 +01:00
Tyler Trahan
9feebe72ca Fix a394be2: Spell Maintenance correctly (#10097)
(cherry picked from commit 1e3e30c096)
2022-10-26 21:43:57 +01:00
translators
bfa155eb06 Update: Translations from eints
frisian: 91 changes by Bouke
dutch: 3 changes by Bouke
french: 9 changes by glx22
2022-10-25 19:25:45 +00:00
Artin Alavi
dd44f2139e Fix c536bde: Remove problematic inline specifier (#10109) 2022-10-25 04:41:27 +02:00
translators
845174914d Update: Translations from eints
frisian: 8 changes by Bouke
english (us): 1 change by 2TallTyler
dutch: 7 changes by Bouke
polish: 5 changes by pAter-exe
2022-10-24 19:08:45 +00:00
Jonathan G Rennison
5135e03539 Order window: Add button to toggle order management button 2022-10-24 18:52:23 +01:00
Jonathan G Rennison
c9fd160b7b Change show_order_management_button setting to default off 2022-10-24 18:23:51 +01:00
Loïc Guilloux
0afa6f2424 Codechange: [CMake] Auto-fill list of #include in script_window.hpp (#10103) 2022-10-24 12:35:58 +02:00
Jonathan G Rennison
a8361cd608 Allow overriding town settings on a per-town basis
Add a setting for whether this is allowed for non-privileged
multiplayer clients
2022-10-23 22:07:51 +01:00
Jonathan G Rennison
e1defedb2a Remove colour filter assert from FontState::PopColour 2022-10-23 22:01:24 +01:00
translators
4052feef1f Update: Translations from eints
english (au): 1 change by krysclarke
english (us): 1 change by 2TallTyler
russian: 1 change by Ln-Wolf
portuguese: 1 change by azulcosta
polish: 3 changes by pAter-exe
2022-10-23 18:58:18 +00:00
PeterN
b04298f131 Fix #9087: NewGRF invalidation calls ReInitAllWindows with wrong parameter. (#10102) 2022-10-23 14:21:10 +01:00
Michael Lutz
3a11a2ed0e Fix a9a21e78: Depots aren't really stations. 2022-10-23 14:03:38 +02:00
Tyler Trahan
1e3e30c096 Fix a394be2: Spell Maintenance correctly (#10097) 2022-10-23 13:01:36 +01:00
Peter Nelson
ef8322ba25 Change: Add panel widget to waypoint GUI. 2022-10-23 00:07:15 +01:00
translators
e7a16f4514 Update: Translations from eints
english (au): 3 changes by krysclarke
vietnamese: 7 changes by KhoiCanDev
catalan: 7 changes by J0anJosep
2022-10-22 18:58:11 +00:00
Jonathan G Rennison
e6e9a0c2f3 Show cost/income float over end tile of rail or road construction 2022-10-22 19:56:41 +01:00
Jonathan G Rennison
ff0b3ca9be Merge branch 'master' into jgrpp
# Conflicts:
#	src/landscape.cpp
2022-10-22 19:55:03 +01:00
Artin Alavi
c536bde19e Fix #8252: Remove duplicate functionality in screenshot.cpp 2022-10-22 20:51:02 +02:00
Nicolas Chappe
721d98a7d0 Feature: Constantly update destination of 'any depot' orders 2022-10-22 14:19:08 +02:00
Nicolas Chappe
a4052ca348 Codechange: Add VehicleOrderSaver::Restore() 2022-10-22 14:19:08 +02:00
Nicolas Chappe
7e7d943526 Codechange: [YAPF] Allow to retrieve the final tile of the calculated path 2022-10-22 14:19:08 +02:00
Nicolas Chappe
227626b0b7 Change: [YAPF] All compatible depots are targets for 'any depot' orders 2022-10-22 14:19:08 +02:00
Nicolas Chappe
a9a21e784d Codechange: Always set the ODATFB_NEAREST_DEPOT flag for 'any depot' orders 2022-10-22 14:19:08 +02:00