(svn r27631) -Codechange: Split GetSingleVehicleWidth from GetVehicleWidth.
This commit is contained in:
@@ -64,7 +64,8 @@ static inline uint GetVehicleHeight(VehicleType type)
|
||||
return (type == VEH_TRAIN || type == VEH_ROAD) ? 14 : 24;
|
||||
}
|
||||
|
||||
int GetVehicleWidth(Vehicle *v, EngineImageType image_type);
|
||||
int GetSingleVehicleWidth(const Vehicle *v, EngineImageType image_type);
|
||||
int GetVehicleWidth(const Vehicle *v, EngineImageType image_type);
|
||||
|
||||
/** Dimensions of a cell in the purchase/depot windows. */
|
||||
struct VehicleCellSize {
|
||||
|
Reference in New Issue
Block a user