Jonathan G Rennison
ae7c86c49d
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/release-linux.yml
# .github/workflows/release-macos.yml
# src/industry_cmd.cpp
# src/industry_cmd.h
# src/network/core/http_curl.cpp
# src/network/core/tcp_http.cpp
# src/network/core/tcp_http.h
# src/network/network_content.h
# src/script/api/script_goal.cpp
# src/script/api/script_industry.cpp
# src/script/api/script_league.cpp
# src/script/api/script_story_page.cpp
# src/script/api/script_town.cpp
# src/train.h
# src/train_cmd.cpp
2023-03-04 01:17:27 +00:00
Jonathan G Rennison
3549d5be20
Add fmt-based Debug macro for upstream
2023-03-04 00:51:29 +00:00
Jonathan G Rennison
a2d2dcd3d5
3rdparty: Add fmt from upstream
2023-03-04 00:51:29 +00:00
Jonathan G Rennison
088cc20186
Fix water flooding in the scenario editor at day lengths > 4
2023-03-02 19:31:33 +00:00
Jonathan G Rennison
36700631aa
Use SoftClamp for QueryWindow::FindWindowPlacementAndResize
...
See: #490
2023-03-01 18:15:26 +00:00
Jonathan G Rennison
412eab22c0
Fix: IgnoreRoadStopProperty did not handle properties 0x0E - 0x12, 0x15
2023-02-28 22:25:09 +00:00
Jonathan G Rennison
8e900c7a87
Fix: IgnoreObjectProperty did not handle object property 0x18
2023-02-28 22:25:07 +00:00
Jonathan G Rennison
467b20f5e2
Link graph: Fix tooltips with vertical link graph lines
...
See: https://github.com/OpenTTD/OpenTTD/issues/10522
2023-02-28 18:59:48 +00:00
Jonathan G Rennison
b7a82e0f29
AyStar: Reduce redundant GetElement calls in BinaryHeap
2023-02-28 01:46:21 +00:00
Jonathan G Rennison
88d7a8ea13
Formatting: Fix indentation of public/private specifiers
2023-02-28 01:44:28 +00:00
Jonathan G Rennison
0a8c58b755
Public roads: Fix memory leaks
2023-02-28 01:41:08 +00:00
Jonathan G Rennison
777dcd047d
CMake: Add missing references in src/3rdparty
2023-02-27 22:38:27 +00:00
Jonathan G Rennison
b1d55519d3
strgen: Fix memory leak
2023-02-27 22:34:08 +00:00
Jonathan G Rennison
50be7b224a
Road waypoints: Clip previews in build windows to drawing area
2023-02-27 22:09:38 +00:00
Jonathan G Rennison
db224585eb
Revert "Public roads: Dynamically set A* max search nodes"
...
This reverts commit acd67a0d0b
.
2023-02-26 15:45:41 +00:00
Jonathan G Rennison
8e5371eec4
Public roads: Fix handling of non-trivial foundations
2023-02-26 14:45:40 +00:00
Jonathan G Rennison
d64b52cdaf
AyStar: Change types used for hashes and queue
...
Use robin_hood for the hashes
Store nodes in PodPools
Change BinaryHeap to store node IDs
2023-02-26 13:31:39 +00:00
Jonathan G Rennison
dd1bd270e7
AyStar: Use dbg_assert in BinaryHeap Push, GetElement
2023-02-26 13:31:39 +00:00
Jonathan G Rennison
ad90f90d43
Public roads: Adjust return type of town_network_distance
2023-02-26 13:31:39 +00:00
Jonathan G Rennison
acd67a0d0b
Public roads: Dynamically set A* max search nodes
2023-02-26 13:31:39 +00:00
Jonathan G Rennison
ff189e44e4
Public roads: Handle non-trivial existing foundations
2023-02-26 13:31:39 +00:00
Jonathan G Rennison
2d1b3fb6e7
Public roads: Remove visited towns mechanism
...
It is excessively expensive, and not needed
2023-02-26 13:31:39 +00:00
Jonathan G Rennison
5641c926bf
Public roads: Use robin_hood hash maps for checked towns and town to network
2023-02-26 13:31:39 +00:00
Jonathan G Rennison
72237f01cc
Add robin_hood hash set/map containers to 3rdparty
2023-02-26 13:31:39 +00:00
Jonathan G Rennison
83b9344f5c
Add a POD pool-type container class
2023-02-26 13:31:39 +00:00
Jonathan G Rennison
b56d7267dc
Public roads: Remove unnecessary sorting operations
2023-02-25 22:14:22 +00:00
Jonathan G Rennison
3967a9fdb0
Public roads: Reuse AyStar finder instance
2023-02-25 22:14:22 +00:00
Jonathan G Rennison
06ffc0ba70
Public roads: Avoid dangling pointer issues in AyStar user target
2023-02-25 22:14:22 +00:00
Jonathan G Rennison
f8130f5cb7
Public roads: Remove use of shared_ptr
2023-02-25 22:14:22 +00:00
Jonathan G Rennison
84914129a5
Fix wrong string order for about menu dropdown texts
2023-02-25 22:14:22 +00:00
Jonathan G Rennison
3d7f9ea50e
TBTR: Fix template build window not being refreshed after wagon flip in MP
2023-02-25 17:14:19 +00:00
Jonathan G Rennison
e0a42b5945
Debug: Add dumping of rail and road/tram sprite groups
2023-02-25 16:16:49 +00:00
Jonathan G Rennison
86aeb16f55
Fix wrong string ordering for town growth setting
2023-02-24 16:42:38 +00:00
Jonathan G Rennison
b1ba2bef4b
VarAction2: Use const for prev_inference flags
2023-02-22 19:32:42 +00:00
Jonathan G Rennison
439c1208d7
VarAction2: Optimise unknown reads from 0x11 as constant 0
2023-02-22 19:32:26 +00:00
SamuXarick
b52b29b1a4
Change: Avoid crashing to the side of a train
...
When a road vehicle is already running on a multi level crossing, and a train shows up ahead, don't make the road vehicle crash on the side of the train.
2023-02-22 20:09:02 +01:00
Jonathan G Rennison
6285b5823b
3rdparty: Update monocypher from 3.1.2 to 3.1.3
2023-02-21 22:36:50 +00:00
Jonathan G Rennison
97acdfaa05
Crashlog: Unix: Use dladdr1 for symbol offset for addr2line
...
Subtract 1 from offset given to addr2line
2023-02-20 23:42:55 +00:00
SamuXarick
8351b97f52
Add: [Script] Labels for negative values of a setting
2023-02-21 00:28:21 +01:00
SamuXarick
376820c0b6
Doc: [Script] Update info descriptions
2023-02-21 00:28:21 +01:00
SamuXarick
bb2ac8b3c4
Fix: [Script] Save config item values up to 10 digits + 1 for sign + 1 for termination, enough to fit min and max int
2023-02-21 00:28:21 +01:00
SamuXarick
fde7028a95
Fix #10059 : [Script] Let custom values on a config item be up to 10 digits + 1 for sign
2023-02-21 00:28:21 +01:00
SamuXarick
7b1fd3e37f
Fix #10059 : [Script] Clamp config item values to int32
...
Also prevent random_deviation to be below 0.
2023-02-21 00:28:21 +01:00
Nik Nyby
92c755161d
Fix #10222 : Adjust line drawing algorithm ( #10491 )
2023-02-20 16:18:25 -05:00
translators
8778949b6a
Update: Translations from eints
...
english (us): 1 change by nikolas
galician: 18 changes by pvillaverde
2023-02-20 18:47:32 +00:00
PeterN
968709735d
Fix #10477 : Not enough space for text due to rounding down (OSX) ( #10489 )
...
(cherry picked from commit 2376112c77
)
2023-02-20 17:32:31 +00:00
Loïc Guilloux
8b36b2cbf3
Fix #10486 : [Script] Debug window requires AIs to be started before GS ( #10487 )
...
(cherry picked from commit 4072dcff49
)
2023-02-20 17:32:19 +00:00
Jonathan G Rennison
c45bd3020d
strgen: Fix type conversion warnings
2023-02-20 17:09:19 +00:00
Jonathan G Rennison
3c5ae5563d
Fix missing include
2023-02-20 17:09:07 +00:00
Jonathan G Rennison
6a53ec4c20
Fix 8d6e5779
: Use of ssize_t is problematic on Windows
2023-02-20 09:31:31 +00:00