Commit Graph

53877 Commits (321cfee96a01b784a9fe65e79c25d9f1c0ecb250)
 

Author SHA1 Message Date
Jonathan G Rennison 321cfee96a Fix league and graph buttons in toolbar not having a default action
See: https://github.com/OpenTTD/OpenTTD/issues/10214
1 year ago
Jonathan G Rennison ce0dddc714 Saveload: Fix load and load check mixup with upstream chunks
Fixes 690ef6cc
1 year ago
Jonathan G Rennison 2b38022161 Fix airport catchment overlay not being refreshed when upgrading/moving 1 year ago
Jonathan G Rennison 6a03e7ba97 Command: Remove unused CMD_STR_SEP flag 1 year ago
Jonathan G Rennison 5c134e6dd0 Command: Use auxiliary data for league command strings 1 year ago
Jonathan G Rennison f32733ef22 Command: Replace binary_length field with auxiliary data
Use for CMD_ADD_PLAN_LINE
1 year ago
Jonathan G Rennison b0329ec77a Add auxiliary data type for extra command data 1 year ago
Jonathan G Rennison f1f73ddd6e Factor out packet deserialisation functions into common file 1 year ago
Jonathan G Rennison c29b395357 Factor out packet serialisation functions into new common file 1 year ago
Jonathan G Rennison 24b3e70494 Linkgraph: Reduce job duration multipliers
Change to linear: size / 75
Remove knee in curve
1 year 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.
1 year ago
Jonathan G Rennison 351090ae7f Fix crash when launching game with non-default GUI scale in config
See: #459
1 year 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.
1 year 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
Jonathan G Rennison 44c4cc80a1 Fix whitespace in DumpSubCommandLog 2 years ago
Jonathan G Rennison aaf0385dc5 Add command/string helpers for string separator control character 2 years ago
Jonathan G Rennison 690ef6cc22 Saveload: Add support for using upstream save/load for specific chunks 2 years ago
Jonathan G Rennison a608a2592d Add a CommandCost result data field
Allow inlining one of extra_message, tile, result without aux allocation
2 years ago
Jonathan G Rennison 523cf75a7a Change CommandCost success bool to a flags field 2 years ago
Jonathan G Rennison c777c43be2 Fix string codes in galician 2 years ago
Fedello 7e0a86c842
[Feat] Updated galician Translations up to 0.49.2 (#455)
* [Feat] Updated galician Translations up to 0.49.2

* [Fix] commited previous wrong file

Co-authored-by: pvillaverde <pvillaverde@qualigy.com>
2 years ago
PeterN 1131608eb4
Fix #10114: Incorrect drag-highlight position with non-power-of-2 scaling. (#10211) 2 years ago
cakepie 5fa9e5efb1
Departure boards: Fix unintuitive "A"/"D" widget lowered states when disabled by departure_show_both 2 years ago
cakepie b76359d485
Departure boards: Fix no entries shown if "show both" setting turned on while window already open with "Show Deps" false 2 years ago
Jonathan G Rennison 822c29e6c2 Road stops: Auto-select an available type on selecting a class
Or on opening the road stop window
2 years ago
Jonathan G Rennison f4fcb83efd Road stops: Disable road stop specs for wrong bus/lorry type 2 years ago
Jonathan G Rennison 5fdb82abda Departure boards: Fix repeated departure sets with implicit orders
See: #456
2 years ago
Jonathan G Rennison 1f544c69b5 Departure boards: Ensure conditional order give up mode exits correctly 2 years ago
translators 644012dea2 Update: Translations from eints
dutch: 7 changes by Afoklala
2 years ago