SamuXarick
76b8343777
Fix #9392 : Return a valid value with GetBuildWithRefitCapacity when AIs are maxed out in vehicles ( #9393 )
2021-08-11 19:21:34 +02:00
Michael Lutz
b14681891d
Fix 8706dcd9
: [Script] Byte-swap grfids to match normal expectations.
2021-08-10 21:35:17 +02:00
translators
580dd118cb
Update: Translations from eints
2021-08-10 18:56:17 +00:00
Patric Stout
4c1ea4020d
Change: remove the ability to control "max spectators" ( #9466 )
...
Soon we will make "join game" join the game as spectator first,
so limiting the amount of spectators makes no sense anymore in
that context. Not sure it ever did make sense.
2021-08-10 20:03:13 +02:00
Loïc Guilloux
8a083cd7f8
Fix 68f2213
: Don't use GetPoolSize() for end of pool iterator ( #9461 )
2021-08-10 19:03:15 +02:00
Loïc Guilloux
4eb368c786
Fix 14f197c
: [Script] int64 values don't fit into int ( #9465 )
2021-08-10 19:00:54 +02:00
Michael Lutz
8706dcd9c1
Add: [Script] Basic information about loaded NewGRFs for scripts. ( #9464 )
...
Currently, scripts use various heuristics to detect loaded NewGRFs that are inherently unreliable.
The list of loaded NewGRFs is easily accessible to a human player, and thus giving
scripts the same information is consistent with the current approach to not give scripts
more information than a human player.
2021-08-09 23:34:50 +02:00
translators
d58772ecda
Update: Translations from eints
...
vietnamese: 28 changes by KhoiCanDev
2021-08-07 18:49:22 +00:00
translators
2dd46b964a
Update: Translations from eints
...
latvian: 13 changes by osprinkis
2021-08-05 18:56:58 +00:00
Jonathan G Rennison
be4c2be35b
Version: Committing version data for tag: jgrpp-0.42.3
2021-08-04 22:49:18 +01:00
Jonathan G Rennison
8113b4bdbf
Fix build issues on MinGW
2021-08-04 22:46:56 +01:00
Jonathan G Rennison
b65b4d558e
Documentation: Fix anchor tag for Action 0 - Global Settings
2021-08-04 21:30:27 +01:00
translators
b681935fc8
Update: Translations from eints
...
norwegian (bokmal): 28 changes by Anolitt
2021-08-04 19:00:04 +00:00
Jonathan G Rennison
3e7fdaf609
Documentation: Fix text for railtype_disable_realistic_braking
2021-08-04 19:37:57 +01:00
Rubidium
9f4a71335d
Fix 11ab3c4
: [NewGRF] Overflow when determining cargo mask for string code 9A 1E
...
9A 1E: Print unsigned word as name of a cargo type (translated for GRF version >= 7).
(cherry picked from commit 1c0c4637d2
)
2021-08-04 17:49:23 +01:00
Rubidium
230866ca3e
Fix #9440 : negative cargo payments not being handled right
...
Cargo payments were stored as unsigned integer, but cast to int64 during
application of inflation. However, then being multiplied with a uint64
making the result uint64. So in the end the payment that should have been
negative becomes hugely positive.
(cherry picked from commit d83647f9a7
)
2021-08-04 17:49:23 +01:00
Jonathan G Rennison
e76c5dfda7
Revert "Temporarily mark dual pane train purchase window as experimental"
...
This reverts commit f9bb004b05
.
2021-08-04 17:49:23 +01:00
Jonathan G Rennison
d2dc9fe3d4
Use ID as sort tie-breaker in TimetableProgress comparison
2021-08-04 17:49:23 +01:00
Jonathan G Rennison
4d99c501b3
Add defensive checks to DrawVehiclePurchaseInfo
2021-08-04 17:24:10 +01:00
translators
1838726985
Update: Translations from eints
...
french: 12 changes by glx22
2021-08-02 18:51:35 +00:00
Rubidium
d83647f9a7
Fix #9440 : negative cargo payments not being handled right
...
Cargo payments were stored as unsigned integer, but cast to int64 during
application of inflation. However, then being multiplied with a uint64
making the result uint64. So in the end the payment that should have been
negative becomes hugely positive.
2021-08-02 20:44:53 +02:00
dP
c1d79398d5
Fix: Use of unstable sort when distributing cargo production can cause desyncs
2021-08-01 07:43:49 +02:00
dP
9176fe5f64
Fix: Use of unstable sort when distributing cargo production can cause desyncs
...
(cherry picked from commit 4ed694fe98b146d984826d06b96e0c11045239bc)
See: https://github.com/OpenTTD/OpenTTD/pull/9460
2021-08-01 00:21:41 +01:00
translators
6fce05689c
Update: Translations from eints
...
portuguese (brazilian): 6 changes by Vimerum
2021-07-31 18:51:38 +00:00
translators
8380ff8dd0
Update: Translations from eints
...
dutch: 13 changes by Afoklala
2021-07-30 18:53:15 +00:00
translators
9df60a2759
Update: Translations from eints
...
slovak: 39 changes by ApplePie420
2021-07-29 18:53:22 +00:00
translators
dea999566d
Update: Translations from eints
...
finnish: 14 changes by hpiirai
2021-07-28 18:52:35 +00:00
translators
476c039332
Update: Translations from eints
...
german: 10 changes by Wuzzy2
2021-07-27 18:51:08 +00:00
Jonathan G Rennison
9003ef7d11
When reversing train, ensure that loading is aborted if necessary
2021-07-27 18:06:44 +01:00
translators
d17e4f7d29
Update: Translations from eints
...
german: 4 changes by danidoedel
romanian: 23 changes by ALEX11BR
portuguese (brazilian): 6 changes by jpsl00
2021-07-26 18:51:36 +00:00
Jonathan G Rennison
2135aa2ae8
Fix false positive desync log message for powered free wagon chains
2021-07-26 18:08:56 +01:00
Rubidium
1c8f4bfaef
Fix #9388 : thread unsafe use of NetworkAdminConsole/IConsolePrint
...
(cherry picked from commit d7a0e80fc18b689455eaca09883fccbcc722d7e3)
# Conflicts:
# src/debug.cpp
# src/debug.h
# src/table/settings/gui_settings.ini
See: https://github.com/OpenTTD/OpenTTD/pull/9456
2021-07-26 17:55:19 +01:00
Jonathan G Rennison
63d8f3bdd7
Revert "Fix thread safety issues in network admin socket console logging"
...
This reverts commit ad15d4fd8f
.
2021-07-26 14:35:46 +01:00
translators
7409e6fea1
Update: Translations from eints
...
romanian: 17 changes by ALEX11BR
2021-07-25 18:50:47 +00:00
translators
cab212258f
Update: Translations from eints
...
swedish: 9 changes by joeax910
russian: 1 change by Ln-Wolf
2021-07-24 18:52:09 +00:00
translators
333de9f15d
Update: Translations from eints
...
russian: 9 changes by Ln-Wolf
catalan: 25 changes by J0anJosep
2021-07-23 18:52:46 +00:00
Jonathan G Rennison
71dfd2900a
Add depot order flag for specific depot
...
Use upper half of order flags for extra depot flags
See: #302
2021-07-23 18:33:24 +01:00
Jonathan G Rennison
fd0cb63963
Fix send vehicle to specific depot allowing incompatible rail types
2021-07-23 18:12:20 +01:00
Jonathan G Rennison
382955396f
Fix send vehicle to specific depot allowing incompatible road/tram types
...
See: #302
2021-07-23 18:06:15 +01:00
translators
72737a91f3
Update: Translations from eints
...
spanish (mexican): 13 changes by absay
2021-07-22 18:53:58 +00:00
Rubidium
ba29edb0b3
Cleanup: remove some references to the old master-server
2021-07-21 22:28:51 +02:00
Patric Stout
9cc706847c
Fix: crash when joining a server again after a TCP disconnect ( #9453 )
...
"my_client" wasn't always free'd when a game ended. "my_client"
keeps a reference inside the PT_NCLIENT pool. The rest of the
code assumes that when you are not in a game, it can freely
reset this pool.
In result: several ways to trigger a use-after-free.
2021-07-21 21:55:30 +02:00
translators
99d0d9be6b
Update: Translations from eints
...
english (us): 15 changes by 2TallTyler
korean: 12 changes by telk5093
russian: 3 changes by Ln-Wolf
portuguese: 12 changes by azulcosta
polish: 98 changes by pAter-exe
2021-07-21 18:51:59 +00:00
Charles Pigott
6c33b4ed28
Fix #8335 : Race condition in music mixer ( #9450 )
2021-07-21 10:32:33 +01:00
translators
dd54e4c835
Update: Translations from eints
...
swedish: 1 change by joeax910
romanian: 36 changes by ALEX11BR
2021-07-20 18:51:39 +00:00
Patric Stout
fa1e27994d
Feature: allow the use of TURN to connect client and server together
...
TURN is a last resort, used only if all other methods failed.
TURN is a relay approach to connect client and server together, where
openttd.org (by default) is the middleman.
It is very unlikely either the client or server cannot connect to
the STUN server, as they are both already connected to the Game
Coordinator. But in the odd case it does fail, estabilishing the
connection fails without any further possibility to recover.
2021-07-20 19:57:23 +02:00
Patric Stout
8a36134003
Fix: [Network] rework when to close connections and inform Game Coordinator if needed
2021-07-20 19:57:23 +02:00
Charles Pigott
f1dfc2f482
Codechange: Make OverflowSafeInt constexpr
2021-07-20 10:42:03 +01:00
Charles Pigott
549a58731f
Codechange: Remove (unused) ability to specify min/max of OverflowSafeInt
2021-07-20 10:42:03 +01:00
Charles Pigott
e6e2a67aa1
Codechange: Use GCC/clang builtins for overflow safety when supported
2021-07-20 10:42:03 +01:00