summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-09-08 21:40:00 +0000
committerrubidium <rubidium@openttd.org>2010-09-08 21:40:00 +0000
commit4b605f51abceef248c0197bf3c67091d8cafcdeb (patch)
treeeb89c55204e4f699e349a68e30bdf5b7bd6c2580 /src/vehicle_gui.h
parentf5128695c54ad634e1ac45ae4271c1db5ed15fad (diff)
downloadopenttd-4b605f51abceef248c0197bf3c67091d8cafcdeb.tar.xz
(svn r20773) -Codechange: use packed VehicleListIdentifiers for some commands as well
Diffstat (limited to 'src/vehicle_gui.h')
-rw-r--r--src/vehicle_gui.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/vehicle_gui.h b/src/vehicle_gui.h
index 8ae91c8d8..5237babfd 100644
--- a/src/vehicle_gui.h
+++ b/src/vehicle_gui.h
@@ -46,21 +46,6 @@ enum TrainDetailsWindowTabs {
TDW_TAB_TOTALS, ///< Tab with sum of total cargo transported
};
-/** Vehicle List Window type flags */
-enum VehicleListWindowType {
- VLW_STANDARD = 0 << 8,
- VLW_SHARED_ORDERS = 1 << 8,
- VLW_STATION_LIST = 2 << 8,
- VLW_DEPOT_LIST = 3 << 8,
- VLW_GROUP_LIST = 4 << 8,
- VLW_MASK = 0x700,
-};
-
-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 left, int right, int y, EngineID engine_number);
void DrawTrainImage(const Train *v, int left, int right, int y, VehicleID selection, int skip, VehicleID drag_dest = INVALID_VEHICLE);