Commit Graph

51386 Commits

Author SHA1 Message Date
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
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
Jonathan G Rennison
9003ef7d11 When reversing train, ensure that loading is aborted if necessary 2021-07-27 18:06:44 +01: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
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
Jonathan G Rennison
6a009686c9 Fix #299: Add estimated max speed (full) to template windows 2021-07-17 23:21:12 +01:00
Jonathan G Rennison
502af119e5 Rename and move train max speed estimation functions 2021-07-17 23:06:34 +01:00
Jonathan G Rennison
d01cfa8c08 Update template vehicle properties when freight multiplier or accel model changed 2021-07-17 22:50:26 +01:00
Jonathan G Rennison
8c9dd75b5b Fix #301: Network server local company change on load did not update network state 2021-07-17 21:30:05 +01:00
Jonathan G Rennison
2fc35aed2f Fix #300: Toggling auto separation does not redraw sched dispatch enable button 2021-07-17 21:02:05 +01:00
Jonathan G Rennison
4174fe727c Add NewGRF feature: Extra station name strings
These are used when all the default names have been used up,
instead of "Town Station #NNN".
2021-07-17 20:54:10 +01:00
Jonathan G Rennison
d23720cc60 Fix server crash when client joined during threaded (auto)save 2021-07-13 02:09:35 +01:00
Jonathan G Rennison
2b4741b97d Fix station ratings tooltip in right click mode
See: #298
2021-07-12 18:43:10 +01:00
Jonathan G Rennison
f9f83df92d Change dedicated debug level to net=3 2021-07-12 18:32:08 +01:00
Jonathan G Rennison
cb421294bb Network: Log sent packets at net=5 2021-07-12 18:24:31 +01:00
Jonathan G Rennison
b29a661787 Version: Committing version data for tag: jgrpp-0.42.2 2021-07-09 18:17:13 +01:00
Jonathan G Rennison
0d80b4450d Fix engine selection from click in new train purchase window
See: #287, #296, #297
2021-07-09 18:14:43 +01:00
Jonathan G Rennison
f9bb004b05 Temporarily mark dual pane train purchase window as experimental
See: #287, #296, #297
2021-07-09 18:12:55 +01:00
Jonathan G Rennison
4de802762d Version: Committing version data for tag: jgrpp-0.42.1 2021-07-09 01:26:57 +01:00
Jonathan G Rennison
44e9a746b7 Fix sorting by TE being always disabled in new train purchase window 2021-07-06 19:51:32 +01:00
Jonathan G Rennison
d027b70575 Fix 5230ff5e: wagon/logo sort and filter saved state mixup 2021-07-05 20:20:59 +01:00
Jonathan G Rennison
727e7543dc Show unowned roads in viewport map owner mode 2021-07-05 17:31:42 +01:00
Jonathan G Rennison
5230ff5e8d Fix crashes and wrong vehicle info in dual pane train purchase window
Reduce code duplication/redundancy
2021-07-05 17:24:21 +01:00
Jonathan G Rennison
ca6741bfb4 Version: Committing version data for tag: jgrpp-0.42.0 2021-07-04 15:05:17 +01:00
Jonathan G Rennison
d24f24cfcc Merge pull request #295 from telk5093/jgrpp
Update: Korean translation
2021-07-04 15:04:11 +01:00
TELK
9dcc6f770c Update: Korean translation up to 158608442c 2021-07-04 22:00:06 +09:00
TELK
34e30766a3 Update: Korean translation up to 0f73fe765f 2021-07-04 22:00:06 +09:00
TELK
25e2e79bcc Update: Korean translation up to 0773dde669 2021-07-04 22:00:06 +09:00
TELK
757f140286 Update: Korean translation for drag_drop_group_name 2021-07-04 22:00:06 +09:00
TELK
2892bdde2e Update: Korean translation for 9d4d72cd1e 2021-07-04 22:00:06 +09:00
Jonathan G Rennison
f90d7662d8 Increase verbosity of station docking mismatch check in CheckCaches 2021-07-03 23:16:57 +01:00
Jonathan G Rennison
158608442c Merge pull request #281 from VacuumBreather/train_speed_adaptation
# Conflicts:
#	src/saveload/extended_ver_sl.cpp
#	src/saveload/extended_ver_sl.h
2021-07-03 23:00:25 +01:00
Jonathan G Rennison
9edc13b889 Make sure setting set correctly on loading existing saves 2021-07-03 22:56:17 +01:00
Jonathan G Rennison
fb4e10626e Make look ahead distance vaiable with speed, within a reasonable range 2021-07-03 22:50:43 +01:00
Jonathan G Rennison
b23ba0c6c0 Fix founding towns not filling the nearby station cache, causing desyncs
See: https://github.com/OpenTTD/OpenTTD/issues/9407
2021-06-30 17:30:08 +01:00
Jonathan G Rennison
587039daba Use CMD_LOG_AUX for all goal/story related commands 2021-06-30 17:14:27 +01:00
Jonathan G Rennison
232cfee8b5 Fix house placing picking wrong town when placing outside town enabled 2021-06-30 17:14:05 +01:00
Jonathan G Rennison
1ef18caa9a Show town window debug button in scenario editor 2021-06-30 17:13:29 +01:00
Jonathan G Rennison
98e2cb2e3e Open routing restriction window on ctrl-click of any non-prog signal
See: #294
2021-06-30 17:10:08 +01:00
Jonathan G Rennison
0f73fe765f Merge pull request #293 from VacuumBreather/station_cargo_history
Add station cargo history
2021-06-29 19:53:18 +01:00
Jonathan G Rennison
b438380a1e Add station cargo history save/load support 2021-06-29 19:37:20 +01:00