Loïc Guilloux
a4a7240511
Change: Allow all tiles around docks to be docking tiles ( #9578 )
...
(cherry picked from commit 38a64eb2aa
)
2021-10-31 13:25:26 +00:00
Loïc Guilloux
a84feb3444
Fix 39e90ec
: Integers for scripts are 64bit, but saved as 32bit ( #9415 )
...
(cherry picked from commit ddafc0de05
)
2021-10-31 10:04:06 +00:00
Jonathan G Rennison
fb8020916a
Add upstream savegame version fields
2021-10-31 09:47:42 +00:00
Jonathan G Rennison
5ec1573ccd
Add separate max load savegame version, set savegame version values
2021-10-31 09:46:02 +00:00
Jonathan G Rennison
61cc60099a
Merge branch 'jgrpp' into jgrpp-beta
...
# Conflicts:
# src/network/core/packet.cpp
# src/network/core/udp.cpp
2021-10-29 22:22:54 +01:00
Jonathan G Rennison
6bc3481931
Fix MinGW compilation issues
2021-10-29 21:18:19 +01:00
Jonathan G Rennison
5586d1a20a
Remove use of deprecated allocator rebind in cpp-btree
2021-10-29 21:12:16 +01:00
Jonathan G Rennison
9540d42427
Fix cast warning in GUIHouseList
...
See: #307
2021-10-29 20:36:15 +01:00
Jonathan G Rennison
4a57625183
Avoid cast warnings in network packet handling
...
See: #307
2021-10-29 20:31:28 +01:00
Jonathan G Rennison
6ba53a9a68
Add ifdef around 32 bit length limit check in SlSetLength
2021-10-29 20:28:03 +01:00
Jonathan G Rennison
1d89fe3820
Add casts around engine property checks in GetEngineProperty
2021-10-29 20:27:12 +01:00
Jonathan G Rennison
d2e757db9a
Set field size for PropertyID enum
2021-10-29 20:11:01 +01:00
Jonathan G Rennison
86e1f58bc0
Avoid unused variable warning when not using threads
...
See: #307
2021-10-29 20:10:39 +01:00
Jonathan G Rennison
0842621653
Remove unused _network_udp_mutex
...
See: #307
2021-10-29 20:05:16 +01:00
Jonathan G Rennison
8a7cb10813
Fix incorrect cast/colour operation in screenshot GetIndustryValue
...
See: #307
2021-10-29 20:03:29 +01:00
translators
ccf70fc4b3
Update: Translations from eints
...
dutch: 2 changes by Afoklala
2021-10-29 18:49:23 +00:00
Jonathan G Rennison
24c6dfe872
Merge branch 'master' into jgrpp-beta
2021-10-29 17:56:32 +01:00
TELK
afe7824270
Update: Korean translation up to aff6dbec2d
2021-10-29 19:16:09 +09:00
TELK
ed1c0c70ea
Update: Korean translation up to 9254be5
2021-10-29 19:16:09 +09:00
TELK
7b12d23e4f
Update: Korean translation
2021-10-29 19:16:09 +09:00
Jonathan G Rennison
da282c3ecc
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# .github/workflows/ci-build.yml
# CMakeLists.txt
# src/lang/finnish.txt
# src/lang/french.txt
# src/lang/korean.txt
# src/lang/norwegian_bokmal.txt
# src/lang/russian.txt
# src/lang/spanish.txt
# src/misc_gui.cpp
# src/newgrf.cpp
2021-10-28 23:51:24 +01:00
translators
edf7b02ddb
Update: Translations from eints
...
german: 2 changes by Wuzzy2
2021-10-28 18:48:40 +00:00
Jonathan G Rennison
81290df946
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# src/lang/spanish.txt
# src/network/core/tcp_content_type.h
# src/network/network_content.cpp
# src/saveload/cheat_sl.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload.h
# src/saveload/station_sl.cpp
# src/saveload/vehicle_sl.cpp
# src/settings.cpp
# src/settings_internal.h
# src/table/settings.h.preamble
# src/table/settings/company_settings.ini
# src/table/settings/currency_settings.ini
# src/table/settings/gameopt_settings.ini
# src/table/settings/misc_settings.ini
# src/table/settings/settings.ini
# src/table/settings/win32_settings.ini
# src/table/settings/window_settings.ini
2021-10-28 01:07:51 +01:00
translators
488cf26406
Update: Translations from eints
...
swedish: 44 changes by joeax910
japanese: 1 change by clzls
chinese (simplified): 2 changes by clzls
2021-10-27 18:50:25 +00:00
Jonathan G Rennison
aff6dbec2d
Show timetabled 0 wait times for stations/depots in timetable window
2021-10-27 00:24:26 +01:00
Jonathan G Rennison
53139c2405
Add current day/month to tracerestrict and conditional order conditionals
2021-10-26 23:39:40 +01:00
translators
4487ad1a5e
Update: Translations from eints
...
korean: 1 change by telk5093
polish: 2 changes by pAter-exe
2021-10-25 18:49:13 +00:00
Jonathan G Rennison
ffef1c9e44
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# src/saveload/cargopacket_sl.cpp
# src/saveload/cheat_sl.cpp
# src/saveload/company_sl.cpp
# src/saveload/engine_sl.cpp
# src/saveload/map_sl.cpp
# src/saveload/order_sl.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload.h
# src/saveload/station_sl.cpp
# src/saveload/vehicle_sl.cpp
# src/settings.cpp
# src/settings_gui.cpp
# src/settings_internal.h
# src/stdafx.h
# src/table/settings/settings.ini
# src/town_cmd.cpp
# src/vehicle.cpp
2021-10-25 18:10:15 +01:00
Jonathan G Rennison
944f090b46
Add settings for minimum contiguous landmass size for town/city placement
2021-10-25 00:30:25 +01:00
Jonathan G Rennison
55620ff162
Add general function for checking size of contiguous tile area
2021-10-25 00:29:51 +01:00
translators
a0831cec39
Update: Translations from eints
...
swedish: 1 change by joeax910
2021-10-24 18:46:47 +00:00
Jonathan G Rennison
8b5b96af77
Fix typos in PostProcessNetworks
2021-10-24 13:33:02 +01:00
Jonathan G Rennison
28fd549808
Decline company takeover offer on company's behalf if company has no client
2021-10-24 12:23:52 +01:00
Jonathan G Rennison
296987153b
Add console command to offer a company for sale
2021-10-24 00:11:51 +01:00
Jonathan G Rennison
ec8512e2ea
When declining to buy a company, ask the next company immediately
2021-10-24 00:07:54 +01:00
translators
279fe11b03
Update: Translations from eints
...
indonesian: 2 changes by hadyatmo
2021-10-23 18:47:57 +00:00
frosch
e8bff0ad03
Change: Suppress panning in intro game, while user is interacting with the GUI. ( #9645 )
2021-10-23 15:13:39 +02:00
frosch
111a47af0d
Codechange: rename 'info_view' to 'rotor_in_gui', because it is only used by helicopters.
2021-10-23 14:45:08 +02:00
frosch
bc984d9af5
Codechange: remove redundant 'info_view' parameter, it can be derived from 'image_type'.
2021-10-23 14:45:08 +02:00
translators
bf0210229c
Update: Translations from eints
...
english (us): 2 changes by 2TallTyler
vietnamese: 2 changes by KhoiCanDev
catalan: 2 changes by J0anJosep
portuguese (brazilian): 2 changes by Vimerum
2021-10-22 18:53:01 +00:00
Joan Josep
b2e83b4da6
Fix: Draw rotor in cursor when dragging helicopters. ( #9612 )
2021-10-22 19:39:47 +02:00
Loïc Guilloux
08c048e0a1
Fix #9643 , 95386dc
: Incorrect determination of screenshot format ( #9644 )
2021-10-22 16:34:48 +02:00
translators
ae340f415e
Update: Translations from eints
...
russian: 2 changes by Ln-Wolf
2021-10-21 18:47:48 +00:00
Loïc Guilloux
f2c03a77f0
Change: Don't store not to be activated newGRFs in savegames ( #9627 )
2021-10-20 22:14:23 +02:00
Loïc Guilloux
bc1b84cbbb
Fix #9630 : intro game could zoom in/out more than allowed by settings ( #9633 )
...
Also fixes #9622
2021-10-20 22:08:08 +02:00
translators
b043d58b92
Update: Translations from eints
...
swedish: 4 changes by joeax910
spanish: 1 change by MontyMontana
2021-10-20 18:49:34 +00:00
Loïc Guilloux
eed49d7792
Fix #9626 , ddafc0d
: Incorrect loading of script saved data ( #9629 )
2021-10-20 12:23:16 +02:00
translators
e68a51eced
Update: Translations from eints
...
korean: 3 changes by telk5093
french: 2 changes by glx22
portuguese: 2 changes by azulcosta
2021-10-19 18:47:37 +00:00
glx22
1c0700e0c0
Fix #9624 : compilation with RANDOM_DEBUG
2021-10-19 09:05:00 +01:00
Jonathan G Rennison
a9c2c7288a
Fix compilation when ENABLE_NETWORK_SYNC_EVERY_FRAME is defined
...
This is set by RANDOM_DEBUG
See also: https://github.com/OpenTTD/OpenTTD/issues/9624
2021-10-19 00:50:05 +01:00
Jonathan G Rennison
b58ff65c5c
Debug: Fix company money state checksum being logged with wrong company
2021-10-19 00:39:41 +01:00
Jonathan G Rennison
4a1e347f8e
Fix desync when using "perfect" tree placement mode in arctic climate
2021-10-19 00:38:57 +01:00
translators
6289b4dd81
Update: Translations from eints
...
greek: 2 changes by dionisis84
russian: 1 change by Ln-Wolf
finnish: 2 changes by hpiirai
tamil: 88 changes by Aswn
2021-10-18 18:48:12 +00:00
Jonathan G Rennison
544da99102
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# src/cargopacket.h
# src/lang/korean.txt
# src/linkgraph/linkgraph.h
# src/linkgraph/linkgraphjob.h
# src/linkgraph/linkgraphschedule.h
# src/network/network_admin.h
# src/network/network_func.h
# src/network/network_server.cpp
# src/network/network_server.h
# src/order_base.h
# src/rail_cmd.cpp
# src/saveload/company_sl.cpp
# src/saveload/depot_sl.cpp
# src/saveload/economy_sl.cpp
# src/saveload/linkgraph_sl.cpp
# src/saveload/map_sl.cpp
# src/saveload/newgrf_sl.cpp
# src/saveload/order_sl.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload.h
# src/saveload/signs_sl.cpp
# src/saveload/station_sl.cpp
# src/saveload/subsidy_sl.cpp
# src/saveload/town_sl.cpp
# src/saveload/vehicle_sl.cpp
# src/script/api/script_object.cpp
# src/settings.cpp
# src/string.cpp
# src/string_func.h
# src/table/CMakeLists.txt
# src/table/settings/settings.ini
# src/viewport_sprite_sorter_sse4.cpp
2021-10-18 18:01:27 +01:00
Charles Pigott
53e17d07d2
Fix #9595 : Always use plural forms of cargo for subsidy strings ( #9619 )
2021-10-18 09:43:14 +01:00
Jonathan G Rennison
406b81abb1
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# src/economy.cpp
# src/lang/traditional_chinese.txt
# src/order_gui.cpp
# src/settings.cpp
# src/settings_internal.h
# src/table/company_settings.ini
# src/table/currency_settings.ini
# src/table/gameopt_settings.ini
# src/table/misc_settings.ini
# src/table/settings.h.preamble
# src/table/settings.ini
# src/table/win32_settings.ini
# src/table/window_settings.ini
2021-10-18 00:43:50 +01:00
Jonathan G Rennison
784fcbd1e7
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# src/settings.cpp
# src/settings_gui.cpp
# src/settings_internal.h
# src/table/currency_settings.ini
# src/table/gameopt_settings.ini
# src/table/misc_settings.ini
# src/table/settings.h.preamble
2021-10-17 22:55:50 +01:00
Charles Pigott
86c295bb3b
Change: Ignore refresh_rate setting when vsync is enabled
2021-10-17 19:25:03 +01:00
Charles Pigott
e09f251fc6
Fix #9614 : Refresh rate dropdown was still active when vsync was enabled
2021-10-17 19:25:03 +01:00
Charles Pigott
0853c1979b
Feature: Button to toggle showing advanced signal types ( #9617 )
2021-10-17 19:24:50 +01:00
Charles Pigott
3b7daca832
Change: Don't use 'server address' string in server list when displaying an invite code ( #9615 )
2021-10-17 18:14:25 +01:00
Jonathan G Rennison
b00d5e07d2
Fix fb0549ea
: Incorrect cherry-pick removed end marker
2021-10-17 01:45:51 +01:00
Jonathan G Rennison
781aaa4fe5
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# src/settings.cpp
# src/settings_gui.cpp
# src/settings_internal.h
# src/table/company_settings.ini
# src/table/currency_settings.ini
# src/table/gameopt_settings.ini
# src/table/misc_settings.ini
# src/table/settings.h.preamble
# src/table/settings.ini
# src/table/win32_settings.ini
# src/table/window_settings.ini
2021-10-17 01:44:45 +01:00
Patric Stout
78eece71d9
Codechange: "set but not used" warning when disabling assert() ( #9613 )
...
DebugCheckSanity() is unused when asserts are disabled. While at it,
use WITH_ASSERT over NDEBUG, as that means we also run this code
during beta/RC.
2021-10-16 22:06:08 +02:00
Jonathan G Rennison
900b9fdf3b
Fix crash with wrong-way running on signalled tunnel/bridge
...
When using the ignore signals buttons, and exiting the bridge/tunnel
in some cases
2021-10-16 19:59:43 +01:00
translators
d66dea5d83
Update: Translations from eints
...
indonesian: 9 changes by bsuseno
2021-10-15 18:47:17 +00:00
Jonathan G Rennison
9254be5b3c
Debug: Show info of all aircraft parts in vehicle debug window
2021-10-12 20:35:07 +01:00
Jonathan G Rennison
c64f48f2bd
Debug: Add direction and spritenum info to vehicle debug window
2021-10-12 20:26:13 +01:00
Jonathan G Rennison
71a5abd42b
Fix aircraft shadows being drawn facing the wrong direction
2021-10-12 20:19:53 +01:00
translators
4b96244b4d
Update: Translations from eints
...
romanian: 6 changes by kneekoo
2021-10-12 18:47:28 +00:00
glx22
cbe00ec651
Fix: Try all possible reverse directions when a ship reaches a dead end
2021-10-11 21:11:13 +02:00
glx22
207cf7bbdd
Change: Reverse ship when leaving docks if a better path exists
2021-10-11 21:11:13 +02:00
translators
d0092925c9
Update: Translations from eints
...
romanian: 9 changes by kneekoo
2021-10-11 18:48:06 +00:00
translators
7d831be3ab
Update: Translations from eints
...
indonesian: 6 changes by bsuseno
2021-10-10 18:46:33 +00:00
translators
eaeab34e7a
Update: Translations from eints
...
norwegian (bokmal): 10 changes by Anolitt
korean: 9 changes by telk5093
russian: 9 changes by Ln-Wolf
finnish: 10 changes by hpiirai
spanish: 8 changes by MontyMontana
french: 9 changes by glx22
(cherry picked from commit 8dd846bad4
)
2021-10-08 18:19:31 +01:00
translators
33a55c5fd4
Update: Translations from eints
...
hindi: 67 changes by ritwikraghav14
(cherry picked from commit c562b4c527
)
2021-10-08 18:19:25 +01:00
translators
9831644112
Update: Translations from eints
...
spanish (mexican): 2 changes by absay
(cherry picked from commit 37b285ad83
)
2021-10-08 18:18:51 +01:00
translators
7119903c94
Update: Translations from eints
...
german: 1 change by Wuzzy2
spanish: 1 change by ilyabakhlin
(cherry picked from commit 12de256b72
)
2021-10-08 18:18:44 +01:00
translators
de83640d77
Update: Translations from eints
...
english (us): 1 change by 2TallTyler
catalan: 5 changes by J0anJosep
(cherry picked from commit d835a42c05
)
2021-10-08 18:18:35 +01:00
translators
f7ca8bd6ae
Update: Translations from eints
...
spanish (mexican): 1 change by absay
latvian: 2 changes by osprinkis
(cherry picked from commit 3559e55b91
)
2021-10-08 18:18:28 +01:00
translators
b6e29de951
Update: Translations from eints
...
korean: 1 change by telk5093
dutch: 1 change by Afoklala
french: 1 change by MalaGaM
(cherry picked from commit ea23a9cdb6
)
2021-10-08 18:18:21 +01:00
translators
cda901ff04
Update: Translations from eints
...
korean: 1 change by telk5093
(cherry picked from commit d816ff0361
)
2021-10-08 18:18:13 +01:00
translators
7ec6db1808
Update: Translations from eints
...
swedish: 1 change by joeax910
(cherry picked from commit 48ecc481ee
)
2021-10-08 18:18:04 +01:00
translators
c26682de02
Update: Translations from eints
...
japanese: 1 change by scabtert
(cherry picked from commit 956d761e3e
)
2021-10-08 18:17:57 +01:00
translators
f65ec3b797
Update: Translations from eints
...
korean: 2 changes by telk5093
russian: 1 change by Ln-Wolf
finnish: 1 change by hpiirai
portuguese: 1 change by azulcosta
portuguese (brazilian): 1 change by Vimerum
(cherry picked from commit 043a544248
)
2021-10-08 18:17:48 +01:00
translators
b24fba8a94
Update: Translations from eints
...
norwegian (bokmal): 3 changes by Anolitt
dutch: 3 changes by Afoklala
portuguese (brazilian): 3 changes by Vimerum
(cherry picked from commit ce1c60699a
)
2021-10-08 18:17:31 +01:00
translators
a702de64c3
Update: Translations from eints
...
chinese (traditional): 9 changes by benny30111
english (us): 3 changes by 2TallTyler
(cherry picked from commit 7b5c0b4236
)
2021-10-08 18:17:21 +01:00
Tyler Trahan
fb0549ea59
Feature: Configurable subsidy duration
...
(cherry picked from commit d09210e1c6
)
2021-10-08 18:13:02 +01:00
Jonathan G Rennison
4042480806
Merge branch 'jgrpp' into jgrpp-beta
...
# Conflicts:
# src/settings.cpp
# src/settings_gui.cpp
# src/settings_internal.h
# src/table/company_settings.ini
# src/table/currency_settings.ini
# src/table/gameopt_settings.ini
# src/table/misc_settings.ini
# src/table/settings.h.preamble
# src/table/settings.ini
# src/table/win32_settings.ini
# src/table/window_settings.ini
2021-10-08 18:12:04 +01:00
PeterN
32571a0ccd
Fix: Wrong cargo line position in IndustryCargo window. ( #9383 )
...
Resolved by changing calculation to determine the offset based on centring the cargo lines in the available space.
(cherry picked from commit ce7ef4d824
)
2021-10-08 18:11:02 +01:00
SamuXarick
48b287a22f
Fix #9358 : Don't skip empty files in tar ( #9367 )
...
(cherry picked from commit 1e6a2163a5
)
2021-10-08 18:11:02 +01:00
Patric Stout
0550ca0854
Fix: on startup, NewGRF scan could case race-condition ( #9382 )
...
Creating a thread was not thread-safe. The irony.
The video-driver has a function GameLoopPause() which first checks
if the thread is the game-thread or not. For this it needs access
to this->game_thread. This variable is set in StartNewThread().
However, due to timing, it is well possible GameLoopPause() is
called from the thread well before this->game_thread is assigned.
And so we have a race-condition!
Simply solve this by preventing a thread to start till we are
done with our bookkeeping.
(cherry picked from commit b45c006ab9
)
2021-10-08 18:11:02 +01:00
Patric Stout
441ff7e436
Fix: thread safety issue during exiting the game ( #9380 )
...
_exit_game is read by the draw-thread to know when to exit, but
most of the time written by the game-thread.
(cherry picked from commit c12a152ec9
)
2021-10-08 18:11:02 +01:00
Patric Stout
573ab48e9c
Fix 81062163
: for (really) old games, station bus/truck station cache was not updated ( #9366 )
...
(cherry picked from commit 1e432fbd71
)
2021-10-08 18:11:02 +01:00
TELK
3e78624965
Fix #9362 : Hover in online players window was slightly too big ( #9364 )
...
This causes graphical glitches at the bottom of the window.
(cherry picked from commit 2d0abf5a76
)
2021-10-08 18:11:02 +01:00
rubidium42
057e858d32
Fix #9353 : [Script] Garbage collecting on priority queues could crash the game
...
(cherry picked from commit 71f3c35288
)
2021-10-08 18:11:02 +01:00
Loïc Guilloux
d46c764d60
Fix 4079c47
: Missed a file when removing generated .sq files from the repo ( #9350 )
...
(cherry picked from commit 16ebf7861f
)
2021-10-08 18:11:02 +01:00
Loïc Guilloux
0f05fc8573
Fix: [Script] doxygen_filter is very strict about DOXYGEN_API usage ( #9351 )
...
(cherry picked from commit ee5f23382d
)
2021-10-08 18:11:02 +01:00
Patric Stout
0a7a4e06ad
Add: adhere the autosave_on_exit setting for Null videodriver ( #9343 )
...
This is especially useful for automated-testing, to make a save
when the game quits while using "-vnull:ticks=N".
(cherry picked from commit 37ae6b8ae3
)
2021-10-08 18:11:02 +01:00
Patric Stout
364ce76d51
Change: allow pause/unpause console command in single player too ( #9342 )
...
(cherry picked from commit 849a10520c
)
2021-10-08 18:11:02 +01:00
Patric Stout
563884105f
Change: by default, make "unload all" leave stations empty ( #9301 )
...
(cherry picked from commit 7648483364
)
2021-10-08 18:11:02 +01:00
Patric Stout
3411203e5d
Fix: compatible NewGRFs in crash-log reported wrong md5 ( #9340 )
...
The text suggests it reports the original md5, but it does in fact
report the replaced md5. Now it reports both.
(cherry picked from commit f997eb6ca4
)
2021-10-08 18:11:02 +01:00
rubidium42
9299a29a52
Fix: limit heightmap sizes to something reasonable to prevent crafted heightmaps to OOM-crash the game
...
(cherry picked from commit 97c461d1e7
)
2021-10-08 18:11:02 +01:00
translators
8b157c9bdf
Update: Translations from eints
...
romanian: 1 change by kneekoo
2021-10-06 18:47:23 +00:00
Jonathan G Rennison
fe8da3ae3a
Fix missing include in header
2021-10-04 21:37:55 +01:00
Loïc Guilloux
07cc7da7fd
Revert 7ca1793
: Using Trackdir keyed node is not required, Exitdir keyed node still have the correct trackdir ( #9576 )
...
(cherry picked from commit 11dece205c
)
2021-10-04 21:07:37 +01:00
Jonathan G Rennison
ea9a65edcd
Increase size of desync log message ring buffer
2021-10-04 21:01:03 +01:00
Jonathan G Rennison
6f16655e6e
Add "special events" log. Add console command, include in crash logs.
2021-10-04 20:54:12 +01:00
Jonathan G Rennison
2e022d5194
Move game events to new event_logs header/cpp files
2021-10-04 20:43:50 +01:00
translators
d2bc32e94a
Update: Translations from eints
...
korean: 1 change by telk5093
romanian: 15 changes by kneekoo
2021-10-04 18:48:34 +00:00
Jonathan G Rennison
1451aa76ff
Add console command to dump vehicle info
2021-10-04 01:02:39 +01:00
Jonathan G Rennison
6b250c203c
Add chicken bit to control CheckCaches periodic/post-command flags
2021-10-03 23:58:35 +01:00
Jonathan G Rennison
24fdc8331b
Add CheckCaches mode to emit a log/save/screenshot on detected issue
2021-10-03 23:57:27 +01:00
Jonathan G Rennison
1b8bbdaf76
Add chicken bit for CheckCaches call after DoCommandP
2021-10-03 23:03:39 +01:00
Jonathan G Rennison
5ed7aee8d3
Add flags field to CheckCaches for which checks to run
...
Add header file for CheckCaches
2021-10-03 23:03:39 +01:00
Loïc Guilloux
c408007575
Fix #9548 , e5fedcd
: [Squirrel] Crash during engine cleanup after reaching memory limit on realloc ( #9592 )
...
(cherry picked from commit a53cfeef13
)
2021-10-03 21:19:27 +01:00
Loïc Guilloux
ff67f7b311
Fix #9588 , 140a96b
: [Squirrel] Reaching memory limit during script registration could prevent further script detections ( #9589 )
...
Also the memory allocation triggering the limit was never freed.
And if the exception was thrown in a constructor using placement new, the pre-allocated memory was not freed either.
(cherry picked from commit ccd586a736
)
2021-10-03 21:19:12 +01:00
Tyler Trahan
cd97ca95f2
Fix: Changing raw industry funding method redraws GUI ( #9572 )
...
(cherry picked from commit 4aa63ce8f3
)
2021-10-03 21:18:43 +01:00
PeterN
f5561ac212
Fix #9562 : Handle case of invalid action2 with zero results. ( #9564 )
...
(cherry picked from commit 7e70ead396
)
2021-10-03 21:18:16 +01:00
translators
340a36bf1f
Update: Translations from eints
...
romanian: 8 changes by kneekoo
irish: 55 changes by temuchie
2021-10-03 18:46:14 +00:00
Jonathan G Rennison
c99eaf72b7
Fix #9591 : Update station docking tiles upon placing a water object on a docking tile ( #9594 )
...
See: https://github.com/OpenTTD/OpenTTD/issues/9591
See: https://github.com/OpenTTD/OpenTTD/pull/9594
Non-extended savegame bump to be applied later
(cherry picked from commit e404d16929
)
# Conflicts:
# src/object_cmd.cpp
# src/saveload/afterload.cpp
# src/saveload/saveload.h
2021-10-03 15:06:58 +01:00
SamuXarick
e404d16929
Fix #9591 : Update station docking tiles upon placing a water object on a docking tile ( #9594 )
2021-10-03 12:54:19 +02:00
Patric Stout
e4ad632989
Add: [Network] Keep the refresh button in lowered state while refreshing ( #9600 )
...
This gives user visual feedback that the refresh is still pending, and
prevents people from clicking again and again thinking nothing is
happening. This is especially true for connections that fall back to
TURN, as that takes a few seconds to kick in.
Additionally, prevent clicking on the button again while a refresh
is pending. This is only delaying a successful result.
2021-10-03 11:02:28 +02:00
Loïc Guilloux
2144cd98a3
Fix: Incorrect Romanian own name ( #9598 )
2021-10-03 09:49:03 +01:00
Jonathan G Rennison
8f2582e0ff
Update help text for check_caches console command
2021-10-03 02:17:52 +01:00
Jonathan G Rennison
d4d54c9b90
Add a chicken bit setting to enable periodic CheckCaches
2021-10-03 01:58:54 +01:00
Jonathan G Rennison
96ea775b24
Avoid undefined behaviour in saveload chunk handlers
...
Use data() instead of &[0] to avoid issues with empty vectors
2021-10-02 22:43:55 +01:00
Jonathan G Rennison
c47fd30330
Include docking tiles in station debug window
2021-10-02 22:43:55 +01:00
Loïc Guilloux
a53cfeef13
Fix #9548 , e5fedcd
: [Squirrel] Crash during engine cleanup after reaching memory limit on realloc ( #9592 )
2021-10-02 21:08:42 +02:00
translators
a2cf81e722
Update: Translations from eints
...
romanian: 38 changes by kneekoo
2021-10-02 18:46:31 +00:00
dP
585ad9bcab
Cleanup: Swap comments for IConsoleModes ( #9587 )
2021-10-02 16:33:28 +02:00
Loïc Guilloux
ccd586a736
Fix #9588 , 140a96b
: [Squirrel] Reaching memory limit during script registration could prevent further script detections ( #9589 )
...
Also the memory allocation triggering the limit was never freed.
And if the exception was thrown in a constructor using placement new, the pre-allocated memory was not freed either.
2021-10-02 15:13:58 +02:00
Jonathan G Rennison
2df744db79
OSX: Fix CoreTextFontCache not setting font_height_cache
...
See: #323
2021-10-02 11:55:25 +01:00
translators
78d66b7732
Update: Translations from eints
...
romanian: 145 changes by kneekoo
2021-10-01 18:45:29 +00:00
translators
41094b6a4a
Update: Translations from eints
...
spanish: 14 changes by MontyMontana
2021-09-30 18:48:12 +00:00
Jonathan G Rennison
513f6db718
Increase command log ring buffer size to 256
2021-09-30 18:42:51 +01:00
Jonathan G Rennison
65c20edde7
Settings: Merge orderproc into guiproc
2021-09-29 20:10:38 +01:00
translators
e89be8d97a
Update: Translations from eints
...
indonesian: 28 changes by bsuseno
romanian: 49 changes by kneekoo
2021-09-29 18:47:12 +00:00
Jonathan G Rennison
db11c1d927
Add setting description help text for extra asymmetric linkgraph modes
...
See also: #321
2021-09-29 19:41:59 +01:00
Jonathan G Rennison
47156122fa
Settings: Add a guiproc callback for general settings GUI operations
2021-09-29 19:32:32 +01:00
translators
b4bacff4fe
Update: Translations from eints
...
hungarian: 4 changes by pnpBrumi
indonesian: 41 changes by bsuseno
italian: 28 changes by CoderLel
romanian: 46 changes by kneekoo
slovak: 18 changes by ApplePie420
danish: 279 changes by nielsmh
2021-09-28 18:47:22 +00:00
Jonathan G Rennison
fd605e3cf3
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# .github/workflows/commit-checker.yml
# src/company_cmd.cpp
# src/console_cmds.cpp
# src/crashlog.cpp
# src/lang/english.txt
# src/lang/german.txt
# src/lang/indonesian.txt
# src/lang/japanese.txt
# src/lang/korean.txt
# src/lang/swedish.txt
# src/linkgraph/linkgraphjob.cpp
# src/linkgraph/mcf.cpp
# src/network/core/tcp.cpp
# src/network/core/tcp.h
# src/network/core/tcp_game.h
# src/network/core/udp.h
# src/network/network.cpp
# src/network/network_admin.cpp
# src/network/network_admin.h
# src/network/network_chat_gui.cpp
# src/network/network_client.cpp
# src/network/network_client.h
# src/network/network_func.h
# src/network/network_internal.h
# src/network/network_server.cpp
# src/network/network_server.h
# src/newgrf.cpp
# src/newgrf_station.cpp
# src/order_gui.cpp
# src/rail_cmd.cpp
# src/saveload/saveload.cpp
# src/settings.cpp
# src/settings_gui.cpp
# src/settings_internal.h
# src/settings_type.h
# src/station_cmd.cpp
# src/stdafx.h
# src/table/currency_settings.ini
# src/table/misc_settings.ini
# src/table/settings.h.preamble
# src/table/settings.ini
# src/terraform_cmd.cpp
# src/timetable_gui.cpp
# src/train_cmd.cpp
# src/tree_cmd.cpp
# src/water_cmd.cpp
2021-09-27 22:47:23 +01:00
translators
7a48b5597d
Update: Translations from eints
...
czech: 40 changes by LubosKolouch, 27 changes by CzechRepublic98
hungarian: 1 change by pnpBrumi
turkish: 13 changes by ahmetlii
2021-09-27 18:49:51 +00:00
Niels Martin Hansen
5e3ed3a05e
Add: Console command to list search directories for various things
2021-09-26 23:39:45 +02:00
translators
7aacb2ed8e
Update: Translations from eints
...
japanese: 18 changes by akaregi, 10 changes by clzls
slovenian: 17 changes by Matej1245
czech: 33 changes by CzechRepublic98
chinese (simplified): 27 changes by clzls
arabic (egypt): 17 changes by AviationGamerX
luxembourgish: 99 changes by phreeze83
hungarian: 24 changes by pnpBrumi, 6 changes by baliball
serbian: 107 changes by nkrs
romanian: 16 changes by kneekoo, 2 changes by ALEX11BR
irish: 229 changes by temuchie
ukrainian: 113 changes by StepanIvasyn
latvian: 8 changes by lexuslatvia
lithuanian: 41 changes by devbotas
polish: 1 change by yazalo
2021-09-26 18:47:33 +00:00
Loïc Guilloux
38a64eb2aa
Change: Allow all tiles around docks to be docking tiles ( #9578 )
2021-09-26 19:31:55 +02:00
Loïc Guilloux
11dece205c
Revert 7ca1793
: Using Trackdir keyed node is not required, Exitdir keyed node still have the correct trackdir ( #9576 )
2021-09-26 18:41:41 +02:00
Woelfi Von Wolfhausen
f047690dc9
Fix typo, ii
...
Typo, a t was missing (Frach-art to Fracht-art)
2021-09-26 18:17:04 +02:00
Woelfi Von Wolfhausen
06b9881a05
Fix typos
...
Fix some typos regarding formality and noun-is-written-big-rules
2021-09-26 17:57:37 +02:00
r-a-sattarov
14ad424470
Add: use of Intel Intrinsics & RDTSC on e2k (MCST Elbrus 2000) ( #9575 )
...
MCST e2k (Elbrus 2000) architecture has half native / half software support of most Intel/AMD SIMD
e.g. MMX/SSE/SSE2/SSE3/SSSE3/SSE4.1/SSE4.2/AES/AVX/AVX2 & 3DNow!/SSE4a/XOP/FMA4
E2K - this is VLIW/EPIC architecture, like Intel Itanium (IA-64) architecture.
Ref: https://en.wikipedia.org/wiki/Elbrus_2000
Co-authored-by: Alexander Troosh @troosh, Konstantin Ivlev @sse4 and Dmitry Shcherbakov @crypto-das
2021-09-26 11:12:35 +02:00
translators
9b1651a267
Update: Translations from eints
...
swedish: 8 changes by Abbin44
norwegian (bokmal): 14 changes by Anolitt
chinese (traditional): 6 changes by SiderealArt
slovenian: 4 changes by Matej1245
vietnamese: 14 changes by KhoiCanDev
luxembourgish: 24 changes by phreeze83
hungarian: 1 change by baliball
serbian: 29 changes by nkrs
german: 1 change by SecretIdetity
russian: 2 changes by SecretIdetity, 1 change by Ln-Wolf
catalan: 1 change by J0anJosep
turkish: 1 change by ahmetlii
french: 1 change by glx22
2021-09-25 18:46:38 +00:00
Patric Stout
394c749b6b
Change: Heading for 13 now ( #9573 )
2021-09-25 13:48:03 +02:00
dP
39662aabef
Add: allow gamescripts to build neutral objects ( #9568 )
2021-09-25 13:39:40 +02:00
translators
66c7d9b8ed
Update: Translations from eints
...
dutch: 4 changes by Afoklala
spanish: 4 changes by MontyMontana
polish: 9 changes by pAter-exe
2021-09-24 18:48:15 +00:00
Tyler Trahan
4aa63ce8f3
Fix: Changing raw industry funding method redraws GUI ( #9572 )
2021-09-23 21:07:54 +02:00
Danny de Bruijne
753b1d7e15
Feature: Add selected toolbar buttons to MacBook Pro Touch Bar
2021-09-23 21:03:00 +02:00
translators
16aac9c341
Update: Translations from eints
...
english (us): 1 change by 2TallTyler
2021-09-23 18:48:02 +00:00
Jonathan G Rennison
0b0d154788
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# .github/workflows/ci-build.yml
# src/lang/german.txt
# src/lang/romanian.txt
# src/lang/slovak.txt
# src/lang/turkish.txt
# src/network/core/address.cpp
# src/network/core/tcp.h
# src/network/core/udp.cpp
# src/network/network.cpp
# src/network/network_client.cpp
# src/network/network_server.cpp
# src/network/network_server.h
# src/network/network_udp.cpp
# src/openttd.cpp
# src/saveload/newgrf_sl.cpp
# src/tree_cmd.cpp
# src/video/video_driver.hpp
# src/window.cpp
# src/window_gui.h
2021-09-22 21:50:02 +01:00
translators
909a83758c
Update: Translations from eints
...
spanish (mexican): 8 changes by absay
portuguese (brazilian): 14 changes by Vimerum
2021-09-22 18:47:46 +00:00
translators
7c6b39e189
Update: Translations from eints
...
korean: 4 changes by telk5093
greek: 1 change by dionisis84
russian: 2 changes by Ln-Wolf
finnish: 1 change by hpiirai
portuguese: 1 change by azulcosta
2021-09-21 18:50:15 +00:00
translators
b5e8b36b5b
Update: Translations from eints
...
chinese (traditional): 19 changes by benny30111
german: 3 changes by Wuzzy2
catalan: 3 changes by J0anJosep
2021-09-20 18:47:59 +00:00
SamuXarick
45edd9f326
Fix: Incorrect error messages on placing water on scenario editor ( #9560 )
...
Additionally changes the behaviour of placing sea on sea/river/canal and placing canal/river on canal to (over)build, instead of disallowing it
2021-09-19 23:14:07 +02:00
dP
31cf9e888b
Add: [Network] external chat messages for remote admins ( #9563 )
2021-09-19 23:09:06 +02:00
Patric Stout
d9f8ed7bdf
Add: [Network] On join, log the ClientID + IP + Name clearly ( #9558 )
...
Additionally, reword the disconnect to match connect / join messages.
Co-authored-by: Berbe <4251220+Berbe@users.noreply.github.com>
2021-09-19 21:52:46 +01:00
PeterN
7e70ead396
Fix #9562 : Handle case of invalid action2 with zero results. ( #9564 )
2021-09-19 21:52:08 +01:00
Patric Stout
b8f9e24189
Fix #9484 : update locale currencies settings mapping ( #9559 )
2021-09-19 22:44:28 +02:00
translators
0babadfbe4
Update: Translations from eints
...
english (us): 3 changes by 2TallTyler
greek: 3 changes by dionisis84
finnish: 3 changes by hpiirai
french: 3 changes by glx22
portuguese: 4 changes by azulcosta
2021-09-19 18:47:36 +00:00
Jonathan G Rennison
9ad5e4baf0
Add maximum speed (fully loaded) to train window sort list
2021-09-18 23:51:08 +01:00
Jonathan G Rennison
da1ac73c02
Merge commit 'f1dfa661a1898cde06a38ab4cb230c95912b245b' into jgrpp-beta
...
# Conflicts:
# src/lang/estonian.txt
# src/lang/hungarian.txt
# src/network/core/game_info.cpp
# src/network/core/game_info.h
# src/network/core/packet.h
# src/network/network.cpp
# src/network/network_client.cpp
# src/network/network_server.cpp
# src/network/network_udp.cpp
# src/openttd.cpp
# src/string_func.h
2021-09-18 22:10:04 +01:00
translators
28d9181d5d
Update: Translations from eints
...
korean: 4 changes by telk5093
finnish: 4 changes by hpiirai
irish: 151 changes by temuchie
french: 11 changes by glx22
2021-09-18 18:46:53 +00:00
Patric Stout
cd03bac3dd
Fix: add back 'Spectate' option to company toolbar menu ( #9556 )
...
This was removed in ce7406f88b, but people used this to quickly
mark themselves as away.
Co-authored-by: dP <dp@dpointer.org>
2021-09-18 20:27:56 +02:00
Patric Stout
7acdaaaf2f
Fix: Prevent train reversing when wholly inside a train depot ( #9557 )
...
Co-authored-by: Jonathan G Rennison <j.g.rennison@gmail.com>
2021-09-18 15:56:23 +02:00
Jonathan G Rennison
2e626d70e8
Debug: Add minimum_life to house debug window
2021-09-18 12:43:22 +01:00
SamuXarick
18247bb3b8
Fix #9521 : Don't load at just removed docks that were part of a multi-dock station ( #9524 )
2021-09-18 13:25:07 +02:00
SamuXarick
b335b0501c
Fix: wrong error message when building canals over ship depots / locks
...
IsTileType() also considers ship depots and locks water. IsWaterTile() does the right thing.
2021-09-18 13:24:49 +02:00
SamuXarick
6ce74b2a1b
Fix: reduce cost of building canals over objects on sea
...
It is not like we will drain the sea first, to put water back in it after.
Besides, the cost for draining the sea isn't calculated for all other cases either.
2021-09-18 13:24:49 +02:00
Bernard Teo
20717ededf
Feature: Button to open order window from VL_SHARED_ORDERS window
2021-09-18 11:17:49 +02:00
Bernard Teo
6a6dbbaad2
Feature: Ctrl-Clicking GB_SHARED_ORDERS vehicle list opens order window
2021-09-18 11:17:49 +02:00
Jonathan G Rennison
2bd535e834
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# src/engine_base.h
# src/gfxinit.cpp
# src/graph_gui.cpp
# src/lang/brazilian_portuguese.txt
# src/lang/dutch.txt
# src/lang/french.txt
# src/lang/korean.txt
# src/lang/norwegian_bokmal.txt
# src/lang/portuguese.txt
# src/lang/russian.txt
# src/lang/spanish.txt
# src/lang/spanish_MX.txt
# src/network/core/address.cpp
# src/network/core/game_info.h
# src/network/core/os_abstraction.h
# src/network/core/udp.cpp
# src/network/network_client.cpp
# src/network/network_client.h
# src/network/network_internal.h
# src/newgrf_engine.cpp
# src/settings_gui.cpp
# src/station_cmd.cpp
# src/string_func.h
# src/town_gui.cpp
# src/video/video_driver.cpp
# src/widget_type.h
2021-09-18 01:28:57 +01:00
Jonathan G Rennison
7e39d3f24a
Support sending extended game info in response to PACKET_CLIENT_GAME_INFO
2021-09-17 23:44:59 +01:00
Jonathan G Rennison
8a0821c96e
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# src/network/core/game_info.h
# src/network/core/udp.cpp
# src/network/core/udp.h
# src/network/network.cpp
# src/network/network_client.cpp
# src/network/network_client.h
# src/network/network_internal.h
# src/network/network_udp.cpp
2021-09-17 23:14:35 +01:00
translators
ff6c934916
Update: Translations from eints
...
english (us): 4 changes by 2TallTyler
greek: 10 changes by dionisis84
german: 4 changes by MagnumSociety
dutch: 4 changes by Afoklala
spanish: 66 changes by MontyMontana
polish: 10 changes by pAter-exe
2021-09-17 18:45:40 +00:00
Jonathan G Rennison
0dcb04f450
Fix #320 : Misspelling of SLXI chunk name
2021-09-17 03:22:06 +01:00
translators
a53c4f0fb7
Update: Translations from eints
...
japanese: 30 changes by scabtert
russian: 4 changes by Ln-Wolf
finnish: 4 changes by hpiirai
catalan: 4 changes by J0anJosep
portuguese: 4 changes by azulcosta
2021-09-16 18:47:49 +00:00
translators
19a6513607
Update: Translations from eints
2021-09-15 18:49:54 +00:00
Jonathan G Rennison
e7480620af
Include liblzma error code in message
2021-09-15 19:28:11 +01:00
SamuXarick
a57c2b073a
Feature: Display icon/text whether vehicle is lost in vehicle (list) window ( #9543 )
2021-09-14 22:10:00 +02:00
SamuXarick
37de878129
Feature: [AI/GS] Missing water related functions and objects ( #8390 )
2021-09-14 22:06:55 +02:00
translators
c6035158ca
Update: Translations from eints
...
german: 5 changes by Wuzzy2
2021-09-14 18:47:07 +00:00
Jonathan G Rennison
54e2d1b851
Log SLXI version label at level sl=2
2021-09-14 19:20:14 +01:00
translators
c8ab5e58f9
Update: Translations from eints
...
portuguese: 6 changes by azulcosta
2021-09-13 18:49:03 +00:00
Jonathan G Rennison
7018babeac
Reverse behind signal pathfinding now takes into account train length
...
This is to avoid pathfinding into a reversing track section which
is too short
2021-09-13 02:42:24 +01:00
Charles Pigott
29df09e917
Fix #9527 : Crash when trying to place multitile objects at map edge
...
(cherry picked from commit a2d93441fab53077c832247f09263762c38c8e90)
2021-09-13 02:42:24 +01:00
Jonathan G Rennison
aff4dc74d0
Avoid premature reservations with reverse at waypoint orders with wait time
2021-09-13 00:48:35 +01:00
translators
d757aa7591
Update: Translations from eints
...
swedish: 5 changes by joeax910
finnish: 5 changes by hpiirai
latvian: 67 changes by lexuslatvia
2021-09-12 18:48:50 +00:00
Niels Martin Hansen
6bd3106681
Feature: Multiple rotating views on title screen
2021-09-12 19:46:48 +02:00
Jonathan G Rennison
5be32627b7
Fix extra aspects variable not being set for newly generated maps
2021-09-12 17:36:47 +01:00
Tyler Trahan
9d18a8869f
Fix #8603 : Don't give focus to text filter when opening Object GUI ( #9547 )
...
(cherry picked from commit 66620b497b
)
2021-09-12 11:23:10 +01:00
Vít Šefl
710b758b81
Fix #9241 : Grove and forest tree brushes also create rainforests ( #9542 )
2021-09-12 08:42:24 +02:00
TELK
efec8cb02c
Update: Korean translation up to 0748d54
2021-09-12 09:45:10 +09:00
TELK
b2245806ae
Update: Korean translation up to ebab945
2021-09-12 09:45:10 +09:00
TELK
8686eaacb7
Update: Korean translation up to b8d5113c5a
2021-09-12 09:45:10 +09:00
TELK
b016811070
Update: Korean translation up to e76c5dfda7
2021-09-12 09:45:10 +09:00
Jonathan G Rennison
0748d540e8
Implement improved breakdown speed reductions for ships
2021-09-11 23:50:04 +01:00
Charles Pigott
d4588df9f9
Fix #9527 : Crash when trying to place multitile objects at map edge
2021-09-11 23:10:50 +01:00
Charles Pigott
16dca0d7bc
Codechange: Object non-zero dimension check was not logically correct
2021-09-11 23:10:50 +01:00
translators
ceaff9c9f2
Update: Translations from eints
...
korean: 6 changes by telk5093
2021-09-11 18:48:07 +00:00
Michael Lutz
ee57afc285
Fix #9463 : [Win32] Try to work around XAudio2 crashes by catching SEH exceptions.
...
If an exceptions is thrown during context creation, just declare the XAudio
driver as unusable. The driver logic will try to find an alternative for us.
2021-09-11 15:42:34 +02:00
Patric Stout
a8641ea44a
Add: support filtering content entries for patchpacks ( #9541 )
...
This changes nothing for us, but allows patchpacks to add the
right pieces of code to start filtering content entries on patchpack
only entries.
2021-09-11 15:34:46 +02:00
Jonathan G Rennison
282f5f22e3
Partially revert "Update: Translations from eints"
...
This partially reverts b721787c7f
Unremove string: STR_NETWORK_COMPANY_LIST_SPECTATE
2021-09-11 00:28:34 +01:00
dP
40a6181a16
Change: Return 'New company/Spectate' option to company toolbar menu
...
(cherry picked from commit dc2bbfd3f4c78ea14631c2005544bb6898faf1b0)
Include spectate option part
2021-09-11 00:11:50 +01:00
Jonathan G Rennison
b67efb7e38
Add support for retrieving JGRPP-only content from content service
...
See: https://github.com/OpenTTD/OpenTTD/pull/9541 , 84cba1b8
2021-09-10 21:44:25 +01:00
Patric Stout
84cba1b842
Add: support filtering content entries for patchpacks
...
This changes nothing for us, but allows patchpacks to add the
right pieces of code to start filtering content entries on patchpack
only entries.
(cherry picked from commit 77860bb61e61307e4d9cf869ba62be8ca4d9d9b3)
2021-09-10 21:24:02 +01:00
translators
9e85f40733
Update: Translations from eints
...
spanish (mexican): 4 changes by absay
english (us): 6 changes by 2TallTyler
russian: 6 changes by Ln-Wolf
catalan: 6 changes by J0anJosep
dutch: 6 changes by Afoklala
2021-09-10 18:47:58 +00:00
Jonathan G Rennison
3c55250cd6
Fix last station visited not being set when reservation ends at target
...
Long reserve and subsequent routing restrictions immediately beyond
the reservation were evaluated without the last station visited being
updated to reflect that the target station was already reached.
2021-09-09 22:49:55 +01:00
translators
7107e63f8c
Update: Translations from eints
...
korean: 6 changes by telk5093
hungarian: 34 changes by pnpBrumi
indonesian: 16 changes by dimaspaf14
latvian: 94 changes by lexuslatvia
polish: 2 changes by pAter-exe
2021-09-09 18:49:31 +00:00
Tyler Trahan
66620b497b
Fix #8603 : Don't give focus to text filter when opening Object GUI ( #9547 )
2021-09-09 18:30:03 +02:00
Jonathan G Rennison
6e3d023e69
Fix #9535 : Maintain a reverse dependency map of network content ( #9538 )
...
Fixes performance issues with dependency lookup when retrieving
content list from the content server.
2021-09-09 18:06:00 +02:00
Jonathan G Rennison
afd66c1631
Show linear scaling value in settings window for cargo scaling settings
2021-09-08 22:03:02 +01:00
Jonathan G Rennison
a0cb27b73c
Add a release version string to rev.cpp
2021-09-06 17:49:08 +01:00
Tyler Trahan
7469f00c5b
Feature: Hide block signals in GUI by default ( #8688 )
2021-09-05 20:22:27 +02:00
Patric Stout
f656b0ae96
Fix: use-after-free after ClientNetworkCoordinatorSocketHandler::CloseAllConnections() ( #9534 )
...
The function clears all stun-handlers. This causes all of those
objects to be destroyed.
A handler can have a pending connecter, which was only killed in
case CloseConnection() was called. This is never the case when
the object is destroyed. In result, the connecter could finish
and cause a use-after-free by calling into the (now deleted)
handler.
2021-09-05 18:17:39 +02:00
Jonathan G Rennison
fda17d25de
Send back a message for rcon and settings_access failures
2021-09-05 16:54:16 +01:00
Jonathan G Rennison
2ada5767df
Realistic braking: Increase value of RBC_BRAKE_FORCE_PER_LENGTH
2021-09-04 21:59:45 +01:00
Jonathan G Rennison
964ea7b910
Debug: Show realistic braking approach speeds in debug window
2021-09-04 21:40:26 +01:00
Jonathan G Rennison
ebab945838
Network content: Maintain a reverse dependency map
...
Fixes performance issues with dependency lookup
See: https://github.com/OpenTTD/OpenTTD/issues/9535
2021-09-04 12:06:44 +01:00
Jonathan G Rennison
5d351a14d2
Add new signal type: no-entry signal
...
This is only passable in one direction, but does not have a signal
or show an aspect in the opposite direction
Add a setting for whether this is shown in the signal UI.
Off by default.
2021-09-04 11:39:54 +01:00
Jonathan G Rennison
b3aa59c85d
Fix using wrong flag for railtype restricted signal custom sprite enabled
2021-09-04 01:39:10 +01:00
Patric Stout
9c74dc2468
Codechange: validate that all STR_NNN strings are defined and used ( #9518 )
2021-09-02 22:32:10 +02:00
Jonathan G Rennison
6af182c3ca
Add sort by number of vehicles calling to station list window
2021-09-02 01:02:52 +01:00
Patric Stout
306726827d
Fix a2051bad
: SendCmdNames only sent one name per packet ( #9528 )
...
(cherry picked from commit 63116bd59f
)
2021-09-01 23:53:57 +01:00
Patric Stout
91f2710783
Fix: pathfinders always tried to avoid docking tiles (even if nothing was on them) ( #9522 )
...
When coming across any docking tile (for example, all tiles around
an oilrig are docking tiles), it always at least added a penalty
of 3 times a normal tile, even when there are no ships on them.
In result, the pathfinder got suggested to always go around docking
tiles. This was most likely not the intention of the change made in
31db4f8d5e
.
(cherry picked from commit f87fe395a7
)
2021-09-01 23:53:32 +01:00
Rubidium
92559e6f3a
Fix #9388 : thread unsafe use of NetworkAdminConsole/IConsolePrint
2021-09-01 22:40:44 +02:00
Patric Stout
63116bd59f
Fix a2051bad
: SendCmdNames only sent one name per packet ( #9528 )
2021-08-31 21:40:38 +02:00
Patric Stout
2c05412d72
Fix #9407 : desync when founding a town nearby a station ( #9526 )
...
"stations_near" wasn't updated when founding a town near
a station. As this variable is not saved, any client joining
after the town is founded has a different value for
"stations_near", potentially causing desyncs.
As the intention of this if() statement was to skip an expensive
calculation when there are clearly no stations, better to move
that check inside the function, so other places also enjoy
the speedup.
2021-08-31 14:31:37 +02:00
Patric Stout
f87fe395a7
Fix: pathfinders always tried to avoid docking tiles (even if nothing was on them) ( #9522 )
...
When coming across any docking tile (for example, all tiles around
an oilrig are docking tiles), it always at least added a penalty
of 3 times a normal tile, even when there are no ships on them.
In result, the pathfinder got suggested to always go around docking
tiles. This was most likely not the intention of the change made in
31db4f8d5e
.
2021-08-31 09:57:44 +02:00
translators
219598a90b
Update: Translations from eints
...
vietnamese: 6 changes by myquartz
2021-08-30 18:51:16 +00:00
Jonathan G Rennison
bbe079c906
Fix reverse behind signal pathfinding when there is no dead-end
...
This could cause issues if all the paths behind the reverse signal
converge with paths not via the reverse signal with a lower cost
2021-08-30 19:20:44 +01:00
Jonathan G Rennison
ae6b9f6e9c
Fix ESRB_REVERSE not being include in YAPF ESRB dumper
2021-08-30 18:40:24 +01:00
Jonathan G Rennison
f8e30e807d
Fix ProcessOrders not always being called after leaving a waiting order
...
Fixes conditional order loop on leaving a depot
2021-08-30 15:26:49 +01:00
Jonathan G Rennison
58a290d8e9
Include version label in output of -q switch
2021-08-30 11:21:14 +01:00
Jonathan G Rennison
b08cc3cf38
Reduce screen re-draw area for tunnel/bridge end signal updates
2021-08-30 03:09:30 +01:00
Jonathan G Rennison
f6c2a81f72
Reduce screen re-draw area for bridge middle signal updates
2021-08-30 01:46:40 +01:00
Jonathan G Rennison
50f1c25ff5
Fix redrawing of bridge signals more than 2 middle signals need updating
...
On exit signal aspect change, with 5+ aspect signalling
2021-08-30 01:00:32 +01:00
Jonathan G Rennison
1af37ef845
Fix ship speed changes not updating image as per VCF_REDRAW_ON_SPEED_CHANGE
2021-08-29 22:04:06 +01:00
Jonathan G Rennison
4cf6b1e923
Fix ViewportAddVehiclesIntl using wrong image rotation for ships
...
When rotating in place
2021-08-29 22:03:08 +01:00
translators
80231975e5
Update: Translations from eints
...
greek: 121 changes by dionisis84
2021-08-29 18:48:25 +00:00
Jonathan G Rennison
fea967bbbf
Prevent train reversing when wholly inside a train depot
...
See: #316 , https://github.com/OpenTTD/OpenTTD/issues/9520
2021-08-29 16:37:04 +01:00
Jonathan G Rennison
16f2ef227b
Store tunnel/bridge signal spacing on tile, adjust spacing to fit length
2021-08-29 02:11:58 +01:00
Patric Stout
d8e870c50c
Fix: when DNS didn't resolve any IPs, the debug message was misleading ( #9519 )
2021-08-28 21:19:53 +02:00