Commit Graph

53892 Commits (599b016c910aa27d75ed7b636e0473537e15c260)
 

Author SHA1 Message Date
Jonathan G Rennison 599b016c91 Adjust link graph edge travel time updates in refresh mode 2 years ago
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
2 years ago
Jonathan G Rennison f4d775cad3 Change _scaled_tick_counter to uint64 2 years ago
Jonathan G Rennison ce9ccdb72a Merge branch 'master' into jgrpp
# Conflicts:
#	src/settings_gui.cpp
2 years ago
PeterN daacde4496
Fix #10147: Sound effect volume slider no longer set volume. (#10228) 2 years ago
Jonathan G Rennison 37a270e65c Add header and footer to league table saveload descriptor
See: https://github.com/OpenTTD/OpenTTD/issues/10214
2 years ago
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.
2 years ago
Jonathan G Rennison b9e322ec7a Add mechanism to override setting names used in config file 2 years ago
translators 2756741575 Update: Translations from eints
italian: 11 changes by Rivarossi
2 years ago
Jonathan G Rennison e6a38f1d23 Merge branch 'master' into jgrpp
# Conflicts:
#	src/saveload/afterload.cpp
2 years ago
translators 5cef40591b Update: Translations from eints
slovak: 2 changes by legitalk
2 years ago
Jonathan G Rennison 321cfee96a Fix league and graph buttons in toolbar not having a default action
See: https://github.com/OpenTTD/OpenTTD/issues/10214
2 years ago
Michael Lutz d5fc423793 Fix #10223: Crash when vehicle cloning fails on order cloning. 2 years ago
Jonathan G Rennison ce0dddc714 Saveload: Fix load and load check mixup with upstream chunks
Fixes 690ef6cc
2 years ago
Jonathan G Rennison 2b38022161 Fix airport catchment overlay not being refreshed when upgrading/moving 2 years ago
Jonathan G Rennison 6a03e7ba97 Command: Remove unused CMD_STR_SEP flag 2 years ago
Jonathan G Rennison 5c134e6dd0 Command: Use auxiliary data for league command strings 2 years ago
Jonathan G Rennison f32733ef22 Command: Replace binary_length field with auxiliary data
Use for CMD_ADD_PLAN_LINE
2 years ago
Jonathan G Rennison b0329ec77a Add auxiliary data type for extra command data 2 years ago
Jonathan G Rennison f1f73ddd6e Factor out packet deserialisation functions into common file 2 years ago
Jonathan G Rennison c29b395357 Factor out packet serialisation functions into new common file 2 years ago
Jonathan G Rennison 24b3e70494 Linkgraph: Reduce job duration multipliers
Change to linear: size / 75
Remove knee in curve
2 years ago
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.
2 years ago
Jonathan G Rennison 351090ae7f Fix crash when launching game with non-default GUI scale in config
See: #459
2 years ago
translators 985f487065 Update: Translations from eints
spanish: 1 change by MontyMontana
2 years ago
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.
2 years ago
PeterN 53b827c460
Fix: Maximum space for engine preview image was never scaled. (#10219) 2 years ago
Loïc Guilloux 13d2d11fa8
Fix #10216: Initialise RoadStop caches before using them and don't try to teleport crashed vehicles (#10217) 2 years ago
Jonathan G Rennison c457dc680b Adjust height of vehicle list items in vehicle lists 2 years ago
Jonathan G Rennison 7c882b43eb Fix cloning/copying aircraft with go to nearest hangar orders 2 years ago
Jonathan G Rennison df86c5cadb Fix Tunnel/bridge signal add/remove costs
Costs now reflect number of signals, not tunnel/bridge length

See: #458
2 years ago
Jonathan G Rennison 9ada7380ef Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/korean.txt
#	src/misc_gui.cpp
2 years ago
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
2 years ago
translators 2c5eb206d4 Update: Translations from eints
vietnamese: 39 changes by KhoiCanDev
spanish: 2 changes by MontyMontana
2 years ago
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
2 years ago
Jonathan G Rennison 77dc6915a7 Departure boards: Don't show "no info requested" message when departure_show_both enabled 2 years ago
Jonathan G Rennison d19771c36b Merge PR #457 into jgrpp 2 years ago
Michael Lutz ab9d77ebbe Add: [Script] Regression for ScriptAccounting. 2 years ago
Michael Lutz 1c205b2cda Fix #10212: [Script] Nested ScriptAccounting scopes are not restored properly. 2 years ago
cakepie a6965cf854
Departure boards: reword strings to better reflect that both arrivals and departures may be displayed 2 years ago
cakepie d5e1954e3b
Departure boards: ignore departure_show_both setting for waypoints 2 years ago
PeterN b79360862d Fix eb4ba1991: Signal icons incorrectly positioned in UI. (#10199)
(cherry picked from commit 387c57b023)
2 years ago
Jonathan G Rennison 5bbf1f5375 Merge branch 'master' into jgrpp
# Conflicts:
#	src/core/geometry_type.hpp
#	src/error_gui.cpp
#	src/rail_gui.cpp
#	src/tree_gui.cpp
#	src/vehicle_gui.cpp
#	src/widgets/dropdown.cpp
2 years ago
Jonathan G Rennison 7a6a7a3bfa Fix duplication of tree sprite table 2 years ago
dP c91033ac5e Feature: [GS] Scriptable league tables (#10001)
(cherry picked from commit 5e14a20b3b)
2 years ago
Peter Nelson 1260e51d84 Add: Define scaled WidgetDimensions.
Includes RectPadding container.

(cherry picked from commit b5693becdc)
2 years ago
Peter Nelson fb3b2c63bc Add: RectPadding type.
This is similar to Rect but specifies padding to apply to a Rect.

(cherry picked from commit 75b222b0d9)
2 years ago
Peter Nelson cabb4b08d9 Codechange: Add some Rect helpers.
Shrink/Expand/Translate are marked nodiscard as they provide a new Rect
rather than modifying the original Rect.

(cherry picked from commit d8e01f8aa5)
2 years ago
Jonathan G Rennison bbd84815b8 Script: Add missing function wrappers for 6 - 9 arguments 2 years ago
Jonathan G Rennison dc96fbc573 Script: Store CommandCost::GetResultData 2 years ago