|
OpenTTD Source 20260206-master-g4d4e37dbf1
|
Result of GetVehicleFromDepotWndPt that tries to determine the action to perform. More...
Data Fields | |
| DepotGUIAction | action |
| Action to perform. | |
| const Vehicle * | vehicle = nullptr |
| The vehicle, or head of vehicle, to perform the action on. | |
| const Vehicle * | wagon = nullptr |
| The wagon to perform the action on. Only set for DragVehicle actions on trains. | |
Result of GetVehicleFromDepotWndPt that tries to determine the action to perform.
Definition at line 470 of file depot_gui.cpp.
| DepotGUIAction DepotWindow::DepotActionResult::action |
Action to perform.
Definition at line 471 of file depot_gui.cpp.
Referenced by DepotWindow::DepotClick(), DepotWindow::OnDragDrop(), DepotWindow::OnMouseDrag(), and DepotWindow::OnRightClick().
| const Vehicle* DepotWindow::DepotActionResult::vehicle = nullptr |
The vehicle, or head of vehicle, to perform the action on.
Definition at line 472 of file depot_gui.cpp.
Referenced by DepotWindow::DepotClick(), DepotWindow::OnDragDrop(), DepotWindow::OnMouseDrag(), and DepotWindow::OnRightClick().
| const Vehicle* DepotWindow::DepotActionResult::wagon = nullptr |
The wagon to perform the action on. Only set for DragVehicle actions on trains.
Definition at line 473 of file depot_gui.cpp.
Referenced by DepotWindow::DepotClick(), DepotWindow::OnDragDrop(), DepotWindow::OnMouseDrag(), and DepotWindow::OnRightClick().