Commit Graph

53906 Commits

Author SHA1 Message Date
Jonathan G Rennison
39277404a2 Add new landscape variable for ground density and snow presence 2022-12-12 23:19:44 +00:00
Jonathan G Rennison
0d4f196451 Documentation: Add missing text about new landscape variable 44
newlandscape_landscape_type
2022-12-12 23:10:52 +00:00
Jonathan G Rennison
12b20376b3 Add new landscape flag to enable drawing rocks covered by snow 2022-12-12 23:06:07 +00:00
Jonathan G Rennison
41fb98db09 Add NewGRF global flag to allow rocky tiles in tropic desert zones 2022-12-12 22:12:20 +00:00
Jonathan G Rennison
b1051fa131 Move GRF global var init to common function 2022-12-12 21:40:46 +00:00
Jonathan G Rennison
2430a5113e Debug: Add GRF debug window support for new landscape rocks 2022-12-12 19:15:19 +00:00
Jonathan G Rennison
1de38b1ca0 Fix missing override specifiers on CommandAuxiliaryBase::Clone 2022-12-11 16:11:45 +00:00
Jonathan G Rennison
e9aa92d49e Fix implicit 32 -> 64 operation warning in AnimationBase 2022-12-11 16:08:38 +00:00
Jonathan G Rennison
a36eefa2ef Version: Committing version data for tag: jgrpp-0.50.0 2022-12-11 15:37:58 +00:00
Jonathan G Rennison
a3e313b4d5 Fix plan lines not being refreshed when privacy mode changed 2022-12-11 15:36:23 +00:00
Jonathan G Rennison
3412e43608 Use optional span for return type of CommandAuxiliaryBase::GetDeserialisationSrc 2022-12-11 15:27:48 +00:00
Jonathan G Rennison
ab95e8e5ed Add STR_LINKGRAPH_STATS_TOOLTIP_CAPACITY entries
From STR_VEHICLE_DETAILS_TRAIN_ARTICULATED_RV_CAPACITY
2022-12-11 14:08:29 +00:00
Jonathan G Rennison
f925f578c6 Add missing STR_LINKGRAPH_STATS_TOOLTIP_TIME_EXTENSION_GENERAL entries 2022-12-11 14:07:09 +00:00
Jonathan G Rennison
d7f9ffd646 Show more info in linkgraph overlay tooltip if ctrl pressed 2022-12-11 13:07:09 +00:00
Jonathan G Rennison
599b016c91 Adjust link graph edge travel time updates in refresh mode 2022-12-11 00:56:50 +00:00
Jonathan G Rennison
5c2d5782a4 Fixes incorrect link graph edge travel times with non-unity day length
Change vehicle last_loading_tick to be relative to _scaled_tick_counter
2022-12-11 00:27:18 +00:00
Jonathan G Rennison
f4d775cad3 Change _scaled_tick_counter to uint64 2022-12-11 00:04:12 +00:00
Jonathan G Rennison
ce9ccdb72a Merge branch 'master' into jgrpp
# Conflicts:
#	src/settings_gui.cpp
2022-12-10 17:01:13 +00:00
PeterN
daacde4496 Fix #10147: Sound effect volume slider no longer set volume. (#10228) 2022-12-10 15:51:45 +00:00
Jonathan G Rennison
37a270e65c Add header and footer to league table saveload descriptor
See: https://github.com/OpenTTD/OpenTTD/issues/10214
2022-12-09 21:13:39 +00:00
Jonathan G Rennison
d776b302fa Store the gui.zoom_max setting under a different name in the config file
So that it isn't overwritten by vanilla.
Otherwise use the vanilla setting value if present and outside the
vanilla range.
2022-12-09 19:58:07 +00:00
Jonathan G Rennison
b9e322ec7a Add mechanism to override setting names used in config file 2022-12-09 19:56:17 +00:00
translators
2756741575 Update: Translations from eints
italian: 11 changes by Rivarossi
2022-12-09 18:43:26 +00:00
Jonathan G Rennison
e6a38f1d23 Merge branch 'master' into jgrpp
# Conflicts:
#	src/saveload/afterload.cpp
2022-12-08 22:06:46 +00:00
translators
5cef40591b Update: Translations from eints
slovak: 2 changes by legitalk
2022-12-08 18:43:04 +00:00
Jonathan G Rennison
321cfee96a Fix league and graph buttons in toolbar not having a default action
See: https://github.com/OpenTTD/OpenTTD/issues/10214
2022-12-07 23:32:27 +00:00
Michael Lutz
d5fc423793 Fix #10223: Crash when vehicle cloning fails on order cloning. 2022-12-08 00:09:12 +01:00
Jonathan G Rennison
ce0dddc714 Saveload: Fix load and load check mixup with upstream chunks
Fixes 690ef6cc
2022-12-07 22:08:41 +00:00
Jonathan G Rennison
2b38022161 Fix airport catchment overlay not being refreshed when upgrading/moving 2022-12-07 21:31:42 +00:00
Jonathan G Rennison
6a03e7ba97 Command: Remove unused CMD_STR_SEP flag 2022-12-07 21:14:50 +00:00
Jonathan G Rennison
5c134e6dd0 Command: Use auxiliary data for league command strings 2022-12-07 21:14:34 +00:00
Jonathan G Rennison
f32733ef22 Command: Replace binary_length field with auxiliary data
Use for CMD_ADD_PLAN_LINE
2022-12-07 21:14:34 +00:00
Jonathan G Rennison
b0329ec77a Add auxiliary data type for extra command data 2022-12-07 21:04:20 +00:00
Jonathan G Rennison
f1f73ddd6e Factor out packet deserialisation functions into common file 2022-12-07 21:04:20 +00:00
Jonathan G Rennison
c29b395357 Factor out packet serialisation functions into new common file 2022-12-07 18:10:55 +00:00
Jonathan G Rennison
24b3e70494 Linkgraph: Reduce job duration multipliers
Change to linear: size / 75
Remove knee in curve
2022-12-07 02:50:19 +00:00
Jonathan G Rennison
ad815210ae Linkgraph: Dynamically adjust accuracy parameters in MCF 1st pass
For larger graphs (>= 50 nodes), reduce the accuracy and set a
minimum push flow threshold.
This avoids wasting a lot of time calculating very small flow demand
increments when the total number of demands is high and most demands
are small already.
2022-12-07 02:24:17 +00:00
Jonathan G Rennison
351090ae7f Fix crash when launching game with non-default GUI scale in config
See: #459
2022-12-06 18:29:55 +00:00
translators
985f487065 Update: Translations from eints
spanish: 1 change by MontyMontana
2022-12-05 18:43:08 +00:00
Jonathan G Rennison
e647075870 Change LinkGraph::EdgeMatrix to a sparse storage format
Use a btree_map instead of a SmallMatrix.
This avoids excessive storage requirements for large graphs,
and overly expensive edge matrix resize operations.
Remove next_edge iteration mechanism.
2022-12-05 18:17:25 +00:00
PeterN
53b827c460 Fix: Maximum space for engine preview image was never scaled. (#10219) 2022-12-05 17:57:27 +00:00
Loïc Guilloux
13d2d11fa8 Fix #10216: Initialise RoadStop caches before using them and don't try to teleport crashed vehicles (#10217) 2022-12-05 12:46:46 +01:00
Jonathan G Rennison
c457dc680b Adjust height of vehicle list items in vehicle lists 2022-12-04 22:02:26 +00:00
Jonathan G Rennison
7c882b43eb Fix cloning/copying aircraft with go to nearest hangar orders 2022-12-04 21:22:43 +00:00
Jonathan G Rennison
df86c5cadb Fix Tunnel/bridge signal add/remove costs
Costs now reflect number of signals, not tunnel/bridge length

See: #458
2022-12-04 21:10:31 +00:00
Jonathan G Rennison
9ada7380ef Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/korean.txt
#	src/misc_gui.cpp
2022-12-04 20:45:48 +00:00
Jonathan G Rennison
6d4474b84e Merge tag '13.0-beta2' into jgrpp
# Conflicts:
#	src/cheat_gui.cpp
#	src/company_gui.cpp
#	src/console_gui.cpp
#	src/depot_gui.cpp
#	src/error_gui.cpp
#	src/gfx.cpp
#	src/graph_gui.cpp
#	src/group_gui.cpp
#	src/lang/english.txt
#	src/lang/korean.txt
#	src/lang/polish.txt
#	src/misc_gui.cpp
#	src/network/network_content_gui.h
#	src/newgrf_debug_gui.cpp
#	src/order_gui.cpp
#	src/rail_gui.cpp
#	src/road_gui.cpp
#	src/settings_gui.cpp
#	src/settings_type.h
#	src/station_gui.cpp
#	src/subsidy_gui.cpp
#	src/table/settings/gui_settings.ini
#	src/timetable_gui.cpp
#	src/town_gui.cpp
#	src/train_cmd.cpp
#	src/vehicle_gui.cpp
#	src/viewport.cpp
#	src/water_cmd.cpp
#	src/widgets/dropdown.cpp
#	src/window_gui.h
2022-12-04 20:43:11 +00:00
translators
2c5eb206d4 Update: Translations from eints
vietnamese: 39 changes by KhoiCanDev
spanish: 2 changes by MontyMontana
2022-12-04 18:40:57 +00:00
Jonathan G Rennison
02e19521bc Merge branch 'master' into jgrpp
# Conflicts:
#	src/build_vehicle_gui.cpp
#	src/cheat_gui.cpp
#	src/company_gui.cpp
#	src/error_gui.cpp
#	src/fios_gui.cpp
#	src/gfx_func.h
#	src/graph_gui.cpp
#	src/group_gui.cpp
#	src/misc_gui.cpp
#	src/newgrf_debug_gui.cpp
#	src/order_gui.cpp
#	src/road_gui.cpp
#	src/roadveh_gui.cpp
#	src/settings_gui.cpp
#	src/ship_gui.cpp
#	src/station_gui.cpp
#	src/statusbar_gui.cpp
#	src/subsidy_gui.cpp
#	src/timetable_gui.cpp
#	src/town_gui.cpp
#	src/train_gui.cpp
#	src/tree_gui.cpp
#	src/vehicle_gui.cpp
#	src/widget.cpp
#	src/widgets/dropdown.cpp
#	src/window_gui.h
2022-12-04 13:53:44 +00:00
Jonathan G Rennison
77dc6915a7 Departure boards: Don't show "no info requested" message when departure_show_both enabled 2022-12-04 12:10:10 +00:00