diff options
author | frosch <frosch@openttd.org> | 2009-07-12 16:00:11 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-07-12 16:00:11 +0000 |
commit | 78eccd05befe40a006974daf0b29dfb1b2382b65 (patch) | |
tree | dfc209ba6db7b370111bda05a1b8649de8667821 /src/vehicle_gui.h | |
parent | 9efd32d13ce11aedf020cd2ce9eddc2ccaa72d32 (diff) | |
download | openttd-78eccd05befe40a006974daf0b29dfb1b2382b65.tar.xz |
(svn r16799) -Codechange: When drawing articulated road vehicles in the vehicle details window, draw as many parts as the window fits instead of always up to a vehicle length of 80/8.
Diffstat (limited to 'src/vehicle_gui.h')
-rw-r--r-- | src/vehicle_gui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h index fb3516ec4..3371bd16c 100644 --- a/src/vehicle_gui.h +++ b/src/vehicle_gui.h @@ -61,8 +61,8 @@ static inline bool ValidVLWFlags(uint16 flags) int DrawVehiclePurchaseInfo(int left, int right, int y, EngineID engine_number); -void DrawTrainImage(const Vehicle *v, int x, int y, VehicleID selection, int count, int skip); -void DrawRoadVehImage(const Vehicle *v, int x, int y, VehicleID selection, int count); +void DrawTrainImage(const Vehicle *v, int x, int y, VehicleID selection, int max_width, int skip); +void DrawRoadVehImage(const Vehicle *v, int x, int y, VehicleID selection, int max_width); void DrawShipImage(const Vehicle *v, int x, int y, VehicleID selection); void DrawAircraftImage(const Vehicle *v, int x, int y, VehicleID selection); |