File diff r13593:83f7bb8912c6 → r13594:f2f46474fc53
src/vehicle_gui.h
Show inline comments
 
@@ -86,8 +86,12 @@ void ShowVehicleListWindow(CompanyID com
 
void ShowVehicleListWindow(CompanyID company, VehicleType vehicle_type, StationID station);
 
void ShowVehicleListWindow(CompanyID company, VehicleType vehicle_type, TileIndex depot_tile);
 

	
 

	
 
static inline uint GetVehicleListHeight(VehicleType type)
 
/**
 
 * Get the height of a single vehicle in the GUIs.
 
 * @param type the vehicle type to look at
 
 * @return the height
 
 */
 
static inline uint GetVehicleHeight(VehicleType type)
 
{
 
	return (type == VEH_TRAIN || type == VEH_ROAD) ? 14 : 24;
 
}