Jonathan G Rennison
a0333c5443
Always show train speed adaptation info in vehicle details when enabled
2024-09-06 18:38:14 +01:00
Jonathan G Rennison
b8ca23978c
Move GroundVehicle::DoUpdateSpeed implementation out of header
2024-09-06 17:45:37 +01:00
Jonathan G Rennison
b39a17c41e
Fix: Road stop availability callback
2024-09-06 02:55:14 +01:00
Jonathan G Rennison
ad26c7fbf6
Debug: Dump all sprite groups for road stops
2024-09-06 02:40:14 +01:00
Jonathan G Rennison
474d90ec40
Fix 8d62a8f0
: Road stop variable 6B crashing for road stop preview in GUI
2024-09-06 01:16:13 +01:00
Jonathan G Rennison
2c5502dc2d
Departures: Generalise vehicle type and no vehicles strings
2024-09-05 20:50:53 +01:00
Jonathan G Rennison
971a917c7a
Departures: Add departures support for depots
2024-09-05 20:33:05 +01:00
Jonathan G Rennison
4bb0279c0a
Remove STR_JUST_STATION, it duplicates STR_STATION_NAME
2024-09-05 19:03:57 +01:00
Jonathan G Rennison
aab79f6a93
Departures: Improve handling of different sources types in window
2024-09-05 18:43:22 +01:00
Jonathan G Rennison
f50144e4d8
Picker GUI: Fix picker tool class changes not updating type list
2024-09-05 18:25:41 +01:00
Jonathan G Rennison
248846614e
Departures: Use vehicle type mask iteration filter
2024-09-05 18:21:07 +01:00
Jonathan G Rennison
bf7750321a
Add a vehicle type mask front only iteration filter
2024-09-05 18:19:46 +01:00
Jonathan G Rennison
4842010b7d
Fix minor alignment issue
2024-09-05 17:38:41 +01:00
Jonathan G Rennison
9d277a5a4c
Departures: Use more general order destination detection abstraction
2024-09-05 17:37:53 +01:00
Jonathan G Rennison
fb37caf785
Use OrderList::GetNext wrapper for order advancement
2024-09-04 23:50:44 +01:00
Jonathan G Rennison
47a4dba414
Departures: Improve handling of conditional orders in arrivals mode
2024-09-04 23:13:22 +01:00
Jonathan G Rennison
7ddf7ef609
Departures: Use heap/priority queue for candidate orders
2024-09-04 21:45:16 +01:00
Jonathan G Rennison
66784b4252
Departures: Fix handling of lateness adjustment
2024-09-04 21:07:12 +01:00
Jonathan G Rennison
41f4377fe9
Departures: Move show pax/freight parameter to calling settings
2024-09-04 20:54:20 +01:00
Jonathan G Rennison
67bc20a9a9
Departures: Adjust departure/arrival detection, allow all modes for waypoints
2024-09-04 20:31:41 +01:00
Jonathan G Rennison
fa361ef9e9
Timetable: Only reset timetable start/lateness when turning on automate when also auto-separating
2024-09-04 19:58:36 +01:00
Jonathan G Rennison
dc44a83cdb
Departure: Store last used departure and via modes in client settings
2024-09-04 19:18:32 +01:00
Jonathan G Rennison
9771ec6b68
Departures: Remove window class waypoint template parameter
2024-09-04 19:01:51 +01:00
Jonathan G Rennison
e58d985ab0
Departures: Replace departure/arrival and both setting with dropdown
2024-09-04 11:51:41 +01:00
Jonathan G Rennison
cc3f9e054c
Departures: Increase font size for via button
2024-09-04 11:51:41 +01:00
Jonathan G Rennison
778ea89bae
Departures: Replace pax/freight buttons with dropdown
2024-09-04 11:51:41 +01:00
Jonathan G Rennison
906c4fb2ec
Departures: Remove passengers only setting
2024-09-04 17:19:54 +01:00
Jonathan G Rennison
ddeac69b77
Fix clearing/preserving station IDs when changing order condition var
2024-09-04 01:38:37 +01:00
Jonathan G Rennison
bc67c0f179
Add get/set wrappers for order xdata/xdata2 sub-fields
2024-09-04 01:22:12 +01:00
Jonathan G Rennison
318f5ff471
Order window: Reduce window width for waiting cargo amount conditional
2024-09-03 23:02:43 +01:00
Jonathan G Rennison
33e53ec8e0
Add refit sub-mode to waiting cargo/capacity conditional order
...
See: #738
2024-09-03 23:02:43 +01:00
Jonathan G Rennison
c463cc17b9
Add conditional order for waiting cargo as percentage of vehicle capacity
...
See: #738
2024-09-03 23:02:43 +01:00
Jonathan G Rennison
2e3f7d5f29
Order window: Move occupancy display/toggle to top bar
2024-09-03 18:38:20 +01:00
Jonathan G Rennison
8b503e511d
TBTR: Fix engine sprite type used in drag/drop cursor
2024-09-03 18:16:15 +01:00
Qwest8K
c20a7b3fbe
Update: Russian localization ( #739 )
2024-09-03 01:22:38 +01:00
Jonathan G Rennison
22abdfe7b1
Reword help text for town max height level setting
2024-09-03 01:07:04 +01:00
Jonathan G Rennison
afe282e078
Fix object tile terraform not clearing water class
...
See: #740
2024-09-02 23:29:07 +01:00
Rubidium
dedeccc3a4
Fix 208952f
: incorrect truncation in string setting validation
...
(cherry picked from commit f2a8e18792
)
2024-09-02 23:18:15 +01:00
Jonathan G Rennison
63c0443cee
Fix widget definition for build signal window
2024-09-02 22:55:48 +01:00
Jonathan G Rennison
fba05f3721
Replace implementation of CHashTableT with robin_hood hash map
2024-09-02 22:46:33 +01:00
Peter Nelson
e8e5143ef7
Fix #12815 , 7e914a0568
: Fallback detection failed with sprite font. ( #12816 )
...
How missing glyphs were detected was changed, but the sprite font still substituted `?`, which to missing glyph looked like all characters are present.
(cherry picked from commit a288644e20
)
2024-09-02 21:56:33 +01:00
Peter Nelson
d2d8da8d5e
Fix #12735 : Default fonts should use default font size as-is. ( #12814 )
...
Minimum readable font size should only apply to fallback and configured fonts.
(cherry picked from commit 209b0320d5
)
2024-09-02 21:56:27 +01:00
Jonathan G Rennison
f7de298042
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/release-macos.yml
# os/macosx/Info.plist.in
# src/base_media_base.h
# src/blitter/32bpp_optimized.cpp
# src/blitter/null.hpp
# src/bridge_gui.cpp
# src/build_vehicle_gui.cpp
# src/cheat_gui.cpp
# src/command_type.h
# src/company_cmd.cpp
# src/company_cmd.h
# src/date_gui.cpp
# src/dropdown.cpp
# src/error_gui.cpp
# src/fontcache/truetypefontcache.cpp
# src/genworld_gui.cpp
# src/gfx.cpp
# src/gfx_func.h
# src/gfx_layout.cpp
# src/graph_gui.cpp
# src/group_gui.cpp
# src/linkgraph/linkgraph_gui.h
# src/main_gui.cpp
# src/misc_gui.cpp
# src/network/core/network_game_info.cpp
# src/network/network_chat_gui.cpp
# src/network/network_gui.cpp
# src/newgrf.cpp
# src/newgrf.h
# src/newgrf_debug_gui.cpp
# src/newgrf_text.h
# src/news_gui.cpp
# src/openttd.cpp
# src/order_base.h
# src/order_gui.cpp
# src/os/macosx/font_osx.cpp
# src/pathfinder/yapf/yapf_costcache.hpp
# src/rail_gui.cpp
# src/road_cmd.cpp
# src/roadstop_base.h
# src/screenshot.cpp
# src/script/api/script_cargolist.cpp
# src/script/api/script_order.cpp
# src/settings_gui.cpp
# src/settings_type.h
# src/smallmap_gui.cpp
# src/spritecache.cpp
# src/spritecache.h
# src/station_gui.cpp
# src/table/settings/gui_settings.ini
# src/tests/mock_spritecache.cpp
# src/timetable_gui.cpp
# src/toolbar_gui.cpp
# src/town_cmd.cpp
# src/town_gui.cpp
# src/vehicle_gui.cpp
# src/video/opengl.cpp
# src/video/opengl.h
# src/widget.cpp
# src/widget_type.h
# src/window.cpp
# src/window_gui.h
2024-09-02 21:41:13 +01:00
Jonathan G Rennison
f6f3883169
Lang: Remove unused translations for old house picker
2024-09-02 18:43:18 +01:00
Jonathan G Rennison
fe84080c46
Remove old house placer window, functionality and settings
2024-09-02 18:28:38 +01:00
Jonathan G Rennison
db4b489fff
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/fontcache/truetypefontcache.h
# src/house.h
# src/newgrf_house.cpp
# src/newgrf_house.h
# src/town.h
# src/town_cmd.cpp
# src/town_cmd.h
# src/window_type.h
2024-09-02 18:27:12 +01:00
Jonathan G Rennison
612551a228
Debug: Move TicToc struct to separate header
2024-09-02 01:07:32 +01:00
Jonathan G Rennison
e2fbd8aa0e
Remove std::function from SCOPE_INFO_FMT implementation
2024-09-02 01:07:32 +01:00
Jonathan G Rennison
515f33b84d
Remove unnecessary IO stream includes/uses
2024-09-02 01:07:32 +01:00
Jonathan G Rennison
406afedfd3
YAPF: Move ValueStr(EndSegmentReasonBits) out of header, remove stringstream
2024-09-01 22:56:12 +01:00