Commit Graph

59121 Commits

Author SHA1 Message Date
Jonathan G Rennison
c9ad1aec51 Departures: Show station via departures using yellow text for the time 2024-09-08 13:05:19 +01:00
Jonathan G Rennison
1fd1c77586 Add an AssignBit function, use instead of SB for single bit assignments 2024-09-08 12:44:16 +01:00
Jonathan G Rennison
d544d98c72 Set default hotkey for switch viewport vehicle route overlay mode 2024-09-08 10:34:48 +01:00
Jonathan G Rennison
db0e8a8ec0 Lang: Adjust string codes 2024-09-08 10:02:30 +01:00
Qwest8K
9373f8f467
Update: Russian localization (#744) 2024-09-08 10:01:45 +01:00
Jonathan G Rennison
b48f82ca5d Fix narrowing conversion warnings for CHashTableT::Count 2024-09-08 09:53:13 +01:00
Jonathan G Rennison
83888a5ed6 Departures: Fix narrowing conversion warnings 2024-09-08 09:52:49 +01:00
Jonathan G Rennison
58c72c9bc7 Fix renaming dispatch schedule tag when it already had a name 2024-09-08 02:50:53 +01:00
Jonathan G Rennison
f1bf3e9ca2 Departures: Add scheduled dispatch 24 hour timetable mode 2024-09-08 02:42:36 +01:00
Jonathan G Rennison
3b5eada729 Fix crash in GetGameStringPtr when there are no GS strings 2024-09-08 02:22:01 +01:00
Jonathan G Rennison
90368bccf8 Fix 2e3f7d5f: Duplicate order occupancy button in other company order window 2024-09-07 21:29:54 +01:00
Jonathan G Rennison
da3b8dfb97 Departures: Split some parts of MakeDepartureList into separate functions 2024-09-07 20:39:48 +01:00
Jonathan G Rennison
2edf361d59 Departures: Fix unnecessary copy in ScheduledDispatchDepartureLocalFix 2024-09-07 17:43:59 +01:00
Jonathan G Rennison
b5cd4607cf Departures: Move get candidate order dates from vehicle to separate function 2024-09-07 17:02:33 +01:00
Jonathan G Rennison
7da47a5eaf Consider loading advance order type as stopped in ReReserveTrainPath 2024-09-07 14:29:02 +01:00
Jonathan G Rennison
7d4c6a16ad Avoid unnecessary reservations when editing track under trains loading in stations 2024-09-07 11:52:46 +01:00
Jonathan G Rennison
fc6e2a3c5f Tracerestrict: Fix deleting a slot changing the subtype of referencing actions 2024-09-06 20:56:29 +01:00
Jonathan G Rennison
2e624df58b Add caveats to setting text for train speed adaptation 2024-09-06 19:14:05 +01:00
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