Avoid unnecessary redrawing of vehicle list windows
Redraw info section every tick if values have changed
This commit is contained in:
@@ -61,6 +61,8 @@ void ShowVehicleListWindow(CompanyID company, VehicleType vehicle_type);
|
||||
void ShowVehicleListWindow(CompanyID company, VehicleType vehicle_type, StationID station);
|
||||
void ShowVehicleListWindow(CompanyID company, VehicleType vehicle_type, TileIndex depot_tile);
|
||||
|
||||
void DirtyVehicleListWindowForVehicle(const Vehicle *v);
|
||||
|
||||
/**
|
||||
* Get the height of a single vehicle in the GUIs.
|
||||
* @param type the vehicle type to look at
|
||||
|
Reference in New Issue
Block a user