MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getCurrentVehicleType

Function getCurrentVehicleType

src/OpenLoco/src/Ui/Windows/StationWindow.cpp:852–855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

850 }
851
852 static VehicleType getCurrentVehicleType(Window& self)
853 {
854 return static_cast<VehicleType>(self.currentTab - (Common::widx::tab_vehicles_trains - Common::widx::tab_station));
855 }
856
857 static void populateVehicleList(Window& self)
858 {

Callers 2

populateVehicleListFunction · 0.85
prepareDrawFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected