From 77ee09921217eac1540b82978178779eb839d08e Mon Sep 17 00:00:00 2001 From: belugas Date: Wed, 20 Aug 2008 01:29:05 +0000 Subject: (svn r14104) -Feature: Add a window for waypoints, allowing to view all the trains having the selected waypoint in their orders. Changing its name is also supported from the same new window. Gui based on work done by Satyap, on FS#2025. --- src/vehicle_gui.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vehicle_gui.h') diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h index 43a99c919..a6c35cdc7 100644 --- a/src/vehicle_gui.h +++ b/src/vehicle_gui.h @@ -11,6 +11,7 @@ #include "order_type.h" #include "station_type.h" #include "engine_type.h" +#include "waypoint.h" void DrawVehicleProfitButton(const Vehicle *v, int x, int y); void ShowVehicleRefitWindow(const Vehicle *v, VehicleOrderID order); @@ -51,6 +52,7 @@ enum { VLW_STATION_LIST = 2 << 8, VLW_DEPOT_LIST = 3 << 8, VLW_GROUP_LIST = 4 << 8, + VLM_WAYPOINT_LIST = 5 << 8, VLW_MASK = 0x700, }; @@ -72,6 +74,7 @@ uint ShowAdditionalText(int x, int y, uint w, EngineID engine); uint ShowRefitOptionsList(int x, int y, uint w, EngineID engine); void ShowVehicleListWindow(const Vehicle *v); +void ShowVehicleListWindow(const Waypoint *wp); void ShowVehicleListWindow(PlayerID player, VehicleType vehicle_type); void ShowVehicleListWindow(PlayerID player, VehicleType vehicle_type, StationID station); void ShowVehicleListWindow(PlayerID player, VehicleType vehicle_type, TileIndex depot_tile); -- cgit v1.2.3-54-g00ecf