summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-22 11:06:25 +0000
committerrubidium <rubidium@openttd.org>2009-03-22 11:06:25 +0000
commitdfe5dad5f68250ec67a3cb5e69bc7f9f58f9a58c (patch)
tree7c3693c152a65897c9f3b80f496caef3139058bf /src/vehicle_gui.h
parentead0a6a6e52ff0b538ab5f345bd1ff6a11b30f8d (diff)
downloadopenttd-dfe5dad5f68250ec67a3cb5e69bc7f9f58f9a58c.tar.xz
(svn r15807) -Codechange: let the build vehicle gui helper function pass around left and right instead of only left and assuming infinite width.
Diffstat (limited to 'src/vehicle_gui.h')
-rw-r--r--src/vehicle_gui.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h
index 7e92e71fc..825775673 100644
--- a/src/vehicle_gui.h
+++ b/src/vehicle_gui.h
@@ -51,7 +51,7 @@ static inline bool ValidVLWFlags(uint16 flags)
return (flags == VLW_STANDARD || flags == VLW_SHARED_ORDERS || flags == VLW_STATION_LIST || flags == VLW_DEPOT_LIST || flags == VLW_GROUP_LIST);
}
-int DrawVehiclePurchaseInfo(int x, int y, uint w, EngineID engine_number);
+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);
@@ -60,8 +60,8 @@ void DrawAircraftImage(const Vehicle *v, int x, int y, VehicleID selection);
void ShowBuildVehicleWindow(TileIndex tile, VehicleType type);
-uint ShowAdditionalText(int x, int y, uint w, EngineID engine);
-uint ShowRefitOptionsList(int x, int y, uint w, EngineID engine);
+uint ShowAdditionalText(int left, int right, int y, EngineID engine);
+uint ShowRefitOptionsList(int left, int right, int y, EngineID engine);
StringID GetCargoSubtypeText(const Vehicle *v);
void ShowVehicleListWindow(const Vehicle *v);